summaryrefslogtreecommitdiff
path: root/src/gamelog.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-03-30 00:21:43 +0000
committerglx <glx@openttd.org>2009-03-30 00:21:43 +0000
commit75c99d8b9b7db2cc723e2bfb98ed8a81cc5e3f6f (patch)
treebe24c7a2e88a166f13ab937e7e836aa9f27254c7 /src/gamelog.h
parent8293be426cc8e4c6b228f906d00838d02f6edd0a (diff)
downloadopenttd-75c99d8b9b7db2cc723e2bfb98ed8a81cc5e3f6f.tar.xz
(svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash
Diffstat (limited to 'src/gamelog.h')
-rw-r--r--src/gamelog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gamelog.h b/src/gamelog.h
index 75a5f7f64..419ec9d92 100644
--- a/src/gamelog.h
+++ b/src/gamelog.h
@@ -14,6 +14,7 @@ enum GamelogActionType {
GLAT_CHEAT, ///< Cheat was used
GLAT_SETTING, ///< Setting changed
GLAT_GRFBUG, ///< GRF bug was triggered
+ GLAT_EMERGENCY, ///< Emergency savegame
GLAT_END, ///< So we know how many GLATs are there
GLAT_NONE = 0xFF, ///< No logging active; in savegames, end of list
};
@@ -29,6 +30,9 @@ void GamelogPrint(GamelogPrintProc *proc); // needed for WIN32 / WINCE crash.log
void GamelogPrintDebug(int level);
void GamelogPrintConsole();
+void GamelogEmergency();
+bool GamelogTestEmergency();
+
void GamelogRevision();
void GamelogMode();
void GamelogOldver();