This commit is contained in:
Paul 2000-11-16 17:23:31 +00:00
parent 7bcf305c41
commit e00a8747fc

View File

@ -156,6 +156,7 @@ void CPaulScene::init()
CGUITextEntry *te; CGUITextEntry *te;
s_fontBank.initialise(&standardFont); s_fontBank.initialise(&standardFont);
s_fontBank.setColour(255,255,255);
int mem=MainRam.TotalRam-MainRam.RamUsed; int mem=MainRam.TotalRam-MainRam.RamUsed;
PAUL_DBGMSG("initial mem free=%d",mem); PAUL_DBGMSG("initial mem free=%d",mem);
@ -279,7 +280,6 @@ void CPaulScene::shutdown()
int showDebugLog=false; int showDebugLog=false;
void CPaulScene::render() void CPaulScene::render()
{ {
/*
if(showDebugLog) if(showDebugLog)
{ {
int logCount; int logCount;
@ -294,6 +294,7 @@ void CPaulScene::render()
} }
} }
/*
if(baseGUIObject) if(baseGUIObject)
baseGUIObject->render(); baseGUIObject->render();
@ -312,6 +313,12 @@ void CPaulScene::render()
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
void CPaulScene::think(int _frames) void CPaulScene::think(int _frames)
{ {
if(PadGetHeld(0)&PAD_R1&&PadGetDown(0)&PAD_R2)
{
showDebugLog=!showDebugLog;
}
/*
if(readyToExit) if(readyToExit)
{ {
baseGUIObject->shutdown(); baseGUIObject->shutdown();
@ -319,13 +326,14 @@ void CPaulScene::think(int _frames)
baseGUIObject=NULL; baseGUIObject=NULL;
readyToExit=0; readyToExit=0;
} }
if(baseGUIObject) if(baseGUIObject)
baseGUIObject->think(_frames); baseGUIObject->think(_frames);
s_bg1->think(_frames); s_bg1->think(_frames);
s_bg2->think(_frames); s_bg2->think(_frames);
s_bg3->think(_frames); s_bg3->think(_frames);
*/
} }