mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
CGE: Remove unused Demo text id
This commit is contained in:
parent
647bc59f99
commit
d73ed91051
@ -52,7 +52,6 @@ CGEEngine::CGEEngine(OSystem *syst, const ADGameDescription *gameDescription)
|
||||
DebugMan.addDebugChannel(kCGEDebugEngine, "engine", "CGE Engine debug channel");
|
||||
|
||||
_startupMode = 1;
|
||||
_demoText = kDemo;
|
||||
_oldLev = 0;
|
||||
_pocPtr = 0;
|
||||
_bitmapPalette = NULL;
|
||||
|
@ -149,7 +149,6 @@ public:
|
||||
|
||||
const ADGameDescription *_gameDescription;
|
||||
int _startupMode;
|
||||
int _demoText;
|
||||
int _oldLev;
|
||||
int _pocPtr;
|
||||
bool _music;
|
||||
|
@ -150,11 +150,11 @@ void CGEEngine::sndSetVolume() {
|
||||
void CGEEngine::syncHeader(Common::Serializer &s) {
|
||||
debugC(1, kCGEDebugEngine, "CGEEngine::syncHeader(s)");
|
||||
|
||||
int i;
|
||||
int i = kDemo;
|
||||
|
||||
s.syncAsUint16LE(_now);
|
||||
s.syncAsUint16LE(_oldLev);
|
||||
s.syncAsUint16LE(_demoText);
|
||||
s.syncAsUint16LE(i); // unused Demo string id
|
||||
for (i = 0; i < 5; i++)
|
||||
s.syncAsUint16LE(_game);
|
||||
s.syncAsSint16LE(i); // unused VGA::Mono variable
|
||||
|
@ -78,7 +78,7 @@ namespace CGE {
|
||||
#define kScrHeight 200
|
||||
#define kWorldHeight (kScrHeight - kPanHeight)
|
||||
#define kStackSize 2048
|
||||
#define kSavegameCheckSum (1956 + _now + _oldLev + _game + _music + _demoText)
|
||||
#define kSavegameCheckSum (1956 + _now + _oldLev + _game + _music + kDemo)
|
||||
#define kSavegame0Name ("{{INIT}}" kSvgExt)
|
||||
#define kSavegameStrSize 11
|
||||
#define kGameFrameDelay (1000 / 50)
|
||||
|
Loading…
Reference in New Issue
Block a user