mirror of https://github.com/nmlgc/ReC98.git
36 lines
519 B
NASM
36 lines
519 B
NASM
; item_type_t
|
|
IT_POWER = 0
|
|
IT_POINT = 1
|
|
IT_DREAM = 2
|
|
IT_BIGPOWER = 3
|
|
IT_BOMB = 4
|
|
IT_1UP = 5
|
|
IT_FULLPOWER = 6
|
|
|
|
item_t struc
|
|
flag db ?
|
|
db ?
|
|
pos motion_t <?>
|
|
ITEM_type db ?
|
|
ITEM_unknown db ?
|
|
ITEM_patnum dw ?
|
|
pulled_to_player dw ?
|
|
item_t ends
|
|
|
|
ITEM_W = 16
|
|
ITEM_H = 16
|
|
ITEM_PULL_SPEED = 10
|
|
|
|
if GAME eq 5
|
|
ITEM_COUNT = 40
|
|
ITEM_TYPE_PATNUM_OFFSET = 36
|
|
else
|
|
ITEM_COUNT = 32
|
|
ITEM_TYPE_PATNUM_OFFSET = 44
|
|
endif
|
|
|
|
public _items
|
|
_items item_t ITEM_COUNT dup(<?>)
|
|
; 4 additional unused one, for some reason?
|
|
item_t 4 dup(<?>)
|