OpenTTD Source 20241224-master-gf74b0cf984
tree_cmd.h File Reference

Command definitions related to tree tiles. More...

#include "command_type.h"

Go to the source code of this file.

Functions

CommandCost CmdPlantTree (DoCommandFlag flags, TileIndex tile, TileIndex start_tile, uint8_t tree_to_plant, bool diagonal)
 Plant a tree.
 

Detailed Description

Command definitions related to tree tiles.

Definition in file tree_cmd.h.

Function Documentation

◆ CmdPlantTree()

CommandCost CmdPlantTree ( DoCommandFlag  flags,
TileIndex  tile,
TileIndex  start_tile,
uint8_t  tree_to_plant,
bool  diagonal 
)