mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Remove unused function declarations and commented out functions
This commit is contained in:
@@ -214,7 +214,6 @@ BOOLEAN gfDisplaySaveGamesNowInvalidatedMsg = FALSE;
|
|||||||
BOOLEAN gfUseConsecutiveQuickSaveSlots = FALSE;
|
BOOLEAN gfUseConsecutiveQuickSaveSlots = FALSE;
|
||||||
UINT32 guiCurrentQuickSaveNumber = 0;
|
UINT32 guiCurrentQuickSaveNumber = 0;
|
||||||
UINT32 guiLastSaveGameNum = 1;
|
UINT32 guiLastSaveGameNum = 1;
|
||||||
BOOLEAN DoesAutoSaveFileExist( BOOLEAN fLatestAutoSave );
|
|
||||||
|
|
||||||
UINT32 guiJA2EncryptionSet = 0;
|
UINT32 guiJA2EncryptionSet = 0;
|
||||||
UINT32 CalcJA2EncryptionSet( SAVED_GAME_HEADER * pSaveGameHeader );
|
UINT32 CalcJA2EncryptionSet( SAVED_GAME_HEADER * pSaveGameHeader );
|
||||||
@@ -532,10 +531,6 @@ BOOLEAN LoadSavedMercProfiles( HWFILE hwFile );
|
|||||||
BOOLEAN SaveSoldierStructure( HWFILE hFile );
|
BOOLEAN SaveSoldierStructure( HWFILE hFile );
|
||||||
BOOLEAN LoadSoldierStructure( HWFILE hFile );
|
BOOLEAN LoadSoldierStructure( HWFILE hFile );
|
||||||
|
|
||||||
// CHRISL: New functions to save and load LBENODE data
|
|
||||||
BOOLEAN SaveLBENODEToSaveGameFile( HWFILE hFile );
|
|
||||||
BOOLEAN LoadLBENODEFromSaveGameFile( HWFILE hFile );
|
|
||||||
|
|
||||||
//BOOLEAN SavePtrInfo( PTR *pData, UINT32 uiSizeOfObject, HWFILE hFile );
|
//BOOLEAN SavePtrInfo( PTR *pData, UINT32 uiSizeOfObject, HWFILE hFile );
|
||||||
//BOOLEAN LoadPtrInfo( PTR *pData, UINT32 uiSizeOfObject, HWFILE hFile );
|
//BOOLEAN LoadPtrInfo( PTR *pData, UINT32 uiSizeOfObject, HWFILE hFile );
|
||||||
|
|
||||||
@@ -623,28 +618,7 @@ void ValidateStrategicGroups();
|
|||||||
//if all that sounds compilcated, it is
|
//if all that sounds compilcated, it is
|
||||||
|
|
||||||
extern int gLastLBEUniqueID;
|
extern int gLastLBEUniqueID;
|
||||||
/*
|
|
||||||
// CHRISL: New function to save/load LBENODE data
|
|
||||||
BOOLEAN SaveLBENODEToSaveGameFile( HWFILE hFile )
|
|
||||||
{
|
|
||||||
UINT32 uiNumBytesWritten;
|
|
||||||
if ( !FileWrite( hFile, &gLastLBEUniqueID, sizeof(int), &uiNumBytesWritten ) )
|
|
||||||
{
|
|
||||||
return(FALSE);
|
|
||||||
}
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOLEAN LoadLBENODEFromSaveGameFile( HWFILE hFile )
|
|
||||||
{
|
|
||||||
UINT32 uiNumBytesRead;
|
|
||||||
if ( !FileRead( hFile, &gLastLBEUniqueID, sizeof(int), &uiNumBytesRead ) )
|
|
||||||
{
|
|
||||||
return(FALSE);
|
|
||||||
}
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
BOOLEAN LBENODE::Load( HWFILE hFile )
|
BOOLEAN LBENODE::Load( HWFILE hFile )
|
||||||
{
|
{
|
||||||
UINT32 uiNumBytesRead;
|
UINT32 uiNumBytesRead;
|
||||||
|
|||||||
Reference in New Issue
Block a user