(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)

This commit is contained in:
frosch
2009-02-23 20:03:38 +00:00
parent cabfe35e54
commit a987c7299b
4 changed files with 108 additions and 19 deletions

View File

@@ -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);