aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.h
diff options
context:
space:
mode:
authorArnaud Boutonné2010-10-30 16:04:43 +0000
committerArnaud Boutonné2010-10-30 16:04:43 +0000
commit724a702fdfb5cd635706403829f8770bb3a3de8d (patch)
treef4a2ea4f0f13eff548666f3538456d6b2a10ea91 /engines/hugo/hugo.h
parentbf44b0e5455358cac7ae6492d3f0b479d37e830f (diff)
downloadscummvm-rg350-724a702fdfb5cd635706403829f8770bb3a3de8d.tar.gz
scummvm-rg350-724a702fdfb5cd635706403829f8770bb3a3de8d.tar.bz2
scummvm-rg350-724a702fdfb5cd635706403829f8770bb3a3de8d.zip
HUGO: Free memory on exit
svn-id: r53945
Diffstat (limited to 'engines/hugo/hugo.h')
-rw-r--r--engines/hugo/hugo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h
index 2be56e345d..7a73c70622 100644
--- a/engines/hugo/hugo.h
+++ b/engines/hugo/hugo.h
@@ -139,17 +139,23 @@ public:
char **_textSchedule;
char **_textUtil;
char ***_arrayNouns;
+ uint16 _arrayNounsSize;
char ***_arrayVerbs;
+ uint16 _arrayVerbsSize;
uint16 **_arrayReqs;
hotspot_t *_hotspots;
int16 *_invent;
uses_t *_uses;
background_t *_catchallList;
background_t **_backgroundObjects;
+ uint16 _backgroundObjectsSize;
point_t *_points;
cmd **_cmdList;
+ uint16 _cmdListSize;
uint16 **_screenActs;
+ uint16 _screenActsSize;
act **_actListArr;
+ uint16 _actListArrSize;
int16 *_defltTunes;
uint16 _look;
uint16 _take;
@@ -287,7 +293,7 @@ private:
int _maxscore; // Holds maximum score
char **loadTextsVariante(Common::File &in, uint16 *arraySize);
- char ***loadTextsArray(Common::File &in);
+ char ***loadTextsArray(Common::File &in, uint16 *arraySize);
uint16 **loadLongArray(Common::File &in);
char **loadTexts(Common::File &in);
void freeTexts(char **ptr);