mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile mpPlayerSetDefaults
This commit is contained in:
@@ -1935,6 +1935,11 @@
|
||||
#define MPCONFIG_CHALLENGE29 0x2a
|
||||
#define MPCONFIG_CHALLENGE30 0x2b
|
||||
|
||||
#define MPDISPLAYOPTION_HIGHLIGHTPLAYERS 0x01
|
||||
#define MPDISPLAYOPTION_HIGHLIGHTPICKUPS 0x02
|
||||
#define MPDISPLAYOPTION_RADAR 0x04
|
||||
#define MPDISPLAYOPTION_HIGHLIGHTTEAMS 0x08
|
||||
|
||||
// Features are things that can be unlocked
|
||||
#define MPFEATURE_WEAPON_FARSIGHT 0x01
|
||||
#define MPFEATURE_WEAPON_TRANQUILIZER 0x02
|
||||
@@ -2571,6 +2576,7 @@
|
||||
#define OPTION_AMMOONSCREEN 0x0020
|
||||
#define OPTION_SHOWGUNFUNCTION 0x0040
|
||||
#define OPTION_HEADROLL 0x0080
|
||||
#define OPTION_0100 0x0100
|
||||
#define OPTION_ALWAYSSHOWTARGET 0x0200
|
||||
#define OPTION_SHOWZOOMRANGE 0x0400
|
||||
#define OPTION_PAINTBALL 0x0800
|
||||
|
||||
@@ -10,7 +10,7 @@ void func0f187944(void);
|
||||
void mpCalculateTeamIsOnlyAi(void);
|
||||
void func0f187fbc(s32 playernum);
|
||||
void func0f187fec(void);
|
||||
void func0f18800c(s32 playernum, bool arg1);
|
||||
void mpPlayerSetDefaults(s32 playernum, bool autonames);
|
||||
void func0f1881d4(s32 index);
|
||||
void mpSetDefaultSetup(void);
|
||||
void mpSetDefaultNamesIfEmpty(void);
|
||||
@@ -53,7 +53,7 @@ s32 mpGetBeauHeadId(u8 headnum);
|
||||
u32 mpGetNumBodies(void);
|
||||
s32 mpGetBodyId(u8 bodynum);
|
||||
s32 mpGetMpbodynumByBodynum(u16 bodynum);
|
||||
char *mpGetBodyName(u8 bodynum);
|
||||
char *mpGetBodyName(u8 mpbodynum);
|
||||
u8 mpGetBodyRequiredFeature(u8 bodynum);
|
||||
s32 mpGetMpheadnumByMpbodynum(s32 bodynum);
|
||||
u32 mpChooseRandomLockPlayer(void);
|
||||
|
||||
@@ -8,7 +8,7 @@ s16 mpChooseRandomStage(void);
|
||||
s32 menuhandler001791c8(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *mpMenuTextWeaponNameForSlot(struct menuitem *item);
|
||||
char *mpMenuTextSetupName(struct menuitem *item);
|
||||
s32 func0f179da4(u32 operation, struct menuitem *item, union handlerdata *data, s32 arg3, s32 arg4, s32 arg5);
|
||||
s32 func0f179da4(u32 operation, struct menuitem *item, union handlerdata *data, s32 mpheadnum, s32 mpbodynum, s32 arg5);
|
||||
s32 menudialog0017a174(u32 operation, struct menudialog *dialog, union handlerdata *data);
|
||||
s32 menuhandler0017a20c(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
u32 mpMenuTextKills(void);
|
||||
@@ -31,7 +31,7 @@ char *mpMenuTextDamageDealt(struct menuitem *item);
|
||||
s32 menuhandlerMpMedal(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *mpMenuTitleStatsForPlayerName(struct menudialog *dialog);
|
||||
u32 mpMenuTextUsernamePassword(void);
|
||||
s32 func0f17b4f8(u32 operation, struct menuitem *item, union handlerdata *data, s32 arg3, s32 arg4);
|
||||
s32 func0f17b4f8(u32 operation, struct menuitem *item, union handlerdata *data, s32 mpheadnum, bool arg4);
|
||||
char *mpMenuTextBodyName(struct menuitem *item);
|
||||
void func0f17b8f0(void);
|
||||
s32 menuhandler0017b91c(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
|
||||
+2
-2
@@ -4397,8 +4397,8 @@ struct mpchr {
|
||||
/*0x0c*/ u8 unk0c;
|
||||
/*0x0d*/ u8 unk0d;
|
||||
/*0x0e*/ u8 unk0e;
|
||||
/*0x0f*/ u8 headnum;
|
||||
/*0x10*/ u8 bodynum;
|
||||
/*0x0f*/ u8 mpheadnum;
|
||||
/*0x10*/ u8 mpbodynum;
|
||||
/*0x11*/ u8 team;
|
||||
/*0x14*/ u32 displayoptions;
|
||||
/*0x18*/ u16 unk18;
|
||||
|
||||
Reference in New Issue
Block a user