mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
CGE: Remove some useless constants
This commit is contained in:
parent
8097aeb43a
commit
c6c9620ff2
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user