diff options
author | Strangerke | 2013-02-07 21:56:10 +0100 |
---|---|---|
committer | Strangerke | 2013-02-07 21:56:10 +0100 |
commit | d12cd961610e3c2c8d060e2a300a5690dfb3daef (patch) | |
tree | 6c77d03e169cf27dadd0bfa0472f8c90f92991dc /engines/hopkins/globals.cpp | |
parent | a542e38059dc3ba1a346131cddf210d64a88866e (diff) | |
download | scummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.tar.gz scummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.tar.bz2 scummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.zip |
HOPKINS: Improve private/public scope in Globals. Remove some useless variables, move some variables to FontManager
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r-- | engines/hopkins/globals.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index e9229c4d59..e90748236a 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -112,7 +112,6 @@ Globals::Globals() { _oldDirection = 0; _oldDirectionSpriteIdx = 59; _lastDirection = 0; - _fontFixedWidth = _fontFixedHeight = 0; TETE = NULL; NUM_FICHIER_OBJ = 0; nbrligne = 0; @@ -129,7 +128,6 @@ Globals::Globals() { _screenId = 0; _prevScreenId = 0; _characterMaxPosY = 0; - _menuScrollType = 0; _menuScrollSpeed = 0; _menuSpeed = 0; _menuSoundOff = 0; @@ -168,7 +166,6 @@ Globals::Globals() { _forestSprite = NULL; _answerBuffer = g_PTRNUL; ADR_FICHIER_OBJ = NULL; - _font = NULL; PERSO = NULL; _optionDialogSpr = NULL; @@ -200,7 +197,6 @@ Globals::Globals() { Globals::~Globals() { free(ICONE); freeMemory(TETE); - freeMemory(_font); freeMemory(BUF_ZONE); for (int idx = 0; idx < 6; ++idx) CACHE_BANQUE[idx] = freeMemory(CACHE_BANQUE[idx]); @@ -265,9 +261,6 @@ void Globals::clearAll() { nbrligne = 80; INIT_ANIM(); - _font = g_PTRNUL; - _fontFixedHeight = 0; - _fontFixedWidth = 0; _boxWidth = 0; _vm->_fontManager.clearAll(); |