This commit is contained in:
parent
83b1a03581
commit
11daf0fee8
3 changed files with 12 additions and 12 deletions
|
@ -74,12 +74,13 @@ gfx_src := prim \
|
|||
# anim \
|
||||
# bilboard
|
||||
|
||||
gui_src := gui \
|
||||
gbutton \
|
||||
gui_src := gbutton \
|
||||
gfactory \
|
||||
gframe \
|
||||
greadout \
|
||||
gtextbox
|
||||
gsprite \
|
||||
gtextbox \
|
||||
gui
|
||||
|
||||
locale_src := textdbase
|
||||
|
||||
|
|
|
@ -229,19 +229,10 @@ void CGUIObject::render()
|
|||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
#include "utils\utils.h"
|
||||
int wob=0;
|
||||
void CGUIObject::think(int _frames)
|
||||
{
|
||||
ASSERT(this==m_this);
|
||||
|
||||
|
||||
if(m_id==0&&++wob==20)
|
||||
{
|
||||
setObjectXYWH(16+getRndRange(10),100+getRndRange(5),512-64,120);
|
||||
wob=0;
|
||||
}
|
||||
|
||||
if(m_child)m_child->think(_frames);
|
||||
if(m_next)m_next->think(_frames);
|
||||
}
|
||||
|
|
|
@ -281,6 +281,14 @@ SOURCE=..\..\..\source\gui\greadout.h
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gui\gsprite.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gui\gsprite.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gui\gtextbox.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
Loading…
Add table
Reference in a new issue