aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2013-02-15 08:24:10 +0100
committerStrangerke2013-02-15 08:24:10 +0100
commit0a1cc63abb4e4a43bc8b865fb50c753e7a6669af (patch)
tree9d28b407107ba01f566fb9605f91235889cdb2e2 /engines/hopkins/globals.cpp
parentf5d3df3d2de8ecf32701ad76316bf196c40e0e0e (diff)
downloadscummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.tar.gz
scummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.tar.bz2
scummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.zip
HOPKINS: More renaming and refactoring
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index fc45a9277b..37dce104ed 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -65,7 +65,7 @@ Globals::Globals() {
g_PTRNUL = (byte *)malloc(16);
strcpy((char *)g_PTRNUL, "POINTERNULL");
- // Initialise array properties
+ // Initialize array properties
for (int i = 0; i < 6; ++i)
CACHE_BANQUE[i] = g_PTRNUL;
for (int i = 0; i < 35; ++i)
@@ -104,7 +104,6 @@ Globals::Globals() {
_oldDirection = 0;
_oldDirectionSpriteIdx = 59;
_lastDirection = 0;
- TETE = NULL;
NUM_FICHIER_OBJ = 0;
nbrligne = 0;
_boxWidth = 0;
@@ -144,7 +143,6 @@ Globals::Globals() {
_oceanDirection = 0;
// Initialize pointers
- ICONE = NULL;
BUF_ZONE = NULL;
for (int idx = 0; idx < 6; ++idx)
CACHE_BANQUE[idx] = NULL;
@@ -181,8 +179,6 @@ Globals::Globals() {
}
Globals::~Globals() {
- free(ICONE);
- freeMemory(TETE);
freeMemory(BUF_ZONE);
for (int idx = 0; idx < 6; ++idx)
CACHE_BANQUE[idx] = freeMemory(CACHE_BANQUE[idx]);