This commit is contained in:
Paul 2000-11-24 16:41:51 +00:00
parent 83b1a03581
commit 11daf0fee8
3 changed files with 12 additions and 12 deletions

View File

@ -74,12 +74,13 @@ gfx_src := prim \
# anim \ # anim \
# bilboard # bilboard
gui_src := gui \ gui_src := gbutton \
gbutton \
gfactory \ gfactory \
gframe \ gframe \
greadout \ greadout \
gtextbox gsprite \
gtextbox \
gui
locale_src := textdbase locale_src := textdbase

View File

@ -229,19 +229,10 @@ void CGUIObject::render()
Params: Params:
Returns: Returns:
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
#include "utils\utils.h"
int wob=0;
void CGUIObject::think(int _frames) void CGUIObject::think(int _frames)
{ {
ASSERT(this==m_this); 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_child)m_child->think(_frames);
if(m_next)m_next->think(_frames); if(m_next)m_next->think(_frames);
} }

View File

@ -281,6 +281,14 @@ SOURCE=..\..\..\source\gui\greadout.h
# End Source File # End Source File
# Begin 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 SOURCE=..\..\..\source\gui\gtextbox.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File