diff --git a/src/landscape.h b/src/landscape.h new file mode 100644 --- /dev/null +++ b/src/landscape.h @@ -0,0 +1,19 @@ +/* $Id$ */ + +/** @file landscape.h */ + +enum { + SNOW_LINE_MONTHS = 12, + SNOW_LINE_DAYS = 32, +}; + +struct SnowLine { + byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]; + byte highest_value; +}; + +bool IsSnowLineSet(void); +void SetSnowLine(byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]); +byte GetSnowLine(void); +byte HighestSnowLine(void); +void ClearSnowLine(void);