openttd.h

Go to the documentation of this file.
00001 /* $Id: openttd.h 13370 2008-06-03 08:06:58Z rubidium $ */
00002 
00005 #ifndef OPENTTD_H
00006 #define OPENTTD_H
00007 
00008 enum GameModes {
00009   GM_MENU,
00010   GM_NORMAL,
00011   GM_EDITOR
00012 };
00013 
00014 enum SwitchModes {
00015   SM_NONE            =  0,
00016   SM_NEWGAME         =  1,
00017   SM_EDITOR          =  2,
00018   SM_LOAD            =  3,
00019   SM_MENU            =  4,
00020   SM_SAVE            =  5,
00021   SM_GENRANDLAND     =  6,
00022   SM_LOAD_SCENARIO   =  9,
00023   SM_START_SCENARIO  = 10,
00024   SM_START_HEIGHTMAP = 11,
00025   SM_LOAD_HEIGHTMAP  = 12,
00026 };
00027 
00028 /* Display Options */
00029 enum {
00030   DO_SHOW_TOWN_NAMES    = 0,
00031   DO_SHOW_STATION_NAMES = 1,
00032   DO_SHOW_SIGNS         = 2,
00033   DO_FULL_ANIMATION     = 3,
00034   DO_FULL_DETAIL        = 5,
00035   DO_WAYPOINTS          = 6,
00036 };
00037 
00038 extern byte _game_mode;
00039 extern bool _exit_game;
00040 extern int8 _pause_game;
00041 
00042 #endif /* OPENTTD_H */

Generated on Mon Feb 16 23:12:09 2009 for openttd by  doxygen 1.5.6