[Reverse-engineering] [th03] Shot-related enums

Part of P0071, funded by KirbyComment and -Tom-.
This commit is contained in:
nmlgc 2020-01-27 21:28:47 +01:00
parent e478ceef87
commit ed3763b591
2 changed files with 28 additions and 0 deletions

View File

@ -7,6 +7,22 @@
#define SHOT_VRAM_W (SHOT_W / 8)
#define SHOT_VRAM_H (SHOT_H / 2)
#pragma option -b-
enum shot_mode_t {
SM_NONE = 0,
SM_1_PAIR = 1,
SM_2_PAIRS = 2,
SM_4_PAIRS = 3,
SM_REIMU_HYPER = 4, // 1 shot pair + 1 amulet pair
};
enum shot_active_t {
SA_DISABLED = 0,
SA_ENABLED = 1,
SA_BLOCKED_FOR_THIS_FRAME = 2,
};
#pragma option -b
struct shotpair_t {
char flag;
char unused_1;

View File

@ -7,6 +7,18 @@ SHOT_H = 8
SHOT_VRAM_W = (SHOT_W / 8)
SHOT_VRAM_H = (SHOT_H / 2)
; shot_mode_t
SM_NONE = 0
SM_1_PAIR = 1
SM_2_PAIRS = 2
SM_4_PAIRS = 3
SM_REIMU_HYPER = 4
; shot_active_t
SA_DISABLED = 0
SA_ENABLED = 1
SA_BLOCKED_FOR_THIS_FRAME = 2
shotpair_t struc
flag db ?
unused_1 db ?