diff options
Diffstat (limited to 'engines/kyra/kyra_v3.h')
-rw-r--r-- | engines/kyra/kyra_v3.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v3.h b/engines/kyra/kyra_v3.h index 2b4e9c478e..daba7a7d56 100644 --- a/engines/kyra/kyra_v3.h +++ b/engines/kyra/kyra_v3.h @@ -160,6 +160,9 @@ private: void timerRunSceneScript7(int arg); void timerFleaDeath(int arg); + uint32 _nextIdleAnim; + void setNextIdleAnimTimer(); + // pathfinder int *_moveFacingTable; int _pathfinderFlag; @@ -230,6 +233,9 @@ private: void setCharacterAnimDim(int w, int h); void resetCharacterAnimDim(); + bool _nextIdleType; + void showIdleAnim(); + // interface uint8 *_interface; uint8 *_interfaceCommandLine; @@ -463,11 +469,13 @@ private: int8 sceneScript; int16 x, y; uint8 color; - int8 unk14; + uint8 sceneId; }; TalkObject *_talkObjectList; + bool talkObjectsInCurScene(); + // chat int _vocHigh; @@ -546,6 +554,11 @@ private: int o3t_defineNewShapes(ScriptState *script); int o3t_setCurrentFrame(ScriptState *script); + ScriptData _temporaryScriptData; + ScriptState _temporaryScriptState; + + void runTemporaryScript(const char *filename, int allowSkip, int resetChar, int newShapes, int shapeUnload); + // special shape code char _newShapeFilename[13]; int _newShapeLastEntry; @@ -555,6 +568,14 @@ private: int _newShapeAnimFrame; int _newShapeDelay; + int _newShapeFlag; + uint8 *_newShapeFiledata; + int _newShapeCount; + + int initNewShapes(uint8 *filedata); + void processNewShapes(int allowSkip, int resetChar); + void resetNewShapes(int count, uint8 *filedata); + // unk uint8 *_costPalBuffer; uint8 *_screenBuffer; @@ -623,6 +644,7 @@ private: int o3_blockOutRegion(ScriptState *script); int o3_getRand(ScriptState *script); int o3_defineRoomEntrance(ScriptState *script); + int o3_runTemporaryScript(ScriptState *script); int o3_setSpecialSceneScriptRunTime(ScriptState *script); int o3_defineSceneAnim(ScriptState *script); int o3_updateSceneAnim(ScriptState *script); |