This commit is contained in:
parent
90742214eb
commit
6abd565b82
5 changed files with 42 additions and 21 deletions
|
@ -134,30 +134,34 @@ void MainLoop()
|
|||
|
||||
frames=GameState::getFramesSinceLast();
|
||||
|
||||
// System Think
|
||||
FontBank::think(frames);
|
||||
|
||||
GameState::think();
|
||||
GameState::render();
|
||||
|
||||
CBubicleFactory::think(frames);
|
||||
CBubicleFactory::render();
|
||||
|
||||
CFader::think(frames);
|
||||
CFader::render();
|
||||
|
||||
CSoundMediator::think(frames);
|
||||
|
||||
|
||||
// Think States
|
||||
GameState::think();
|
||||
CBubicleFactory::think(frames);
|
||||
CFader::think(frames);
|
||||
|
||||
#ifdef __USER_paul__
|
||||
s_paulScene.think(frames);
|
||||
s_paulScene.render();
|
||||
#endif
|
||||
|
||||
while(DrawSync(1));
|
||||
|
||||
// Render States
|
||||
GameState::render();
|
||||
CBubicleFactory::render();
|
||||
CFader::render();
|
||||
|
||||
#ifdef __USER_paul__
|
||||
s_paulScene.render();
|
||||
#endif
|
||||
|
||||
PrimDisplay();
|
||||
VidSwapDraw();
|
||||
VSync(0);
|
||||
|
||||
VidSwapDraw();
|
||||
PrimDisplay();
|
||||
PadUpdate();
|
||||
|
||||
DbgPollHost();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue