diff --git a/makefile.gaz b/makefile.gaz index 415adf06d..0a5da8abe 100644 --- a/makefile.gaz +++ b/makefile.gaz @@ -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 diff --git a/source/gui/gui.cpp b/source/gui/gui.cpp index 102d687a5..9dfbf0424 100644 --- a/source/gui/gui.cpp +++ b/source/gui/gui.cpp @@ -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); } diff --git a/users/paul/spongebob project/spongebob project.dsp b/users/paul/spongebob project/spongebob project.dsp index 9f60df9f6..fcf836c3c 100644 --- a/users/paul/spongebob project/spongebob project.dsp +++ b/users/paul/spongebob project/spongebob project.dsp @@ -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