# openttd.h

Go to the documentation of this file.

    00001 /* $Id: openttd.h 15576 2009-02-25 00:45:52Z yexo $ */
    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_EDITOR,
    00018   SM_LOAD,
    00019   SM_MENU,
    00020   SM_SAVE,
    00021   SM_GENRANDLAND,
    00022   SM_LOAD_SCENARIO,
    00023   SM_START_SCENARIO,
    00024   SM_START_HEIGHTMAP,
    00025   SM_LOAD_HEIGHTMAP,
    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 GameMode _game_mode;
    00039 extern SwitchMode _switch_mode;
    00040 extern bool _exit_game;
    00041 extern int8 _pause_game;
    00042
    00043 #endif /* OPENTTD_H */