diff options
author | Denis Kasak | 2009-07-17 01:20:51 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-17 01:20:51 +0000 |
commit | aa82c39857513525d5212b543f4438f916409250 (patch) | |
tree | 80cc8123f125174acb2ada979326946642091ebb /engines/draci/game.h | |
parent | 16530846acc8a9d0ededdf3de82f11d3260fee87 (diff) | |
download | scummvm-rg350-aa82c39857513525d5212b543f4438f916409250.tar.gz scummvm-rg350-aa82c39857513525d5212b543f4438f916409250.tar.bz2 scummvm-rg350-aa82c39857513525d5212b543f4438f916409250.zip |
* Made Game::changeRoom() clear some more archives
* Modified the engine to leverage BArchive's memory management capabilities by using its pointers to data directly instead of copying
* Removed GameObject destructor (not needed because of the above change)
* Changed some more data members from uint16 to uint
svn-id: r42555
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index f843da01cf..276efa1356 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -83,9 +83,8 @@ private: struct GameObject { GameObject() : _title(NULL) {} - ~GameObject(); - uint16 _init, _look, _use, _canUse; + uint _init, _look, _use, _canUse; bool _imInit, _imLook, _imUse; byte _walkDir; byte _z; @@ -187,7 +186,7 @@ private: int *_variables; GameInfo _info; Person *_persons; - uint16 *_dialogOffsets; + uint *_dialogOffsets; byte *_iconStatus; GameObject *_objects; Room _currentRoom; |