diff options
author | yexo <yexo@openttd.org> | 2009-02-25 00:14:46 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-25 00:14:46 +0000 |
commit | 901230bde1b0752d97d63aabaa0fd38c9ea183e7 (patch) | |
tree | 82b010bb9aac9f8bd447c528656ec56260040abb /src/openttd.h | |
parent | d86ae1fde6819ff07395835000d510401002d279 (diff) | |
download | openttd-901230bde1b0752d97d63aabaa0fd38c9ea183e7.tar.xz |
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openttd.h b/src/openttd.h index 44a39893d..b769de963 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -5,10 +5,10 @@ #ifndef OPENTTD_H #define OPENTTD_H -enum GameModes { +enum GameMode { GM_MENU, GM_NORMAL, - GM_EDITOR + GM_EDITOR, }; enum SwitchModes { @@ -35,7 +35,7 @@ enum { DO_WAYPOINTS = 6, }; -extern byte _game_mode; +extern GameMode _game_mode; extern bool _exit_game; extern int8 _pause_game; |