aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorLionel Ulmer2002-11-13 15:44:33 +0000
committerLionel Ulmer2002-11-13 15:44:33 +0000
commit26b284a93eb9b90506b0767743d6e82c60a36336 (patch)
treebef2e7a49cc36eff9066c885a5a77fd968b6b302 /scumm
parentd95abae05746f6a4d1d4d786655ee294cf0de318 (diff)
downloadscummvm-rg350-26b284a93eb9b90506b0767743d6e82c60a36336.tar.gz
scummvm-rg350-26b284a93eb9b90506b0767743d6e82c60a36336.tar.bz2
scummvm-rg350-26b284a93eb9b90506b0767743d6e82c60a36336.zip
Some other inits added to prepare for the 'new / delete' overloading
removal. svn-id: r5537
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 9cd5fe20e8..74b466e199 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -108,7 +108,14 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst)
_noSubtitles = detector->_noSubtitles;
_defaultTalkDelay = detector->_talkSpeed;
_use_adlib = detector->_use_adlib;
-
+ memset(&res, 0, sizeof(res));
+ _allocatedSize = 0;
+ _roomResource = 0;
+ _lastLoadedRoom = 0;
+ _expire_counter = 0;
+ _dynamicRoomOffsets = 0;
+ _shakeEnabled = 0;
+
if (_gameId == GID_ZAK256) { // FmTowns is 320x240
_realWidth = 320;
_realHeight = 240;