openttd.h
Go to the documentation of this file.00001
00002
00005 #ifndef OPENTTD_H
00006 #define OPENTTD_H
00007
00008 enum GameMode {
00009 GM_MENU,
00010 GM_NORMAL,
00011 GM_EDITOR,
00012 };
00013
00014 enum SwitchMode {
00015 SM_NONE,
00016 SM_NEWGAME,
00017 SM_RESTARTGAME,
00018 SM_EDITOR,
00019 SM_LOAD,
00020 SM_MENU,
00021 SM_SAVE,
00022 SM_GENRANDLAND,
00023 SM_LOAD_SCENARIO,
00024 SM_START_SCENARIO,
00025 SM_START_HEIGHTMAP,
00026 SM_LOAD_HEIGHTMAP,
00027 };
00028
00029
00030 enum {
00031 DO_SHOW_TOWN_NAMES = 0,
00032 DO_SHOW_STATION_NAMES = 1,
00033 DO_SHOW_SIGNS = 2,
00034 DO_FULL_ANIMATION = 3,
00035 DO_FULL_DETAIL = 5,
00036 DO_WAYPOINTS = 6,
00037 };
00038
00039 extern GameMode _game_mode;
00040 extern SwitchMode _switch_mode;
00041 extern bool _exit_game;
00042 extern int8 _pause_game;
00043
00044 #endif