1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
5 #ifndef MODANIMATIONS_H
6 #define MODANIMATIONS_H
15 #ifndef HAS_SpecialPortType
18 int PortLocation; // = 2*(x+(y*60))
19 byte Gravity; // 1 = turn on, anything else (0) = turn off
20 byte FreezeZonks; // 2 = turn on, anything else (0) = turn off (1=off!)
21 byte FreezeEnemies; // 1 = turn on, anything else (0) = turn off
24 #define HAS_SpecialPortType
27 #ifndef HAS_LevelInfoType
31 byte InitialGravity; // 1=on, anything else (0) = off
32 byte Version; // SpeedFixVersion XOR &H20
34 byte InitialFreezeZonks; // 2=on, anything else (0) = off. (1=off too!)
37 // Number of Infotrons needed. 0 means that Supaplex will count the total
38 // amount of Infotrons in the level, and use the low byte of that number.
39 // (A multiple of 256 Infotrons will then result in 0-to-eat, etc.!)
40 byte SpecialPortCount; // Maximum 10 allowed!
41 SpecialPortType SpecialPort[10 + 1];
42 byte SpeedByte; // = Speed XOR Highbyte(RandomSeed)
43 byte CheckSumByte; // = CheckSum XOR SpeedByte
46 #define HAS_LevelInfoType
49 #define ScrollDelta ((long)1)
53 extern DDScrollBuffer Stage;
54 extern DDSpriteBuffer NormalSprites;
55 extern DDSpriteBuffer StretchedSprites;
56 extern LevelInfoType LInfo;
57 extern boolean EndFlag;
58 extern byte LData[59 + 1][23 + 1];
60 extern int ScrollMinX, ScrollMaxX, ScrollMinY, ScrollMaxY;
61 extern int ScrollX, ScrollY;
62 extern long PauseMode;
64 #endif /* MODANIMATIONS_H */