summaryrefslogtreecommitdiff
path: root/src/town_type.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-04 14:53:06 +0000
committersmatz <smatz@openttd.org>2008-04-04 14:53:06 +0000
commit42ed287506467b8e3f58e7b909297dec5834c0e1 (patch)
tree7826a04a28fe6e243d63953f6fb6472697bea025 /src/town_type.h
parent2675db8d70fa010ee04fbca2937e7fc9ec19e945 (diff)
downloadopenttd-42ed287506467b8e3f58e7b909297dec5834c0e1.tar.xz
(svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style
Diffstat (limited to 'src/town_type.h')
-rw-r--r--src/town_type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/town_type.h b/src/town_type.h
index c800a5154..f1ffeea53 100644
--- a/src/town_type.h
+++ b/src/town_type.h
@@ -35,12 +35,19 @@ enum {
RATING_MAXIMUM = RATING_OUTSTANDING,
+ RATING_INITIAL = 500, ///< initial rating
+
/* RATINGS AFFECTING NUMBERS */
RATING_TREE_DOWN_STEP = -35,
RATING_TREE_MINIMUM = RATING_MINIMUM,
RATING_TREE_UP_STEP = 7,
RATING_TREE_MAXIMUM = 220,
+ RATING_GROWTH_UP_STEP = 5, ///< when a town grows, all players have rating increased a bit ...
+ RATING_GROWTH_MAXIMUM = RATING_MEDIOCRE, ///< ... up to RATING_MEDIOCRE
+ RATING_STATION_UP_STEP = 12, ///< when a town grows, player gains reputation for all well serviced stations ...
+ RATING_STATION_DOWN_STEP = -15, ///< ... but loses for bad serviced stations
+
RATING_TUNNEL_BRIDGE_DOWN_STEP = -250,
RATING_TUNNEL_BRIDGE_MINIMUM = 0,