From: <bal...@us...> - 2003-12-19 23:27:12
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1:/tmp/cvs-serv1581/gemrb/plugins/Core Modified Files: GameScript.h GameScript.cpp Log Message: Added Feature : GameScript.cpp / .h : UnhideGUI opCode added... (EndCutSceneMode hack) Index: GameScript.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/GameScript.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** GameScript.h 19 Dec 2003 23:07:24 -0000 1.11 --- GameScript.h 19 Dec 2003 23:27:09 -0000 1.12 *************** *** 214,217 **** --- 214,218 ---- static void DestroySelf(GameScript * Sender, Action * parameters); static void ScreenShake(GameScript * Sender, Action * parameters); + static void UnhideGUI(GameScript * Sender, Action * parameters); }; Index: GameScript.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/GameScript.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** GameScript.cpp 19 Dec 2003 23:07:24 -0000 1.16 --- GameScript.cpp 19 Dec 2003 23:27:09 -0000 1.17 *************** *** 107,110 **** --- 107,111 ---- actions[272] = CreateVisualEffect; actions[273] = CreateVisualEffectObject; + actions[287] = UnhideGUI; actions[307] = SG; actions[311] = DisplayStringWait; *************** *** 1462,1464 **** --- 1463,1470 ---- { core->timer->SetScreenShake(parameters->XpointParameter, parameters->YpointParameter, parameters->int0Parameter); + } + + void GameScript::UnhideGUI(GameScript * Sender, Action * parameters) + { + EndCutSceneMode(Sender, parameters); } |