forked from mirror/OpenTTD
(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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user