summaryrefslogtreecommitdiff
path: root/src/goal_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-21 12:03:55 +0000
committerrubidium <rubidium@openttd.org>2012-01-21 12:03:55 +0000
commit9f162e7115031cb42f80db399d63774f479c4125 (patch)
tree42ece87142f91c22e55202c1bb4dcdd986554e56 /src/goal_type.h
parent70c7fbd90eb0ace75d759725ba4d0085283f152c (diff)
downloadopenttd-9f162e7115031cb42f80db399d63774f479c4125.tar.xz
(svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question window's title from a (small) set of options
Diffstat (limited to 'src/goal_type.h')
-rw-r--r--src/goal_type.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/goal_type.h b/src/goal_type.h
index 223cf2c79..75b4c13f6 100644
--- a/src/goal_type.h
+++ b/src/goal_type.h
@@ -14,9 +14,8 @@
#include "core/enum_type.hpp"
-enum {
- GOAL_QUESTION_BUTTON_COUNT = 18, ///< Amount of buttons available.
-};
+static const uint32 GOAL_QUESTION_BUTTON_COUNT = 18; ///< Amount of buttons available.
+static const byte GOAL_QUESTION_TYPE_COUNT = 4; ///< Amount of question types.
/** Types of goal destinations */
enum GoalType {