aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.h
diff options
context:
space:
mode:
authorArnaud Boutonné2010-10-30 20:48:54 +0000
committerArnaud Boutonné2010-10-30 20:48:54 +0000
commit6c702094a8a2907b6e177124f424306b7a5a40ef (patch)
tree2076edca72c06538172710a7e8de1adb7de6c116 /engines/hugo/hugo.h
parentf1ed9c9a6f5d28749ed330f73000b15d1810b290 (diff)
downloadscummvm-rg350-6c702094a8a2907b6e177124f424306b7a5a40ef.tar.gz
scummvm-rg350-6c702094a8a2907b6e177124f424306b7a5a40ef.tar.bz2
scummvm-rg350-6c702094a8a2907b6e177124f424306b7a5a40ef.zip
HUGO: Free some more memory before exiting
- suppress two useless variables - initialize some variables svn-id: r53956
Diffstat (limited to 'engines/hugo/hugo.h')
-rw-r--r--engines/hugo/hugo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h
index 7a73c70622..0964029cab 100644
--- a/engines/hugo/hugo.h
+++ b/engines/hugo/hugo.h
@@ -139,13 +139,12 @@ public:
char **_textSchedule;
char **_textUtil;
char ***_arrayNouns;
- uint16 _arrayNounsSize;
char ***_arrayVerbs;
- uint16 _arrayVerbsSize;
uint16 **_arrayReqs;
hotspot_t *_hotspots;
int16 *_invent;
uses_t *_uses;
+ uint16 _usesSize;
background_t *_catchallList;
background_t **_backgroundObjects;
uint16 _backgroundObjectsSize;
@@ -293,7 +292,7 @@ private:
int _maxscore; // Holds maximum score
char **loadTextsVariante(Common::File &in, uint16 *arraySize);
- char ***loadTextsArray(Common::File &in, uint16 *arraySize);
+ char ***loadTextsArray(Common::File &in);
uint16 **loadLongArray(Common::File &in);
char **loadTexts(Common::File &in);
void freeTexts(char **ptr);