mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-10 18:56:53 -04:00
Remove training and single player menus
This commit is contained in:
@@ -504,26 +504,6 @@ extern u8 g_BotCount;
|
||||
extern struct aibotweaponpreference g_AibotWeaponPreferences[];
|
||||
extern u32 var80087eb4;
|
||||
extern struct challenge g_MpChallenges[NUM_CHALLENGES];
|
||||
extern u8 g_FrIsValidWeapon;
|
||||
extern s32 g_FrWeaponNum;
|
||||
extern u8 g_ChrBioSlot;
|
||||
extern u8 g_HangarBioSlot;
|
||||
extern u8 g_DtSlot;
|
||||
extern u8 var80088bb4;
|
||||
extern struct menudialogdef g_FrWeaponListMenuDialog;
|
||||
extern struct menudialogdef g_FrTrainingInfoInGameMenuDialog;
|
||||
extern struct menudialogdef g_FrTrainingInfoPreGameMenuDialog;
|
||||
extern struct menudialogdef g_FrCompletedMenuDialog;
|
||||
extern struct menudialogdef g_FrFailedMenuDialog;
|
||||
extern struct menudialogdef g_BioListMenuDialog;
|
||||
extern struct menudialogdef g_DtListMenuDialog;
|
||||
extern struct menudialogdef g_DtDetailsMenuDialog;
|
||||
extern struct menudialogdef g_DtFailedMenuDialog;
|
||||
extern struct menudialogdef g_DtCompletedMenuDialog;
|
||||
extern struct menudialogdef g_HtListMenuDialog;
|
||||
extern struct menudialogdef g_HtDetailsMenuDialog;
|
||||
extern struct menudialogdef g_HtFailedMenuDialog;
|
||||
extern struct menudialogdef g_HtCompletedMenuDialog;
|
||||
extern struct menudialogdef g_HangarListMenuDialog;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
#ifndef IN_GAME_ENDSCREEN_H
|
||||
#define IN_GAME_ENDSCREEN_H
|
||||
#include <ultra64.h>
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
s32 endscreenHandleRetryMission(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 endscreenHandle2PCompleted(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 endscreenHandle2PFailed(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 endscreenHandleDeclineMission(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 endscreenHandleCheatInfo(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 endscreenHandleContinueMission(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 endscreenHandleReplayLastLevel(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 endscreenHandleReplayPreviousMission(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *endscreenMenuTitleRetryMission(struct menudialogdef *dialogdef);
|
||||
char *endscreenMenuTitleNextMission(struct menudialogdef *dialogdef);
|
||||
char *endscreenMenuTextNumKills(struct menuitem *item);
|
||||
char *endscreenMenuTextNumShots(struct menuitem *item);
|
||||
char *endscreenMenuTextNumHeadShots(struct menuitem *item);
|
||||
char *endscreenMenuTextNumBodyShots(struct menuitem *item);
|
||||
char *endscreenMenuTextNumLimbShots(struct menuitem *item);
|
||||
char *endscreenMenuTextNumOtherShots(struct menuitem *item);
|
||||
char *endscreenMenuTextAccuracy(struct menuitem *item);
|
||||
char *endscreenMenuTextMissionStatus(struct menuitem *item);
|
||||
char *endscreenMenuTextAgentStatus(struct menuitem *item);
|
||||
char *endscreenMenuTitleStageCompleted(struct menuitem *item);
|
||||
char *endscreenMenuTextCurrentStageName3(struct menuitem *item);
|
||||
char *endscreenMenuTitleStageFailed(struct menuitem *item);
|
||||
char *endscreenMenuTextMissionTime(struct menuitem *item);
|
||||
struct menudialogdef *endscreenAdvance(void);
|
||||
void endscreen0f10d770(void);
|
||||
void endscreenContinue(s32 context);
|
||||
char *endscreenMenuTextTimedCheatName(struct menuitem *item);
|
||||
char *endscreenMenuTextCompletionCheatName(struct menuitem *item);
|
||||
char *endscreenMenuTextTargetTime(struct menuitem *item);
|
||||
void endscreenSetCoopCompleted(void);
|
||||
void endscreenPrepare(void);
|
||||
void endscreenPushCoop(void);
|
||||
void endscreenPushSolo(void);
|
||||
void endscreenPushAnti(void);
|
||||
|
||||
#endif
|
||||
@@ -11,15 +11,7 @@ extern struct menudialogdef g_PreAndPostMissionBriefingMenuDialog;
|
||||
extern struct menudialogdef g_RetryMissionMenuDialog;
|
||||
extern struct menudialogdef g_NextMissionMenuDialog;
|
||||
|
||||
char *menuTextCurrentStageName(struct menuitem *item);
|
||||
char *soloMenuTextDifficulty(struct menuitem *item);
|
||||
s32 menuhandlerControlStyleImpl(s32 operation, struct menuitem *item, union handlerdata *data, s32 mpindex);
|
||||
char *soloMenuTitleStageOverview(struct menudialogdef *dialogdef);
|
||||
f32 func0f1036ac(u8 value, s32 prop);
|
||||
bool isStageDifficultyUnlocked(s32 stageindex, s32 difficulty);
|
||||
char *soloMenuTextBestTime(struct menuitem *item);
|
||||
s32 getMaxAiBuddies(void);
|
||||
s32 getNumUnlockedSpecialStages(void);
|
||||
s32 func0f104720(s32 value);
|
||||
char *func0f105664(struct menuitem *item);
|
||||
char *func0f1056a0(struct menuitem *item);
|
||||
|
||||
@@ -1,137 +0,0 @@
|
||||
#ifndef IN_GAME_TRAINING_TRAINING_H
|
||||
#define IN_GAME_TRAINING_TRAINING_H
|
||||
#include <ultra64.h>
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
extern u8 g_FrIsValidWeapon;
|
||||
extern s32 g_FrWeaponNum;
|
||||
extern u8 g_ChrBioSlot;
|
||||
extern u8 var80088bb4;
|
||||
extern u8 g_HangarBioSlot;
|
||||
extern u8 g_DtSlot;
|
||||
|
||||
bool ciIsTourDone(void);
|
||||
u8 ciGetFiringRangeScore(s32 weaponindex);
|
||||
void frSaveScoreIfBest(s32 weaponindex, s32 difficulty);
|
||||
u8 frIsWeaponFound(s32 weapon);
|
||||
void frSetWeaponFound(s32 weaponnum);
|
||||
s32 ciIsStageComplete(s32 stageindex);
|
||||
bool func0f19cbcc(s32 weapon);
|
||||
bool frIsWeaponAvailable(s32 weapon);
|
||||
u32 frGetWeaponIndexByWeapon(u32 weaponnum);
|
||||
u32 frGetWeaponScriptIndex(u32 weaponnum);
|
||||
s32 frIsClassicWeaponUnlocked(u32 weapon);
|
||||
s32 frGetSlot(void);
|
||||
void frSetSlot(s32 slot);
|
||||
u32 frGetWeaponBySlot(s32 slot);
|
||||
s32 frGetNumWeaponsAvailable(void);
|
||||
void frInitLighting(void);
|
||||
void frRestoreLighting(void);
|
||||
void frReset(void);
|
||||
void *frLoadRomData(u32 len);
|
||||
void frSetDifficulty(s32 difficulty);
|
||||
u32 frGetDifficulty(void);
|
||||
void frInitDefaults(void);
|
||||
struct frdata *frGetData(void);
|
||||
u32 frResolveFrPad(u32 arg0);
|
||||
bool frIsDifficulty(u32 difficulties);
|
||||
void frExecuteWeaponScript(s32 scriptindex);
|
||||
void frSetTargetProps(void);
|
||||
bool frTargetIsAtScriptStart(s32 targetnum);
|
||||
char *frGetInstructionalText(u32 index);
|
||||
void frExecuteHelpScript(void);
|
||||
bool frExecuteTargetScript(s32 targetnum);
|
||||
void frHideAllTargets(void);
|
||||
void frInitTargets(void);
|
||||
void frCloseAndLockDoor(void);
|
||||
void frUnlockDoor(void);
|
||||
void frLoadData(void);
|
||||
u32 frInitAmmo(s32 weapon);
|
||||
void frBeginSession(s32 weapon);
|
||||
char *frGetWeaponDescription(void);
|
||||
void frEndSession(bool hidetargets);
|
||||
bool frWasTooInaccurate(void);
|
||||
void frSetFailReason(s32 failreason);
|
||||
void frSetCompleted(void);
|
||||
bool frIsTargetOneHitExplodable(struct prop *prop);
|
||||
f32 frGetTargetAngleToPos(struct coord *a, f32 angle, struct coord *b);
|
||||
bool frIsTargetFacingPos(struct prop *prop, struct coord *pos);
|
||||
struct prop *frChooseAutogunTarget(struct coord *autogunpos);
|
||||
bool frIsAmmoWasted(void);
|
||||
void frTick(void);
|
||||
void func0f1a0924(struct prop *prop);
|
||||
bool frChooseFarsightTarget(void);
|
||||
s32 frIsInTraining(void);
|
||||
void frCalculateHit(struct defaultobj *obj, struct coord *hitpos, f32 maulercharge);
|
||||
void frIncrementNumShots(void);
|
||||
bool ciIsChrBioUnlocked(u32 bodynum);
|
||||
struct chrbio *ciGetChrBioByBodynum(u32 bodynum);
|
||||
char *ciGetChrBioDescription(void);
|
||||
s32 ciGetNumUnlockedChrBios(void);
|
||||
s32 ciGetChrBioBodynumBySlot(s32 slot);
|
||||
struct miscbio *ciGetMiscBio(s32 index);
|
||||
bool ciIsMiscBioUnlocked(s32 index);
|
||||
s32 ciGetNumUnlockedMiscBios(void);
|
||||
s32 ciGetMiscBioIndexBySlot(s32 slot);
|
||||
char *ciGetMiscBioDescription(void);
|
||||
bool ciIsHangarBioAVehicle(s32 index);
|
||||
struct hangarbio *ciGetHangarBio(s32 index);
|
||||
bool ciIsHangarBioUnlocked(u32 bioindex);
|
||||
s32 ciGetNumUnlockedLocationBios(void);
|
||||
s32 ciGetNumUnlockedHangarBios(void);
|
||||
s32 ciGetHangarBioIndexBySlot(s32 slot);
|
||||
char *ciGetHangarBioDescription(void);
|
||||
struct trainingdata *dtGetData(void);
|
||||
void dtRestorePlayer(void);
|
||||
void dtPushEndscreen(void);
|
||||
void dtTick(void);
|
||||
void func0f1a1ac0(void);
|
||||
void dtBegin(void);
|
||||
void dtEnd(void);
|
||||
bool dtIsAvailable(s32 deviceindex);
|
||||
s32 dtGetNumAvailable(void);
|
||||
s32 dtGetIndexBySlot(s32 wantindex);
|
||||
u32 dtGetWeaponByDeviceIndex(s32 deviceindex);
|
||||
u32 ciGetStageFlagByDeviceIndex(u32 deviceindex);
|
||||
char *dtGetDescription(void);
|
||||
char *dtGetTip1(void);
|
||||
char *dtGetTip2(void);
|
||||
struct trainingdata *getHoloTrainingData(void);
|
||||
void htPushEndscreen(void);
|
||||
void htTick(void);
|
||||
void func0f1a2198(void);
|
||||
void htBegin(void);
|
||||
void htEnd(void);
|
||||
bool htIsUnlocked(u32 value);
|
||||
s32 htGetNumUnlocked(void);
|
||||
s32 htGetIndexBySlot(s32 slot);
|
||||
char *htGetName(s32 index);
|
||||
u32 func0f1a25c0(s32 index);
|
||||
char *htGetDescription(void);
|
||||
char *htGetTip1(void);
|
||||
char *htGetTip2(void);
|
||||
|
||||
#if VERSION >= VERSION_JPN_FINAL
|
||||
void frGetGoalTargetsText(char *buffer1, char *buffer2);
|
||||
void frGetGoalScoreText(char *buffer1, char *buffer2);
|
||||
bool frGetMinAccuracy(char *buffer1, f32 accuracy, char *buffer2);
|
||||
bool frGetHudMiddleSubtext(char *buffer1, char *buffer2);
|
||||
bool frGetFeedback(char *score, char *zone, char *extrabuffer);
|
||||
Gfx *frRenderHudElement(Gfx *gdl, s32 x, s32 y, char *string1, char *string2, char *string3, u32 colour, u8 alpha);
|
||||
#else
|
||||
void frGetGoalTargetsText(char *buffer);
|
||||
void frGetGoalScoreText(char *buffer);
|
||||
bool frGetMinAccuracy(char *buffer, f32 accuracy);
|
||||
bool frGetHudMiddleSubtext(char *buffer);
|
||||
bool frGetFeedback(char *score, char *zone);
|
||||
Gfx *frRenderHudElement(Gfx *gdl, s32 x, s32 y, char *string1, char *string2, u32 colour, u8 alpha);
|
||||
#endif
|
||||
|
||||
void frGetTargetsDestroyedValue(char *buffer);
|
||||
void frGetScoreValue(char *buffer);
|
||||
f32 frGetAccuracy(char *buffer);
|
||||
bool frFormatTime(char *buffer);
|
||||
Gfx *frRenderHud(Gfx *gdl);
|
||||
|
||||
#endif
|
||||
@@ -1,61 +0,0 @@
|
||||
#ifndef IN_GAME_TRAINING_MENUS_H
|
||||
#define IN_GAME_TRAINING_MENUS_H
|
||||
#include <ultra64.h>
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
char *frMenuTextFailReason(struct menuitem *item);
|
||||
char *frMenuTextDifficultyName(struct menuitem *item);
|
||||
char *frMenuTextTimeTakenValue(struct menuitem *item);
|
||||
char *frMenuTextScoreValue(struct menuitem *item);
|
||||
char *frMenuTextWeaponName(struct menuitem *item);
|
||||
char *frMenuTextTargetsDestroyedValue(struct menuitem *item);
|
||||
char *frMenuTextAccuracyValue(struct menuitem *item);
|
||||
char *frMenuTextGoalScoreLabel(struct menuitem *item);
|
||||
char *frMenuTextGoalScoreValue(struct menuitem *item);
|
||||
char *frMenuTextMinAccuracyOrTargetsLabel(struct menuitem *item);
|
||||
char *frMenuTextMinAccuracyOrTargetsValue(struct menuitem *item);
|
||||
char *frMenuTextTimeLimitLabel(struct menuitem *item);
|
||||
char *frMenuTextTimeLimitValue(struct menuitem *item);
|
||||
char *frMenuTextAmmoLimitLabel(struct menuitem *item);
|
||||
char *frMenuTextAmmoLimitValue(struct menuitem *item);
|
||||
char *ciMenuTextChrBioName(struct menuitem *item);
|
||||
char *ciMenuTextChrBioAge(struct menuitem *item);
|
||||
char *ciMenuTextChrBioRace(struct menuitem *item);
|
||||
char *ciMenuTextMiscBioName(struct menuitem *item);
|
||||
char *dtMenuTextName(struct menuitem *item);
|
||||
char *dtMenuTextOkOrResume(struct menuitem *item);
|
||||
char *dtMenuTextCancelOrAbort(struct menuitem *item);
|
||||
char *dtMenuTextTimeTakenValue(struct menuitem *item);
|
||||
char *htMenuTextName(struct menuitem *item);
|
||||
char *htMenuTextOkOrResume(struct menuitem *item);
|
||||
char *htMenuTextCancelOrAbort(struct menuitem *item);
|
||||
char *htMenuTextTimeTakenValue(struct menuitem *item);
|
||||
char *bioMenuTextName(struct menuitem *item);
|
||||
char *ciMenuTextHangarBioSubheading(struct menuitem *item);
|
||||
struct menudialogdef *ciGetFrWeaponListMenuDialog(void);
|
||||
s32 frTrainingInfoMenuDialog(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 frTrainingStatsMenuDialog(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 ciCharacterProfileMenuDialog(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 dtTrainingDetailsMenuDialog(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 menudialogDeviceTrainingResults(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 menudialog001a6aa4(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 menudialogFiringRangeResults(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 ciHangarHolographMenuDialog(s32 operation, struct menudialogdef *dialogdef, union handlerdata *data);
|
||||
s32 frDetailsOkMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 frAbortMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 frWeaponListMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 frScoringMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 menuhandlerFrFailedContinue(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 ciOfficeInformationMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 dtDeviceListMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 menuhandlerDtOkOrResume(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 menuhandler001a6514(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 htHoloListMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 menuhandler001a6a34(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 menuhandler001a6a70(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 ciHangarInformationMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 ciHangarTitleMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 frDifficultyMenuHandler(s32 operation, struct menuitem *item, union handlerdata *data);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user