aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2013-01-07 15:27:05 +0200
committerFilippos Karapetis2013-01-07 15:27:05 +0200
commitb270942f6e6aa8a84cf48a0d77a4e822cc26c79e (patch)
tree13d07ad7d0bcec0e56af87a36855f3a31c64e5bc /engines/hopkins/globals.cpp
parent6629fa7cc5a2a124b4507bb93ae6dea918036040 (diff)
downloadscummvm-rg350-b270942f6e6aa8a84cf48a0d77a4e822cc26c79e.tar.gz
scummvm-rg350-b270942f6e6aa8a84cf48a0d77a4e822cc26c79e.tar.bz2
scummvm-rg350-b270942f6e6aa8a84cf48a0d77a4e822cc26c79e.zip
HOPKINS: Remove more unused global variables
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp7
1 files changed, 0 insertions, 7 deletions
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));