This commit is contained in:
parent
a19b480fa2
commit
ee331d19de
1 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
||||||
|
|
||||||
#define SCREEN_GRAB
|
#define SCREEN_GRAB
|
||||||
|
|
||||||
|
#ifdef __USER_paul__
|
||||||
|
#include "paul\paul.h"
|
||||||
|
CPaulScene s_paulScene;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
void SaveScreen(RECT R);
|
void SaveScreen(RECT R);
|
||||||
|
@ -60,6 +66,9 @@ void InitSystem() // reordered to reduce black screen (hope all is well
|
||||||
|
|
||||||
GameState::initialise();
|
GameState::initialise();
|
||||||
|
|
||||||
|
#ifdef __USER_paul__
|
||||||
|
s_paulScene.init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -76,6 +85,11 @@ void MainLoop()
|
||||||
GameState::think();
|
GameState::think();
|
||||||
GameState::render();
|
GameState::render();
|
||||||
|
|
||||||
|
#ifdef __USER_paul__
|
||||||
|
s_paulScene.think();
|
||||||
|
s_paulScene.render();
|
||||||
|
#endif
|
||||||
|
|
||||||
while(DrawSync(1));
|
while(DrawSync(1));
|
||||||
|
|
||||||
VSync(0);
|
VSync(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue