This commit is contained in:
Paul 2000-10-31 16:43:44 +00:00
parent 5116958bac
commit c9b5825e8e
9 changed files with 134 additions and 152 deletions

View file

@ -185,6 +185,18 @@ void CGUIObject::think(int _frames)
}
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CGUIObject::recalc()
{
ASSERT(this==m_this);
}
/*----------------------------------------------------------------------
@ -207,7 +219,13 @@ extern void guiOpen()
---------------------------------------------------------------------- */
extern void guiClose()
{
ASSERT(CGUIObject::s_llBase);
// Dump everything automatically
// Don't walk the linked list here but keep removing the head since frame
// objects remove their own children (PKG or do they?)
while(CGUIObject::s_llBase)
{
CGUIObject::s_llBase->shutdown();
}
}