diff --git a/source/games/exhumed/src/2d.cpp b/source/games/exhumed/src/2d.cpp index 72e5259d904..5e0fefce057 100644 --- a/source/games/exhumed/src/2d.cpp +++ b/source/games/exhumed/src/2d.cpp @@ -1006,7 +1006,7 @@ class DCinema : public DScreenJob // quit the game if we've finished level 4 and displayed the advert text if (isShareware() && currentCinemaPalette == 3 && ret != 1) { - ExitGame(); + gameaction = ga_mainmenu; } return ret; } diff --git a/source/games/exhumed/src/exhumed.cpp b/source/games/exhumed/src/exhumed.cpp index c5800138573..462c2923f83 100644 --- a/source/games/exhumed/src/exhumed.cpp +++ b/source/games/exhumed/src/exhumed.cpp @@ -85,14 +85,6 @@ void InstallEngine() LoadPaletteLookups(); } -void RemoveEngine() -{ - engineUnInit(); -} - - - - void CopyTileToBitmap(short nSrcTile, short nDestTile, int xPos, int yPos); // void TestSaveLoad(); @@ -183,14 +175,6 @@ void DebugOut(const char *fmt, ...) #endif } -void ShutDown(void) -{ - StopCD(); - - RemoveEngine(); - //UnInitFX(); -} - void DoClockBeep() { int i; @@ -482,12 +466,6 @@ void LevelFinished() EndLevel = 13; } -void ExitGame() -{ - ShutDown(); - throw CExitEvent(0); -} - #define x(a, b) registerName(#a, b); static void SetTileNames() { diff --git a/source/games/exhumed/src/exhumed.h b/source/games/exhumed/src/exhumed.h index 93fc394a1a9..cb4ae411803 100644 --- a/source/games/exhumed/src/exhumed.h +++ b/source/games/exhumed/src/exhumed.h @@ -44,8 +44,6 @@ enum basepal_t { BASEPALCOUNT }; -void ExitGame(); -void ShutDown(void); void DebugOut(const char *fmt, ...); int ExhumedMain(int argc, char *argv[]);