From 249a170acef352b40c7fa67fe65bdc62cbae4ff1 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 14 Nov 2004 19:44:06 +0000 Subject: (svn r607) -Patch: [ 985102 ] static cleanup Thanks to lvoge --- ttd.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'ttd.c') diff --git a/ttd.c b/ttd.c index e27b15cb2..a197c560c 100644 --- a/ttd.c +++ b/ttd.c @@ -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; -- cgit v1.2.3-54-g00ecf