HOPKINS: Remove more unused global variables

This commit is contained in:
Filippos Karapetis 2013-01-07 15:27:05 +02:00
parent 6629fa7cc5
commit b270942f6e
3 changed files with 0 additions and 11 deletions

View File

@ -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);

View File

@ -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));

View File

@ -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;