mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile roomSetLightsFaulty
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user