summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-22 06:31:31 +0000
committertron <tron@openttd.org>2005-07-22 06:31:31 +0000
commit18d79cc30f1a4946abce0cf31f8a0469f1bdadfa (patch)
treec12ae1154818de8868de0ec406477d6e01f7cd10 /functions.h
parentad976733990683865268ee3fac09015a512748f4 (diff)
downloadopenttd-18d79cc30f1a4946abce0cf31f8a0469f1bdadfa.tar.xz
(svn r2672) Move saving/loading related declarations to saveload.h
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/functions.h b/functions.h
index ea755ab76..ae5e9b27b 100644
--- a/functions.h
+++ b/functions.h
@@ -236,20 +236,6 @@ void ShowHighscoreTable(int difficulty, int8 rank);
void ShowEndGameChart(void);
TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng);
-enum SaveOrLoadResult {
- SL_OK = 0, // completed successfully
- SL_ERROR = 1, // error that was caught before internal structures were modified
- SL_REINIT = 2, // error that was caught in the middle of updating game state, need to clear it. (can only happen during load)
-};
-enum SaveOrLoadMode {
- SL_INVALID = -1,
- SL_LOAD = 0,
- SL_SAVE = 1,
- SL_OLD_LOAD = 2,
-};
-
-int SaveOrLoad(const char *filename, int mode);
-
void AfterLoadTown(void);
void GenRandomNewGame(uint32 rnd1, uint32 rnd2);
void StartScenarioEditor(uint32 rnd1, uint32 rnd2);