X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FmodAnimations.h;h=38325dc0fb7f75db9942bfc330b52375e6765523;hb=79d7ca29718d025ed0b131bf5389685fe9b941c4;hp=c0de60e1be4e731bdf33529f513f4121b7dbdf54;hpb=5ba7f2d9a3f07f342afdf215a3307d5487cb6d43;p=rocksndiamonds.git diff --git a/src/game_sp/modAnimations.h b/src/game_sp/modAnimations.h index c0de60e1..38325dc0 100644 --- a/src/game_sp/modAnimations.h +++ b/src/game_sp/modAnimations.h @@ -15,7 +15,11 @@ #ifndef HAS_SpecialPortType typedef struct { +#if 1 + short PortLocation; // = 2*(x+(y*60)) +#else int PortLocation; // = 2*(x+(y*60)) +#endif byte Gravity; // 1 = turn on, anything else (0) = turn off byte FreezeZonks; // 2 = turn on, anything else (0) = turn off (1=off!) byte FreezeEnemies; // 1 = turn on, anything else (0) = turn off @@ -27,7 +31,7 @@ typedef struct #ifndef HAS_LevelInfoType typedef struct { - byte UnUsed[4 + 1]; + byte UnUsed[4]; byte InitialGravity; // 1=on, anything else (0) = off byte Version; // SpeedFixVersion XOR &H20 char LevelTitle[23]; @@ -38,10 +42,14 @@ typedef struct // amount of Infotrons in the level, and use the low byte of that number. // (A multiple of 256 Infotrons will then result in 0-to-eat, etc.!) byte SpecialPortCount; // Maximum 10 allowed! - SpecialPortType SpecialPort[10 + 1]; + SpecialPortType SpecialPort[10]; byte SpeedByte; // = Speed XOR Highbyte(RandomSeed) byte CheckSumByte; // = CheckSum XOR SpeedByte +#if 1 + short DemoRandomSeed; +#else int DemoRandomSeed; +#endif } LevelInfoType; #define HAS_LevelInfoType #endif