X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FmodAnimations.h;h=38325dc0fb7f75db9942bfc330b52375e6765523;hb=026c569fc47fbe95d8cb131442a4e04610f27f05;hp=13e6db665451098a734270b10e92d62e67ab84bc;hpb=91c0172a97f1323e573684a456de436332c8ea34;p=rocksndiamonds.git diff --git a/src/game_sp/modAnimations.h b/src/game_sp/modAnimations.h index 13e6db66..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 @@ -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