summaryrefslogtreecommitdiff
path: root/src/goal_type.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2012-01-03 16:36:24 +0000
committertruebrain <truebrain@openttd.org>2012-01-03 16:36:24 +0000
commit34d90da509a27c4abe35c11d7f034b1e386cd968 (patch)
tree552a11c264ee5b26ad849818f50f45bf9927735c /src/goal_type.h
parent18ac3f2bd89aa11fefa64bdada287a72937ab8d5 (diff)
downloadopenttd-34d90da509a27c4abe35c11d7f034b1e386cd968.tar.xz
(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17
Diffstat (limited to 'src/goal_type.h')
-rw-r--r--src/goal_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/goal_type.h b/src/goal_type.h
index 5014b1b21..e9436e620 100644
--- a/src/goal_type.h
+++ b/src/goal_type.h
@@ -12,6 +12,10 @@
#ifndef GOAL_TYPE_H
#define GOAL_TYPE_H
+enum {
+ GOAL_QUESTION_BUTTON_COUNT = 18, ///< Amount of buttons available.
+};
+
/** Types of goal destinations */
enum GoalType {
GT_NONE, ///< Destination is not linked