author | belugas |
Wed, 04 Apr 2007 01:35:16 +0000 | |
changeset 6420 | 456c275f3313 |
parent 6343 | 76d17f784c13 |
child 6453 | 226bcddeba32 |
permissions | -rw-r--r-- |
6343
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
1 |
/* $Id$ */ |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
2 |
|
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
3 |
/** @file landscape.h */ |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
4 |
|
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
5 |
enum { |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
6 |
SNOW_LINE_MONTHS = 12, |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
7 |
SNOW_LINE_DAYS = 32, |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
8 |
}; |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
9 |
|
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
10 |
struct SnowLine { |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
11 |
byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]; |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
12 |
byte highest_value; |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
13 |
}; |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
14 |
|
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
15 |
bool IsSnowLineSet(void); |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
16 |
void SetSnowLine(byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS]); |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
17 |
byte GetSnowLine(void); |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
18 |
byte HighestSnowLine(void); |
76d17f784c13
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
maedhros
parents:
diff
changeset
|
19 |
void ClearSnowLine(void); |