diff options
author | Max Horn | 2004-09-29 21:45:52 +0000 |
---|---|---|
committer | Max Horn | 2004-09-29 21:45:52 +0000 |
commit | 40deccb10507eeb2a3e25bb21f615b2e4de6d260 (patch) | |
tree | 8646edcd0ba9145c57ec2de23eba20d5ed032b59 /scumm | |
parent | 61f8a035c78f9790e8f88dae9b584f6d6c739c13 (diff) | |
download | scummvm-rg350-40deccb10507eeb2a3e25bb21f615b2e4de6d260.tar.gz scummvm-rg350-40deccb10507eeb2a3e25bb21f615b2e4de6d260.tar.bz2 scummvm-rg350-40deccb10507eeb2a3e25bb21f615b2e4de6d260.zip |
cleanup
svn-id: r15350
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/intern.h | 4 | ||||
-rw-r--r-- | scumm/scumm.cpp | 12 | ||||
-rw-r--r-- | scumm/scumm.h | 11 |
3 files changed, 13 insertions, 14 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index 99355cc464..fc468cd09e 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -622,9 +622,11 @@ protected: const char *desc; }; + const OpcodeEntryv70he *_opcodesv70he; + Win32ResExtractor *_win32ResExtractor; - const OpcodeEntryv70he *_opcodesv70he; + int _heSndSoundFreq, _heSndOffset, _heSndChannel, _heSndSoundId, _heSndLoop; public: ScummEngine_v70he(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16]); diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index cfa3e23c49..c98967b4cc 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -648,7 +648,6 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS _shadowPalette = NULL; _shadowPaletteSize = 0; memset(_currentPalette, 0, sizeof(_currentPalette)); - memset(_proc_special_palette, 0, sizeof(_proc_special_palette)); memset(_HEV7ActorPalette, 0, sizeof(_HEV7ActorPalette)); _palDirtyMin = 0; _palDirtyMax = 0; @@ -693,11 +692,6 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS memset(_auxBlocks, 0, sizeof(_auxBlocks)); _auxEntriesNum = 0; memset(_auxEntries, 0, sizeof(_auxEntries)); - _heSndSoundId = 0; - _heSndOffset = 0; - _heSndChannel = 0; - _heSndLoop = 0; - _heSndSoundFreq = 0; memset(_timers, 0, sizeof(_timers)); memset(_akosQueue, 0, sizeof(_akosQueue)); @@ -1000,6 +994,12 @@ ScummEngine_v6::ScummEngine_v6(GameDetector *detector, OSystem *syst, const Scum ScummEngine_v70he::ScummEngine_v70he(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16]) : ScummEngine_v60he(detector, syst, gs, md5sum) { _win32ResExtractor = new Win32ResExtractor(this); + + _heSndSoundId = 0; + _heSndOffset = 0; + _heSndChannel = 0; + _heSndLoop = 0; + _heSndSoundFreq = 0; } void ScummEngine::go() { diff --git a/scumm/scumm.h b/scumm/scumm.h index 01636d7659..a948b17d23 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -897,6 +897,10 @@ public: int _screenHeight, _screenWidth; VirtScreen virtscr[4]; // Virtual screen areas CameraData camera; // 'Camera' - viewport + + int _screenStartStrip, _screenEndStrip; + int _screenTop; + protected: ColorCycle _colorCycle[16]; // Palette cycles @@ -1021,11 +1025,6 @@ protected: uint _shakeFrame; void setShake(int mode); -public: - int _screenStartStrip, _screenEndStrip; - int _screenTop; - -protected: int _blastObjectQueuePos; BlastObject _blastObjectQueue[128]; @@ -1069,10 +1068,8 @@ protected: public: byte _HEV7ActorPalette[256]; - byte _proc_special_palette[256]; byte _roomPalette[256]; byte *_shadowPalette; - int _heSndSoundFreq, _heSndOffset, _heSndChannel, _heSndSoundId, _heSndLoop; bool _skipDrawObject, _skipProcessActors; int _timers[4]; |