* Sets the tree growth stage of a tile. * * This function sets the tree growth stage of a tile directly with * the given value. * * @param t The tile to change the tree growth stage * @param g The new value * @pre Tile must be of type MP_TREES */
| 224 | * @pre Tile must be of type MP_TREES |
| 225 | */ |
| 226 | inline void SetTreeGrowth(Tile t, TreeGrowthStage g) |
| 227 | { |
| 228 | assert(IsTileType(t, MP_TREES)); // XXX incomplete |
| 229 | SB(t.m5(), 0, 3, to_underlying(g)); |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Make a tree-tile. |
no test coverage detected