|
OpenTTD
|
GUIs for building trees. More...
#include "stdafx.h"#include "window_gui.h"#include "gfx_func.h"#include "tilehighlight_func.h"#include "company_func.h"#include "company_base.h"#include "command_func.h"#include "sound_func.h"#include "tree_map.h"#include "widgets/tree_widget.h"#include "table/sprites.h"#include "table/strings.h"#include "table/tree_land.h"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| class | BuildTreesWindow |
| The build trees window. More... | |
Functions | |
| void | PlaceTreesRandomly () |
| Place some trees randomly. More... | |
| void | ShowBuildTreesToolbar () |
Variables | |
| const PalSpriteID | tree_sprites [] |
| Tree Sprites with their palettes. More... | |
| static const NWidgetPart | _nested_build_trees_widgets [] |
| static WindowDesc | _build_trees_desc (WDP_AUTO, "build_tree", 0, 0, WC_BUILD_TREES, WC_NONE, WDF_CONSTRUCTION, _nested_build_trees_widgets, lengthof(_nested_build_trees_widgets)) |
GUIs for building trees.
Definition in file tree_gui.cpp.
| void PlaceTreesRandomly | ( | ) |
Place some trees randomly.
This function just place some trees randomly on the map.
Definition at line 246 of file tree_cmd.cpp.
References DEFAULT_TREE_STEPS, and ScaleByMapSize().
| const PalSpriteID tree_sprites[] |
Tree Sprites with their palettes.
Definition at line 33 of file tree_gui.cpp.