From 4c682813e70892d8dd355f148d862c3891358db8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 12 Feb 2020 01:00:47 +0100 Subject: [PATCH] - more unused data removed --- source/blood/src/blood.cpp | 1 - source/blood/src/globals.cpp | 4 ---- source/blood/src/globals.h | 1 - source/blood/src/loadsave.cpp | 9 --------- source/blood/src/loadsave.h | 2 -- 5 files changed, 17 deletions(-) diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index c46ff6734..56016d61f 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -1118,7 +1118,6 @@ int GameInterface::app_main() initprintf("Initializing network users\n"); netInitialize(true); scrSetGameMode(0, 0, 0, 0); - scrSetGamma(gGamma); hud_size.Callback(); initprintf("Initializing sound system\n"); sndInit(); diff --git a/source/blood/src/globals.cpp b/source/blood/src/globals.cpp index bbfd71188..d679d4734 100644 --- a/source/blood/src/globals.cpp +++ b/source/blood/src/globals.cpp @@ -39,10 +39,6 @@ ClockTicks gFrameTicks; int gFrame; //int volatile gGameClock; int gFrameRate; -int gGamma; - -char *gVersionString; -char gVersionStringBuf[16]; Resource& gSysRes = fileSystem; diff --git a/source/blood/src/globals.h b/source/blood/src/globals.h index e8349a456..5cc10c33e 100644 --- a/source/blood/src/globals.h +++ b/source/blood/src/globals.h @@ -33,7 +33,6 @@ extern ClockTicks gFrameTicks; extern int gFrame; //extern ClockTicks gGameClock; extern int gFrameRate; -extern int gGamma; extern bool bVanilla; extern Resource &gSysRes; diff --git a/source/blood/src/loadsave.cpp b/source/blood/src/loadsave.cpp index 5b3956321..4eab36e6e 100644 --- a/source/blood/src/loadsave.cpp +++ b/source/blood/src/loadsave.cpp @@ -453,26 +453,17 @@ void UnindexAIState(AISTATE*& state) } -char *gSaveGamePic[10]; -unsigned int gSavedOffset = 0; unsigned int dword_27AA38 = 0; unsigned int dword_27AA3C = 0; unsigned int dword_27AA40 = 0; -void *dword_27AA44 = NULL; FileWriter *LoadSave::hSFile = NULL; FileReader LoadSave::hLFile; TDeletingArray LoadSave::loadSaves; -short word_27AA54 = 0; - void sub_76FD4(void) { -#if 0 - if (!dword_27AA44) - dword_27AA44 = Resource::Alloc(0x186a0); -#endif } void LoadSave::Save(void) diff --git a/source/blood/src/loadsave.h b/source/blood/src/loadsave.h index a0d3e610d..5c51777ac 100644 --- a/source/blood/src/loadsave.h +++ b/source/blood/src/loadsave.h @@ -45,8 +45,6 @@ public: static void SaveGame(FSavegameNode*); }; -extern unsigned int gSavedOffset; -extern char *gSaveGamePic[10]; void UpdateSavedInfo(int nSlot); void LoadSavedInfo(void); void LoadSaveSetup(void);