src/tree_map.h
branchgamebalance
changeset 9908 0fa543611bbe
parent 9895 7bd07f43b0e3
child 6870 ca3fd1fbe311
equal deleted inserted replaced
9907:3b068c3a1c74 9908:0fa543611bbe
     1 /* $Id$ */
     1 /* $Id$ */
       
     2 
       
     3 /** @file tree_map.h */
     2 
     4 
     3 #ifndef TREE_MAP_H
     5 #ifndef TREE_MAP_H
     4 #define TREE_MAP_H
     6 #define TREE_MAP_H
     5 
     7 
     6 #include "macros.h"
     8 #include "macros.h"
    24 };
    26 };
    25 
    27 
    26 /* ground type, m2 bits 4...5
    28 /* ground type, m2 bits 4...5
    27  * valid densities (bits 6...7) in comments after the enum */
    29  * valid densities (bits 6...7) in comments after the enum */
    28 enum TreeGround {
    30 enum TreeGround {
    29 	TREE_GROUND_GRASS       = 0, // 0
    31 	TREE_GROUND_GRASS       = 0, ///< 0
    30 	TREE_GROUND_ROUGH       = 1, // 0
    32 	TREE_GROUND_ROUGH       = 1, ///< 0
    31 	TREE_GROUND_SNOW_DESERT = 2  // 0-3 for snow, 3 for desert
    33 	TREE_GROUND_SNOW_DESERT = 2  ///< 0-3 for snow, 3 for desert
    32 };
    34 };
    33 
    35 
    34 
    36 
    35 static inline TreeType GetTreeType(TileIndex t)
    37 static inline TreeType GetTreeType(TileIndex t)
    36 {
    38 {