diff options
author | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
commit | 2aa774e831ad1cb7849c998759449ef777c5c664 (patch) | |
tree | 37293298be999cb3446fe4af7f11e107bfa17c3d /src/tree_gui.cpp | |
parent | fd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff) | |
download | openttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz |
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/tree_gui.cpp')
-rw-r--r-- | src/tree_gui.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp index 76f254dda..5429e716d 100644 --- a/src/tree_gui.cpp +++ b/src/tree_gui.cpp @@ -19,30 +19,14 @@ #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" void PlaceTreesRandomly(); -/** Widget definitions for the build trees window. */ -enum BuildTreesWidgets { - BTW_TYPE_11, - BTW_TYPE_12, - BTW_TYPE_13, - BTW_TYPE_14, - BTW_TYPE_21, - BTW_TYPE_22, - BTW_TYPE_23, - BTW_TYPE_24, - BTW_TYPE_31, - BTW_TYPE_32, - BTW_TYPE_33, - BTW_TYPE_34, - BTW_TYPE_RANDOM, - BTW_MANY_RANDOM, -}; - /** Tree Sprites with their palettes */ const PalSpriteID tree_sprites[] = { { 1621, PAL_NONE }, { 1587, PAL_NONE }, { 1656, PAL_NONE }, { 1579, PAL_NONE }, |