diff options
author | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
commit | 249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch) | |
tree | 42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /ttd.c | |
parent | 200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff) | |
download | openttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz |
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -288,10 +288,6 @@ void LoadDriver(int driver, const char *name) *var = drv; } -void PrintDriverList() -{ -} - static void showhelp() { char buf[4096], *p; @@ -640,7 +636,7 @@ static void ShowScreenshotResult(bool b) } -void LoadIntroGame() +static void LoadIntroGame() { char filename[256]; _game_mode = GM_MENU; @@ -696,7 +692,7 @@ void MakeNewGame() MarkWholeScreenDirty(); } -void MakeNewEditorWorld() +static void MakeNewEditorWorld() { _game_mode = GM_EDITOR; @@ -768,7 +764,7 @@ void StartScenario() MarkWholeScreenDirty(); } -bool SafeSaveOrLoad(const char *filename, int mode, int newgm) +static bool SafeSaveOrLoad(const char *filename, int mode, int newgm) { byte ogm = _game_mode; int r; @@ -879,7 +875,7 @@ normal_load: // The state must not be changed from anywhere // but here. // That check is enforced in DoCommand. -void StateGameLoop() +static void StateGameLoop() { // dont execute the state loop during pause if (_pause) return; |