(svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)

-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo)
-Codechange: assure _map_height_bits is always of correct size (Rubidium)
This commit is contained in:
truelight
2007-07-23 19:30:36 +00:00
parent 33d78635ef
commit b0d618c66b
4 changed files with 18 additions and 9 deletions

View File

@@ -10,6 +10,12 @@
#include "map.h"
#include "slope.h"
/** Maximum allowed tile height */
#define MAX_TILE_HEIGHT 15
/** Maximum allowed snowline height */
#define MAX_SNOWLINE_HEIGHT (MAX_TILE_HEIGHT - 2)
enum TileType {
MP_CLEAR,
MP_RAILWAY,