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