CGE: Remove some useless constants

This commit is contained in:
Strangerke 2011-11-13 12:48:09 +01:00
parent 8097aeb43a
commit c6c9620ff2
2 changed files with 1 additions and 5 deletions

View File

@ -200,7 +200,7 @@ bool CGEEngine::loadGame(int slotNumber, SavegameHeader *header, bool tiny) {
if (slotNumber == -1) {
// Loading the data for the initial game state
kSavegame0File file = kSavegame0File(this, kSavegame0Name);
EncryptedStream file = EncryptedStream(this, kSavegame0Name);
int size = file.size();
byte *dataBuffer = (byte *)malloc(size);
file.read(dataBuffer, size);

View File

@ -57,10 +57,7 @@ namespace CGE {
#define kHeroFun0 (40 * 12)
#define kHeroFun1 ( 2 * 12)
#define kShowScummVMVersion 15
#define kGetNamePrompt 50
#define kGetNameTitle 51
#define kTSeq 96
#define kNoMusic 98
#define kBadSVG 99
#define kSeqHTalk (kTSeq + 4)
#define kSeqTooFar (kTSeq + 5)
@ -83,7 +80,6 @@ namespace CGE {
#define kStackSize 2048
#define kSavegameCheckSum (1956 + _now + _oldLev + _game + _music + _demoText)
#define kSavegame0Name ("{{INIT}}" kSvgExt)
#define kSavegame0File EncryptedStream
#define kSavegameStrSize 11
#define kGameFrameDelay (1000 / 50)
#define kGameTickDelay (1000 / 62)