Decompile roomSetLightsFaulty

This commit is contained in:
Ryan Dwyer
2020-09-01 23:27:02 +10:00
parent d86eb70a1a
commit 56ee0ab69a
5 changed files with 25 additions and 82 deletions
+3 -3
View File
@@ -4036,9 +4036,9 @@
*
* AIENVCMD_ROOM_SETFAULTYLIGHTS:
* - Sets the lights in the given room number to be faulty. It's used for the
* lights virus in Rescue. The value argument appears to control what
* percentage of lights in the room will be faulty. The exact usage of this
* argument is unknown, but higher numbers mean more faulty lights.
* lights virus in Rescue. The value argument determines the chance of any
* given light being faulty, where 0 is guaranteed fine and 100 is guaranteed
* faulty.
*
* AIENVCMD_PLAYNOSEDIVE:
* - Plays the Air Force One nosedive noise. The value argument is the number of
+1 -1
View File
@@ -2407,7 +2407,7 @@
#define ROOMFLAG_DISABLED 0x0001
#define ROOMFLAG_VISIBLEBYPLAYER 0x0004
#define ROOMFLAG_VISIBLEBYAIBOT 0x0008
#define ROOMFLAG_0100 0x0100
#define ROOMFLAG_0100 0x0100 // a dirty flag?
#define ROOMFLAG_1000 0x1000
#define ROOMFLAG_LIGHTSOFF 0x2000
#define ROOMFLAG_PLAYAMBIENTTRACK 0x4000
+1 -1
View File
@@ -22,7 +22,7 @@ u32 func0f001138(void);
u32 func0f001300(void);
u32 func0f0013c8(void);
u32 func0f001734(void);
void roomSetFaultyLights(s32, s32 value);
void roomSetLightsFaulty(s32 roomnum, s32 chance);
u32 func0f001b78(void);
void func0f001bdc(void);
u32 func0f001c0c(void);