diff options
author | Paul Gilbert | 2018-01-25 20:59:37 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-01-25 20:59:37 -0500 |
commit | b85d6101d300bba1cf305b9306c7d8477bd855c6 (patch) | |
tree | 42216ce3ed5874dd5e0901383992ebefb215e34e /engines/xeen/interface.h | |
parent | 22d1a6496cb71d8402c510f3b79470bf3d132a71 (diff) | |
download | scummvm-rg350-b85d6101d300bba1cf305b9306c7d8477bd855c6.tar.gz scummvm-rg350-b85d6101d300bba1cf305b9306c7d8477bd855c6.tar.bz2 scummvm-rg350-b85d6101d300bba1cf305b9306c7d8477bd855c6.zip |
XEEN: Change _falling to enum, properly implement startFalling
Diffstat (limited to 'engines/xeen/interface.h')
-rw-r--r-- | engines/xeen/interface.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/xeen/interface.h b/engines/xeen/interface.h index 991b050bad..5051dad692 100644 --- a/engines/xeen/interface.h +++ b/engines/xeen/interface.h @@ -47,6 +47,12 @@ enum IconsMode { ICONS_COMBAT = 1 }; +enum FallState { + FALL_NONE = 0, + FALL_1 = 1, + FALL_2 = 2 +}; + #define HILIGHT_CHAR_DISABLED -2 #define HILIGHT_CHAR_NONE -1 @@ -139,7 +145,7 @@ private: public: Obscurity _obscurity; Common::String _interfaceText; - int _falling; + FallState _falling; int _face1State, _face2State; int _face1UIFrame, _face2UIFrame; int _spotDoorsUIFrame; |