summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-10 08:31:14 +0000
committerrubidium <rubidium@openttd.org>2011-12-10 08:31:14 +0000
commitb231e80125d7349a07ce2822dd1759dfc6d3c001 (patch)
tree21855701d67587ae3071d50b380614771a68c6fa /src/openttd.h
parent1db365d0e2027ca1b2e59efcd2935be1a7afe2e4 (diff)
downloadopenttd-b231e80125d7349a07ce2822dd1759dfc6d3c001.tar.xz
(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.h b/src/openttd.h
index 7fcd1ceaa..a4c94995e 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -77,4 +77,6 @@ void AskExitToGameMenu();
int ttd_main(int argc, char *argv[]);
void HandleExitGameRequest();
+void SwitchToMode(SwitchMode new_mode);
+
#endif /* OPENTTD_H */