aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2013-01-27 01:25:46 +0100
committerStrangerke2013-01-27 01:25:46 +0100
commit84f7ce6ea3666b3933ea48f29c60b30cce175db3 (patch)
treeb50698229d8930790605a62b1533fdc79eb7561a /engines/hopkins/globals.cpp
parente21fed17073d87f06fc549ad5fd5e4ebf06db5de (diff)
downloadscummvm-rg350-84f7ce6ea3666b3933ea48f29c60b30cce175db3.tar.gz
scummvm-rg350-84f7ce6ea3666b3933ea48f29c60b30cce175db3.tar.bz2
scummvm-rg350-84f7ce6ea3666b3933ea48f29c60b30cce175db3.zip
HOPKINS: Refactor REPONSE
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index a66dafc053..44d3798daa 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -187,9 +187,9 @@ Globals::Globals() {
GESTE = NULL;
_inventoryObject = NULL;
_forestSprite = NULL;
- COUCOU = NULL;
- chemin = NULL;
- BufLig = NULL;
+ _answerBuffer = g_PTRNUL;
+ _route = (int16 *)g_PTRNUL;
+ BufLig = (int16 *)g_PTRNUL;
ADR_FICHIER_OBJ = NULL;
police = NULL;
PERSO = NULL;
@@ -235,7 +235,7 @@ Globals::~Globals() {
freeMemory(GESTE);
freeMemory(_inventoryObject);
freeMemory(_forestSprite);
- freeMemory(COUCOU);
+ freeMemory(_answerBuffer);
freeMemory(ADR_FICHIER_OBJ);
freeMemory(PERSO);
@@ -304,7 +304,7 @@ void Globals::clearAll() {
_vm->_eventsManager._objectBuf = g_PTRNUL;
_vm->_dialogsManager._inventWin1 = g_PTRNUL;
_vm->_dialogsManager._inventBuf2 = g_PTRNUL;
- COUCOU = g_PTRNUL;
+ _answerBuffer = g_PTRNUL;
SPRITE_ECRAN = g_PTRNUL;
_saveData = (Sauvegarde *)g_PTRNUL;
_curObjectIndex = 0;
@@ -319,7 +319,7 @@ void Globals::clearAll() {
essai1 = (int16 *)g_PTRNUL;
essai2 = (int16 *)g_PTRNUL;
BufLig = (int16 *)g_PTRNUL;
- chemin = (int16 *)g_PTRNUL;
+ _route = (int16 *)g_PTRNUL;
for (int idx = 0; idx < MAX_LINES; ++idx) {
_vm->_linesManager.Ligne[idx]._lineDataEndIdx = 0;