diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/font.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/globals.cpp | 7 | ||||
-rw-r--r-- | engines/hopkins/globals.h | 2 |
3 files changed, 0 insertions, 11 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp index 7d98742be3..b3222716e7 100644 --- a/engines/hopkins/font.cpp +++ b/engines/hopkins/font.cpp @@ -196,10 +196,8 @@ void FontManager::box(int idx, int messageId, const Common::String &filename, in Common::fill(&_tempText[0], &_tempText[2058], 0); f.read(_tempText, 2048); f.close(); - _vm->_globals.texte_long = 2048; } else { v69 = 100; - _vm->_globals.texte_long = 100; v9 = _vm->_globals.allocMemory(110); Common::fill(&v9[0], &v9[110], 0); diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index 7d1786a0fd..83658b6c14 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -126,7 +126,6 @@ Globals::Globals() { _lastDirection = 0; police_l = police_h = 0; TETE = NULL; - texte_long = 0; _curObjectIndex = 0; NUM_FICHIER_OBJ = 0; nbrligne = 0; @@ -187,7 +186,6 @@ Globals::Globals() { BUF_ZONE = NULL; for (int idx = 0; idx < 6; ++idx) CACHE_BANQUE[idx] = NULL; - texte_tmp = NULL; SPRITE_ECRAN = NULL; _saveData = NULL; BUFFERTAPE = NULL; @@ -242,7 +240,6 @@ Globals::~Globals() { freeMemory(BUF_ZONE); for (int idx = 0; idx < 6; ++idx) CACHE_BANQUE[idx] = freeMemory(CACHE_BANQUE[idx]); - freeMemory(texte_tmp); freeMemory(SPRITE_ECRAN); freeMemory((byte *)_saveData); freeMemory(BUFFERTAPE); @@ -327,8 +324,6 @@ void Globals::clearAll() { nbrligne = 80; INIT_ANIM(); - texte_tmp = g_PTRNUL; - texte_long = 0; police = g_PTRNUL; police_h = 0; police_l = 0; @@ -377,8 +372,6 @@ void Globals::clearAll() { CarreZone[idx].field0 = 0; } - texte_long = 0; - texte_tmp = g_PTRNUL; BUFFERTAPE = allocMemory(85000); _saveData = (Sauvegarde *)malloc(sizeof(Sauvegarde)); diff --git a/engines/hopkins/globals.h b/engines/hopkins/globals.h index ddc64df078..c72abe983e 100644 --- a/engines/hopkins/globals.h +++ b/engines/hopkins/globals.h @@ -360,8 +360,6 @@ public: byte *TETE; byte *ICONE; byte *BUF_ZONE; - byte *texte_tmp; - int texte_long; byte *SPRITE_ECRAN; Sauvegarde *_saveData; byte *BUFFERTAPE; |