123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- ; CONST.INC- Constants
- NUM_STATUS_CNTRS EQU 6
- OVERLAY_OFF EQU 0
- OVERLAY_ON EQU 1
- OVERLAY_STATIC EQU 2
- OVERLAY_TRANS EQU 3
- EXPL_LEAVE_SPACE EQU 0
- EXPL_LEAVE_ASH EQU 1
- EXPL_LEAVE_FIRE EQU 2
- CAN_SAVE EQU 0
- CANT_SAVE EQU 1
- CAN_SAVE_ON_SENSOR EQU 2
- FOREST_TO_EMPTY EQU 0
- FOREST_TO_FLOOR EQU 1
- FIRE_BURNS_LIMITED EQU 0
- FIRE_BURNS_FOREVER EQU 1
- NO_BOARD EQU 255
- NO_ENDGAME_BOARD EQU 255
- NO_DEATH_BOARD EQU 255
- DEATH_SAME_POS EQU 254
- PLAYER_BULLET EQU 0
- NEUTRAL_BULLET EQU 1
- ENEMY_BULLET EQU 2
- DIR_IDLE EQU 0
- DIR_NONE EQU 0
- DIR_N EQU 1
- DIR_S EQU 2
- DIR_E EQU 3
- DIR_W EQU 4
- DIR_RANDNS EQU 5
- DIR_RANDEW EQU 6
- DIR_RANDNE EQU 7
- DIR_RANDNB EQU 8
- DIR_SEEK EQU 9
- DIR_RANDANY EQU 10
- DIR_UNDER EQU 11
- DIR_ANYDIR EQU 12
- DIR_FLOW EQU 13
- DIR_NODIR EQU 14
- DIR_RANDB EQU 15
- ;These are added to the above or checked using AND.
- DIR_RANDP EQU 16
- DIR_CW EQU 32
- DIR_OPP EQU 64
- DIR_CCW EQU 96
- DIR_RANDNOT EQU 128
- HORIZONTAL EQU 0
- VERTICAL EQU 1
- NO_KEY EQU 127
- NO_PROTECTION EQU 0
- NO_SAVING EQU 1
- NO_EDITING EQU 2
- NO_PLAYING EQU 3
- ;"SIZE" includes terminating \0
- PATHNAME_SIZE EQU 129
- FILENAME_SIZE EQU 13
- NUM_BOARDS EQU 150
- BOARD_NAME_SIZE EQU 25
- COUNTER_NAME_SIZE EQU 15
- NUM_KEYS EQU 16
- ;Where something is in memory (CURRENT means it is in special variables for
- ;the current "whatever", MEMORY means stored in conventional memory,
- ;GROUPTEMPFILE means stored in a tempfile along with others of the same
- ;type, NOWHERE means it doesn't exist or is in it's original file)
- ;IMPORT means it is waiting for import.
- W_NOWHERE EQU 0
- W_CURRENT EQU 1
- W_MEMORY EQU 2
- W_TEMPFILE EQU 3
- W_GROUPTEMPFILE EQU 4
- W_EMS EQU 5
- W_IMPORT EQU 6
- ARRAY_DIR_N EQU -100
- ARRAY_DIR_S EQU 100
- ARRAY_DIR_E EQU 1
- ARRAY_DIR_W EQU -1
- ;Attribute flags
- A_PUSHNS EQU 1
- A_PUSHEW EQU 2
- A_PUSHABLE EQU 3
- A_ITEM EQU 4
- A_UPDATE EQU 8
- A_HURTS EQU 16
- A_UNDER EQU 32
- A_ENTRANCE EQU 64
- A_EXPLODE EQU 128
- A_BLOW_UP EQU 256
- A_SHOOTABLE EQU 512
- A_ENEMY EQU 1024
- A_AFFECT_IF_STOOD EQU 2048
- A_SPEC_SHOT EQU 4096
- A_SPEC_PUSH EQU 8192
- A_SPEC_BOMB EQU 16384
- A_SPEC_STOOD EQU 32768
- ;Actual number is one less due to reservation of ID #TEMP_STORAGE.
- NUM_ROBOTS EQU 200
- NUM_SCROLLS EQU 50
- NUM_SENSORS EQU 20
- NUM_COUNTERS EQU 41
- ;The first n counters are reserved for internal use (GEMS, etc)
- RESERVED_COUNTERS EQU 9
- ;ID number for storage of the only copy of the current robot/scroll/sensor
- TEMP_STORAGE EQU 0
- ;ID number for storage of the global robot
- GLOBAL_ROBOT EQU 200
- ;Number of musical devices
- NUM_DEVICES EQU 11
- ;Device code for no music
- NO_MUSIC EQU 255
- ;Max/min sizes
- MAX_ARRAY_X EQU 100
- MAX_ARRAY_Y EQU 100
- MAX_VIEWPORT_X EQU 80
- MAX_VIEWPORT_Y EQU 25
- MIN_ARRAY_X EQU 1
- MIN_ARRAY_Y EQU 1
- MIN_VIEWPORT_X EQU 1
- MIN_VIEWPORT_Y EQU 1
- ROBOT_SIZE EQU 41
- VIDEO_SEG EQU 0b800h
- SENSOR_SIZE EQU 32
|