Decompile frRestoreLighting

This commit is contained in:
Ryan Dwyer
2020-08-03 19:43:06 +10:00
parent 843d0008cd
commit bb45b970d7
21 changed files with 639 additions and 674 deletions
+2 -2
View File
@@ -2257,9 +2257,9 @@
mkshort(0x0101), \
u1,
#define set_lights_state(room, operation, u1, u2, u3) \
#define set_lights_state(pad, operation, u1, u2, u3) \
mkshort(0x0102), \
mkshort(room), \
mkshort(pad), \
operation, \
u1, \
u2, \
+8
View File
@@ -914,6 +914,14 @@
#define LANGUAGE_ENGLISH 0
#define LANGUAGE_JAPANESE 1
#define LIGHTOP_1 1
#define LIGHTOP_2 2
#define LIGHTOP_3 3
#define LIGHTOP_4 4
#define LIGHTOP_5 5
#define LIGHTOP_6 6
#define LIGHTOP_7 7
// These actions are assigned to chr->myaction
#define MA_NONE 0
#define MA_NORMAL 1
+1 -1
View File
@@ -32,7 +32,7 @@ u32 func0f00259c(void);
u32 func0f002844(void);
u32 func0f002a98(void);
void func0f002b58(s32 roomthing, bool enable);
void func0f002c28(s32 room_id, s32 operation, s32 arg2, s32 arg3, s32 arg4);
void roomSetLighting(s32 room_id, s32 operation, s32 arg2, s32 arg3, s32 arg4);
u32 func0f002ef8(void);
void func0f0033b0(void);
u32 func0f003444(void);
+1 -1
View File
@@ -23,7 +23,7 @@ void frSetSlot(s32 slot);
u32 frGetWeaponBySlot(s32 slot);
s32 frGetNumWeaponsAvailable(void);
u32 func0f19d338(void);
void func0f19d414(void);
void frRestoreLighting(void);
void func0f19d4ec(void);
void *frLoadRomData(u32 len);
void frSetDifficulty(s32 difficulty);