mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
cleanup: remove more old CDrom cruft from the code
now that the CDromEjectionErrorMessageBoxCallBack is no longer referenced
This commit is contained in:
committed by
majcosta
parent
d9836f806e
commit
1054012acd
@@ -92,14 +92,11 @@ CTH_CONSTANTS gGameCTHConstants; // HEADROCK HAM 4: CTH constants
|
||||
MOD_SETTINGS gModSettings; //DBrot: mod specific settings
|
||||
ITEM_SETTINGS gItemSettings; // silversurfer: item property modifiers
|
||||
|
||||
extern SGPFILENAME gCheckFilenames[];
|
||||
extern CHAR8 gzErrorMsg[256];
|
||||
extern INT16 APBPConstants[TOTAL_APBP_VALUES];
|
||||
|
||||
void InitGameSettings();
|
||||
|
||||
BOOLEAN GetCdromLocationFromIniFile( STR pRootOfCdromDrive );
|
||||
|
||||
// these wrappers have the benefit that changing the location of the variable (gameinitoptionscreen/ini/ingame options) doesn't require huge changes throughout the code
|
||||
// additionally, turning off a feature (for UB, for MP...) can be done here without additional checks in the code
|
||||
bool UsingNewInventorySystem()
|
||||
@@ -4299,22 +4296,6 @@ void FreeGameExternalOptions()
|
||||
{
|
||||
}
|
||||
|
||||
void CDromEjectionErrorMessageBoxCallBack( UINT8 bExitValue )
|
||||
{
|
||||
if( bExitValue == MSG_BOX_RETURN_OK )
|
||||
{
|
||||
SetOptionsPreviousScreen(GAME_SCREEN);
|
||||
|
||||
//if we are in a game, save the game
|
||||
if( gTacticalStatus.fHasAGameBeenStarted )
|
||||
{
|
||||
SaveGame( SAVE__ERROR_NUM, pMessageStrings[ MSG_CDROM_SAVE ] );
|
||||
}
|
||||
|
||||
//quit the game
|
||||
gfProgramIsRunning = FALSE;
|
||||
}
|
||||
}
|
||||
void DisplayGameSettings( )
|
||||
{
|
||||
//Display the version number
|
||||
|
||||
@@ -2806,8 +2806,6 @@ void InitFeatureFlags();
|
||||
BOOLEAN SaveFeatureFlags();
|
||||
BOOLEAN LoadFeatureFlags();
|
||||
|
||||
BOOLEAN GetCDLocation( );
|
||||
|
||||
void DisplayGameSettings( );
|
||||
|
||||
BOOLEAN MeanwhileSceneSeen( UINT8 ubMeanwhile );
|
||||
|
||||
@@ -70,7 +70,6 @@
|
||||
|
||||
extern INT16 APBPConstants[TOTAL_APBP_VALUES] = {0};
|
||||
extern INT16 gubMaxActionPoints[TOTALBODYTYPES];//MAXBODYTYPES = 28... JUST GETTING IT TO WORK NOW. GOTTHARD 7/2/08
|
||||
extern BOOLEAN GetCDromDriveLetter( STR8 pString );
|
||||
|
||||
// The InitializeGame function is responsible for setting up all data and Gaming Engine
|
||||
// tasks which will run the game
|
||||
|
||||
@@ -259,8 +259,6 @@ static VideoFileNames_t s_VFN;
|
||||
INT8 gbIntroScreenMode=-1;
|
||||
|
||||
|
||||
extern void CDromEjectionErrorMessageBoxCallBack( UINT8 bExitValue );
|
||||
|
||||
void GetIntroScreenUserInput();
|
||||
BOOLEAN EnterIntroScreen();
|
||||
void RenderIntroScreen();
|
||||
|
||||
Reference in New Issue
Block a user