mirror of https://github.com/nmlgc/ReC98.git
27 lines
517 B
NASM
27 lines
517 B
NASM
|
; TODO: Remove the anti-collision SHOT_ prefixes once this gets
|
||
|
; decompiled.
|
||
|
shot_t struc
|
||
|
flag db ?
|
||
|
SHOT_age db ?
|
||
|
pos motion_t <?>
|
||
|
; The displayed sprite changes between this one and
|
||
|
; [patnum_base + 1] every two frames.
|
||
|
if GAME eq 5
|
||
|
patnum_base db ?
|
||
|
SHOT_type db ?
|
||
|
else
|
||
|
patnum_base dw ?
|
||
|
endif
|
||
|
damage db ?
|
||
|
SHOT_angle db ? ; Unused in TH04
|
||
|
shot_t ends
|
||
|
|
||
|
if GAME eq 5
|
||
|
SHOT_COUNT = 64
|
||
|
else
|
||
|
SHOT_COUNT = 68
|
||
|
endif
|
||
|
public _shots
|
||
|
_shots shot_t SHOT_COUNT dup(<?>)
|
||
|
_shots_end label byte
|