ReC98/th01/main/player/anim[bss].asm
nmlgc 8d6ab75353 [Naming] [th01] Reduce CPlayerAnim instances to their width and height
Everything about these is bad, including my previous attempt at naming
them. The "forward" instance also contains the flip kick animations
(facing sideways), and MIKO.PTN also contains animations. Those sprite
sizes really are the only reason why those needed to exist at all, so
why pretend that they fulfill some higher semantic reason?

Part of P0162, funded by Ember2528.
2021-10-20 00:06:16 +02:00

17 lines
442 B
NASM

PLAYER_ANIM_IMAGES_PER_SLOT = 32
CPlayerAnim struc
PA_alpha dd PLAYER_ANIM_IMAGES_PER_SLOT dup(?)
PA_B dd PLAYER_ANIM_IMAGES_PER_SLOT dup(?)
PA_R dd PLAYER_ANIM_IMAGES_PER_SLOT dup(?)
PA_G dd PLAYER_ANIM_IMAGES_PER_SLOT dup(?)
PA_E dd PLAYER_ANIM_IMAGES_PER_SLOT dup(?)
PA_vram_w dw ?
PA_h dw ?
PA_bos_image_count dw ?
CPlayerAnim ends
public _player_48x48, _player_48x32
_player_48x48 CPlayerAnim <?>
_player_48x32 CPlayerAnim <?>