aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2013-02-16 18:48:55 +0100
committerStrangerke2013-02-16 18:48:55 +0100
commit979328ebdb1195fc7263c5ebea0e65531a472243 (patch)
tree177e88329ae4961e1bfde0c1306c607328d9f37e /engines/hopkins/globals.cpp
parent3e0739a49c49ed7aa56677dfbde79bbe84971a78 (diff)
downloadscummvm-rg350-979328ebdb1195fc7263c5ebea0e65531a472243.tar.gz
scummvm-rg350-979328ebdb1195fc7263c5ebea0e65531a472243.tar.bz2
scummvm-rg350-979328ebdb1195fc7263c5ebea0e65531a472243.zip
HOPKINS: Introduce Directions enum
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 06807b3940..dbd23709e6 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -103,9 +103,9 @@ Globals::Globals() {
_linuxEndDemoFl = false;
_speed = 1;
_oldFrameIndex = 0;
- _oldDirection = 0;
+ _oldDirection = DIR_NONE;
_oldDirectionSpriteIdx = 59;
- _lastDirection = 0;
+ _lastDirection = DIR_NONE;
NUM_FICHIER_OBJ = 0;
nbrligne = 0;
_boxWidth = 0;
@@ -177,7 +177,6 @@ Globals::Globals() {
_oldMouseY = 0;
compteur_71 = 0;
_forceHideText = false;
- j_104 = 0;
}
Globals::~Globals() {
@@ -284,7 +283,7 @@ void Globals::loadCharacterData() {
}
_oldFrameIndex = -1;
- _oldDirection = -1;
+ _oldDirection = DIR_NONE;
}
void Globals::INIT_ANIM() {