diff options
author | Strangerke | 2013-01-27 15:22:57 +0100 |
---|---|---|
committer | Strangerke | 2013-01-27 15:22:57 +0100 |
commit | 9d1d5a09c4a1fb2ca827755e197ea7726eaa39ab (patch) | |
tree | 5eea0bd7b67a98ff3f457af1211446b461568958 /engines/hopkins/globals.cpp | |
parent | 8de1b1b9963604b9d7b4e9aff6a64df6a14062be (diff) | |
download | scummvm-rg350-9d1d5a09c4a1fb2ca827755e197ea7726eaa39ab.tar.gz scummvm-rg350-9d1d5a09c4a1fb2ca827755e197ea7726eaa39ab.tar.bz2 scummvm-rg350-9d1d5a09c4a1fb2ca827755e197ea7726eaa39ab.zip |
HOPKINS: Move two more variables to _linesManager, set private some variables
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r-- | engines/hopkins/globals.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index f3988f2bdf..52ccfafc4a 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -151,7 +151,6 @@ Globals::Globals() { _actionDirection = 0; _actionDirection = 0; SegmentEnCours = 0; - pathFindingDepth = 0; Credit_bx = -1; Credit_bx1 = -1; @@ -180,7 +179,6 @@ Globals::Globals() { _forestSprite = NULL; _answerBuffer = g_PTRNUL; _route = (int16 *)g_PTRNUL; - BufLig = (int16 *)g_PTRNUL; ADR_FICHIER_OBJ = NULL; police = NULL; PERSO = NULL; @@ -309,7 +307,7 @@ void Globals::clearAll() { _vm->_linesManager.essai0 = (int16 *)g_PTRNUL; _vm->_linesManager.essai1 = (int16 *)g_PTRNUL; _vm->_linesManager.essai2 = (int16 *)g_PTRNUL; - BufLig = (int16 *)g_PTRNUL; + _vm->_linesManager.BufLig = (int16 *)g_PTRNUL; _route = (int16 *)g_PTRNUL; for (int idx = 0; idx < MAX_LINES; ++idx) { @@ -337,7 +335,7 @@ void Globals::clearAll() { _vm->_linesManager.essai0 = (int16 *)BUFFERTAPE; _vm->_linesManager.essai1 = (int16 *)(BUFFERTAPE + 25000); _vm->_linesManager.essai2 = (int16 *)(BUFFERTAPE + 50000); - BufLig = (int16 *)(BUFFERTAPE + 75000); + _vm->_linesManager.BufLig = (int16 *)(BUFFERTAPE + 75000); _boxWidth = 240; _vm->_eventsManager._objectBuf = allocMemory(2500); |