mirror of https://github.com/nmlgc/ReC98.git
129 lines
2.1 KiB
NASM
129 lines
2.1 KiB
NASM
CUSTOM_COUNT = 64
|
||
|
||
custom_t struc
|
||
db 26 dup (?)
|
||
custom_t ends
|
||
|
||
; Stage 2 star particles
|
||
; ----------------------
|
||
S2PARTICLE_COUNT = 64
|
||
S2PARTICLE_W = 16
|
||
S2PARTICLE_H = 16
|
||
|
||
s2particle_t struc
|
||
flag db ?
|
||
S2P_angle db ?
|
||
pos motion_t <?>
|
||
zoom dw ?
|
||
dw 5 dup (?)
|
||
s2particle_t ends
|
||
|
||
s2particles equ <_custom_entities>
|
||
; ----------------------
|
||
|
||
; Alice's puppets
|
||
; ---------------
|
||
PUPPET_COUNT = 2
|
||
PUPPET_W = 32
|
||
PUPPET_H = 32
|
||
PUPPET_HP = 500
|
||
|
||
puppet_t struc
|
||
flag db ?
|
||
PUPPET_angle db ?
|
||
pos motion_t <?>
|
||
phase_frame dw ?
|
||
|
||
radius_motion label word
|
||
radius_gather label word
|
||
dw ?
|
||
|
||
PUPPET_patnum dw ?
|
||
PUPPET_hp_cur dw ? ; _cur to avoid a collision with PUPPET_HP
|
||
PUPPET_damage_this_frame dw ?
|
||
dw ?
|
||
puppet_t ends
|
||
|
||
puppets equ <_custom_entities>
|
||
puppet0 equ <puppets[0 * size puppet_t]>
|
||
puppet1 equ <puppets[1 * size puppet_t]>
|
||
; ---------------
|
||
|
||
; Curve bullets
|
||
; -------------
|
||
curvebullet_template_t struc
|
||
db ?
|
||
CBTMPL_angle db ?
|
||
pos motion_t <?>
|
||
CBTMPL_age dw ?
|
||
dw ?
|
||
CBTMPL_col dw ?
|
||
dd ?
|
||
CBTMPL_speed db ?
|
||
db ?
|
||
curvebullet_template_t ends
|
||
|
||
curvebullet_head_t struc
|
||
flag db ?
|
||
CBH_angle db ?
|
||
pos motion_t <?>
|
||
CBH_age dw ?
|
||
dw ?
|
||
CBH_sprite dw ?
|
||
dd ?
|
||
CBH_speed db ?
|
||
db ?
|
||
curvebullet_head_t ends
|
||
|
||
curvebullet_template equ <_custom_entities>
|
||
curvebullet_heads equ <_custom_entities[1 * size curvebullet_head_t]>
|
||
; -------------
|
||
|
||
; Mai's and Yuki's 32×32 balls
|
||
; ----------------------------
|
||
B4BALL_COUNT = 63
|
||
B4BALL_W = 32
|
||
B4BALL_H = 32
|
||
|
||
b4ball_t struc
|
||
flag db ?
|
||
B4B_angle db ?
|
||
pos motion_t <?>
|
||
B4B_age dw ?
|
||
B4B_revenge dw ?
|
||
B4B_patnum_tiny_base dw ?
|
||
B4B_hp dw ?
|
||
B4B_damaged_this_frame dw ?
|
||
B4B_speed db ?
|
||
db ?
|
||
b4ball_t ends
|
||
|
||
b4ball_template equ <_custom_entities>
|
||
b4balls equ <_custom_entities[1 * size b4ball_t]>
|
||
; ------------------------------
|
||
|
||
; Yumeko's knives
|
||
; ---------------
|
||
KNIFE_COUNT = 63
|
||
KNIFE_W = 32
|
||
KNIFE_H = 32
|
||
|
||
knife_t struc
|
||
flag db ?
|
||
KNIFE_angle db ?
|
||
pos motion_t <?>
|
||
twirl_time dw ?
|
||
dw ?
|
||
KNIFE_patnum_tiny dw ?
|
||
KNIFE_decay_frames dw ?
|
||
dw ?
|
||
KNIFE_speed db ?
|
||
db ?
|
||
knife_t ends
|
||
|
||
knife_template equ <_custom_entities>
|
||
knives equ <_custom_entities[1 * size knife_t]>
|
||
; ---------------
|
||
|
||
public _custom_entities
|