mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 23:37:33 -04:00
Decompile func0f19c1cc
This commit is contained in:
@@ -1378,6 +1378,51 @@
|
||||
#define MOVEMODE_GRAB 4
|
||||
#define MOVEMODE_CUTSCENE 5
|
||||
|
||||
#define MPCONFIG_TEMPLE 0x00
|
||||
#define MPCONFIG_PISTOLS 0x01
|
||||
#define MPCONFIG_FARSIGHT 0x02
|
||||
#define MPCONFIG_DRUGGUN 0x03
|
||||
#define MPCONFIG_SLAYER 0x04
|
||||
#define MPCONFIG_CLOAKING 0x05
|
||||
#define MPCONFIG_SLOWMO 0x06
|
||||
#define MPCONFIG_NOSHIELD 0x07
|
||||
#define MPCONFIG_BRIEFCASE 0x08
|
||||
#define MPCONFIG_SKEDARKING 0x09
|
||||
#define MPCONFIG_FLAGS 0x0a
|
||||
#define MPCONFIG_SIMULANTS 0x0b
|
||||
#define MPCONFIG_AUTOMATICS 0x0c
|
||||
#define MPCONFIG_ROCKETS 0x0d
|
||||
#define MPCONFIG_CHALLENGE01 0x0e
|
||||
#define MPCONFIG_CHALLENGE02 0x0f
|
||||
#define MPCONFIG_CHALLENGE03 0x10
|
||||
#define MPCONFIG_CHALLENGE04 0x11
|
||||
#define MPCONFIG_CHALLENGE05 0x12
|
||||
#define MPCONFIG_CHALLENGE06 0x13
|
||||
#define MPCONFIG_CHALLENGE07 0x14
|
||||
#define MPCONFIG_CHALLENGE08 0x15
|
||||
#define MPCONFIG_CHALLENGE09 0x16
|
||||
#define MPCONFIG_CHALLENGE10 0x17
|
||||
#define MPCONFIG_CHALLENGE11 0x18
|
||||
#define MPCONFIG_CHALLENGE12 0x19
|
||||
#define MPCONFIG_CHALLENGE13 0x1a
|
||||
#define MPCONFIG_CHALLENGE14 0x1b
|
||||
#define MPCONFIG_CHALLENGE15 0x1c
|
||||
#define MPCONFIG_CHALLENGE16 0x1d
|
||||
#define MPCONFIG_CHALLENGE17 0x1e
|
||||
#define MPCONFIG_CHALLENGE18 0x1f
|
||||
#define MPCONFIG_CHALLENGE19 0x20
|
||||
#define MPCONFIG_CHALLENGE20 0x21
|
||||
#define MPCONFIG_CHALLENGE21 0x22
|
||||
#define MPCONFIG_CHALLENGE22 0x23
|
||||
#define MPCONFIG_CHALLENGE23 0x24
|
||||
#define MPCONFIG_CHALLENGE24 0x25
|
||||
#define MPCONFIG_CHALLENGE25 0x26
|
||||
#define MPCONFIG_CHALLENGE26 0x27
|
||||
#define MPCONFIG_CHALLENGE27 0x28
|
||||
#define MPCONFIG_CHALLENGE28 0x29
|
||||
#define MPCONFIG_CHALLENGE29 0x2a
|
||||
#define MPCONFIG_CHALLENGE30 0x2b
|
||||
|
||||
#define MPLOCKTYPE_NONE 0
|
||||
#define MPLOCKTYPE_LASTWINNER 1
|
||||
#define MPLOCKTYPE_LASTLOSER 2
|
||||
|
||||
@@ -9,12 +9,12 @@ void func0f19afdc(void);
|
||||
void func0f19b540(void);
|
||||
u32 func0f19b6f8(void);
|
||||
u32 func0f19b800(void);
|
||||
s32 func0f19b914(s16 arg0, s32 arg1, s32 arg2);
|
||||
s32 mpLoadConfig(s16 arg0, char *buffer, s32 len);
|
||||
u32 func0f19bb50(void);
|
||||
u32 func0f19bb98(void);
|
||||
u32 func0f19bd4c(void);
|
||||
u32 func0f19bfa0(void);
|
||||
u32 func0f19c1cc(void);
|
||||
void func0f19c1cc(void);
|
||||
u32 func0f19c288(void);
|
||||
u32 func0f19c2b0(void);
|
||||
bool mpIsChallengeCompleteForEndscreen(void);
|
||||
@@ -26,12 +26,12 @@ s32 mpGetNumAvailableChallenges(void);
|
||||
char *mpChallengeGetName(s32 challengeindex);
|
||||
void mpSetCurrentChallenge(s32 slotnum);
|
||||
s32 mpGetCurrentChallengeIndex(void);
|
||||
s32 func0f19ba58(s32 challengeindex, s32 arg1, s32 arg2);
|
||||
s32 mpGetNthAvailableChallengeSomething(s32 n, s32 arg1, s32 arg2);
|
||||
s32 func0f19bb20(s32 arg0, s32 arg1);
|
||||
s32 mpLoadChallenge(s32 challengeindex, char *buffer, s32 len);
|
||||
s32 mpGetNthAvailableChallengeSomething(s32 n, char *buffer, s32 len);
|
||||
s32 mpLoadCurrentChallenge(char *buffer, s32 len);
|
||||
void func0f19c190(void);
|
||||
s32 func0f19c220(void);
|
||||
void mpCalculateVar800884b4(s32 arg0, s32 arg1);
|
||||
s32 mpRemoveLock(void);
|
||||
void mpCalculateVar800884b4(char *buffer, s32 len);
|
||||
void mpResetVar800884b4(void);
|
||||
bool mpIsVar800884b4NonZero(void);
|
||||
s32 mpGetNumChallengesAvailable(s32 mpchrnum);
|
||||
|
||||
@@ -107,7 +107,7 @@ u32 mpGetNumPresets(void);
|
||||
bool mpIsPresetUnlocked(s32 presetnum);
|
||||
s32 mpGetNumUnlockedPresets(void);
|
||||
char *mpGetPresetNameBySlot(s32 slot);
|
||||
u32 func0f18dcec(void);
|
||||
void func0f18dcec(s32 arg0);
|
||||
u32 func0f18dec4(void);
|
||||
u32 func0f18df5c(void);
|
||||
u32 func0f18e16c(void);
|
||||
|
||||
+2
-2
@@ -4109,7 +4109,7 @@ struct savelocation {
|
||||
|
||||
struct challenge {
|
||||
/*0x00*/ u16 name;
|
||||
/*0x02*/ s16 unk02;
|
||||
/*0x02*/ s16 confignum;
|
||||
|
||||
// One byte for each number of players,
|
||||
// and 4 bits in each to mark which players completed it
|
||||
@@ -4373,7 +4373,7 @@ struct objectivething {
|
||||
|
||||
struct mppreset {
|
||||
u16 name;
|
||||
u32 unk04;
|
||||
u32 confignum;
|
||||
u8 challenges[16];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user