summaryrefslogtreecommitdiff
path: root/src/landscape.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-02-23 20:03:38 +0000
committerfrosch <frosch@openttd.org>2009-02-23 20:03:38 +0000
commita987c7299b735b35dfa58a182421b63ab12653db (patch)
treeb1820d210841db1ef7aed6eb98e8309b5131b96b /src/landscape.h
parentcabfe35e5406b2b50ec00385483df10abf590032 (diff)
downloadopenttd-a987c7299b735b35dfa58a182421b63ab12653db.tar.xz
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
Diffstat (limited to 'src/landscape.h')
-rw-r--r--src/landscape.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/landscape.h b/src/landscape.h
index fceb63eb9..414de3df7 100644
--- a/src/landscape.h
+++ b/src/landscape.h
@@ -20,12 +20,14 @@ enum {
struct SnowLine {
byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]; ///< Height of the snow line each day of the year
byte highest_value; ///< Highest snow line of the year
+ byte lowest_value; ///< Lowest snow line of the year
};
bool IsSnowLineSet(void);
void SetSnowLine(byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]);
byte GetSnowLine(void);
byte HighestSnowLine(void);
+byte LowestSnowLine(void);
void ClearSnowLine(void);
uint GetPartialZ(int x, int y, Slope corners);