This commit is contained in:
parent
5e18b667ef
commit
bf7bd6c3ea
15 changed files with 350 additions and 161 deletions
|
@ -78,6 +78,10 @@
|
|||
#include "frontend\scrollbg.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PAUL_SCRIPT_H__
|
||||
#include "paul\script.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
@ -110,6 +114,8 @@ static CScrollyBackground *s_bg1;
|
|||
static CScrollyBackground *s_bg2;
|
||||
static CScrollyBackground *s_bg3;
|
||||
|
||||
CScript *testScript;
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
|
@ -255,6 +261,8 @@ PAUL_DBGMSG("change=%d",mem-(MainRam.TotalRam-MainRam.RamUsed));
|
|||
s_bg3->setSpeed(0,-2);
|
||||
s_bg3->setOt(1002);
|
||||
*/
|
||||
|
||||
testScript->initialise(SCRIPTS_TEST_DAT);
|
||||
}
|
||||
|
||||
|
||||
|
@ -299,6 +307,18 @@ void CPaulScene::render()
|
|||
}
|
||||
}
|
||||
|
||||
if(testScript->isFinished())
|
||||
{
|
||||
if(PadGetDown(0)&PAD_START)
|
||||
{
|
||||
testScript->reset();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
testScript->run();
|
||||
}
|
||||
|
||||
/*
|
||||
if(baseGUIObject)
|
||||
baseGUIObject->render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue