mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- redirect Exhumed's shareware exit to the main menu.
This commit is contained in:
parent
ac82838859
commit
7c68261fbf
3 changed files with 1 additions and 25 deletions
|
@ -1006,7 +1006,7 @@ public:
|
|||
// 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;
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -44,8 +44,6 @@ enum basepal_t {
|
|||
BASEPALCOUNT
|
||||
};
|
||||
|
||||
void ExitGame();
|
||||
void ShutDown(void);
|
||||
void DebugOut(const char *fmt, ...);
|
||||
int ExhumedMain(int argc, char *argv[]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue