|
783 | 783 | #DEFINE AAPTR_FRIENDPLAYER 0x4000
|
784 | 784 | #DEFINE AAPTR_GET_LINETARGET 0x8000
|
785 | 785 |
|
| 786 | +// [AK] Actor pointers used exclusively for GAMEEVENT_ACTOR_DAMAGED |
| 787 | +#DEFINE AAPTR_DAMAGE_SOURCE 0x10000000 |
| 788 | +#DEFINE AAPTR_DAMAGE_INFLICTOR 0x40000000 |
| 789 | +#DEFINE AAPTR_DAMAGE_TARGET 0x80000000 |
| 790 | + |
786 | 791 | // Actor pointer operation flags
|
787 | 792 |
|
788 | 793 | #DEFINE PTROP_UNSAFETARGET 1
|
|
910 | 915 | #define DB_ORDER_ASC 0
|
911 | 916 | #define DB_ORDER_DESC 1
|
912 | 917 |
|
| 918 | +// Zandronum gamemode states ------------------------------------------------ |
| 919 | +#define GAMESTATE_UNSPECIFIED -1 |
| 920 | +#define GAMESTATE_WAITFORPLAYERS 0 |
| 921 | +#define GAMESTATE_COUNTDOWN 1 |
| 922 | +#define GAMESTATE_INPROGRESS 2 |
| 923 | +#define GAMESTATE_INRESULTSEQUENCE 3 |
| 924 | + |
| 925 | +// Zandronum EVENT script types --------------------------------------------- |
| 926 | +#define GAMEEVENT_PLAYERFRAGS 0 |
| 927 | +#define GAMEEVENT_MEDALS 1 |
| 928 | +#define GAMEEVENT_CAPTURES 2 |
| 929 | +#define GAMEEVENT_TOUCHES 3 |
| 930 | +#define GAMEEVENT_RETURNS 4 |
| 931 | +#define GAMEEVENT_ROUND_STARTS 5 |
| 932 | +#define GAMEEVENT_ROUND_ENDS 6 |
| 933 | +#define GAMEEVENT_ROUND_ABORTED 7 |
| 934 | +#define GAMEEVENT_CHAT 8 |
| 935 | +#define GAMEEVENT_PLAYERCONNECT 9 |
| 936 | +#define GAMEEVENT_ACTOR_SPAWNED 10 |
| 937 | +#define GAMEEVENT_ACTOR_DAMAGED 11 |
| 938 | +#define GAMEEVENT_ACTOR_ARMORDAMAGED 12 |
| 939 | + |
913 | 940 | // Events when you have input grabbed
|
914 | 941 |
|
915 | 942 | #define EV_KeyDown 1 // data1: unshifted ASCII, data2: shifted ASCII
|
|
1169 | 1196 | #define AMLS_UnexploredSecret 12
|
1170 | 1197 | #define AMLS_Portal 13
|
1171 | 1198 |
|
| 1199 | +// [TP] For GetTimeProperty |
| 1200 | +#define TM_SECOND 0 |
| 1201 | +#define TM_MINUTE 1 |
| 1202 | +#define TM_HOUR 2 |
| 1203 | +#define TM_DAY 3 |
| 1204 | +#define TM_MONTH 4 |
| 1205 | +#define TM_YEAR 5 |
| 1206 | +#define TM_WEEKDAY 6 |
| 1207 | + |
| 1208 | +// [AK] For SetGamemodeLimit |
| 1209 | +#define GAMELIMIT_FRAGS 0 |
| 1210 | +#define GAMELIMIT_TIME 1 |
| 1211 | +#define GAMELIMIT_POINTS 2 |
| 1212 | +#define GAMELIMIT_DUELS 3 |
| 1213 | +#define GAMELIMIT_WINS 4 |
| 1214 | +#define GAMELIMIT_WAVES 5 |
| 1215 | + |
| 1216 | +// [AK] For SetPlayerScore and GetPlayerScore |
| 1217 | +#define SCORE_FRAGS 0 |
| 1218 | +#define SCORE_POINTS 1 |
| 1219 | +#define SCORE_WINS 2 |
| 1220 | +#define SCORE_DEATHS 3 |
| 1221 | +#define SCORE_KILLS 4 |
| 1222 | +#define SCORE_ITEMS 5 |
| 1223 | +#define SCORE_SECRETS 6 |
| 1224 | +#define SCORE_SPREAD 7 |
| 1225 | +#define SCORE_RANK 8 |
| 1226 | + |
| 1227 | +// [AK] For GetMapRotationInfo |
| 1228 | +#define MAPROTATION_Name 0 |
| 1229 | +#define MAPROTATION_LumpName 1 |
| 1230 | +#define MAPROTATION_Used 2 |
| 1231 | +#define MAPROTATION_MinPlayers 3 |
| 1232 | +#define MAPROTATION_MaxPlayers 4 |
| 1233 | + |
1172 | 1234 | // Lump reading stuff.
|
1173 | 1235 | #define LUMP_OPEN_FULLPATH 1
|
1174 | 1236 |
|
|
0 commit comments