(svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile

This commit is contained in:
truebrain
2011-12-16 16:23:50 +00:00
parent 2aa774e831
commit 98d3f11d45
12 changed files with 343 additions and 331 deletions

View File

@@ -14,26 +14,28 @@
/** Widgets of the WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR (WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR is also used in others). */
enum RoadToolbarWidgets {
RTW_ROAD_X,
RTW_ROAD_Y,
RTW_AUTOROAD,
RTW_DEMOLISH,
RTW_DEPOT,
RTW_BUS_STATION,
RTW_TRUCK_STATION,
RTW_ONE_WAY,
RTW_BUILD_BRIDGE,
RTW_BUILD_TUNNEL,
RTW_REMOVE,
/* Name starts with RO instead of R, becuase of collision with RailToolbarWidgets */
ROTW_ROAD_X,
ROTW_ROAD_Y,
ROTW_AUTOROAD,
ROTW_DEMOLISH,
ROTW_DEPOT,
ROTW_BUS_STATION,
ROTW_TRUCK_STATION,
ROTW_ONE_WAY,
ROTW_BUILD_BRIDGE,
ROTW_BUILD_TUNNEL,
ROTW_REMOVE,
};
/** Widgets of the WC_BUILD_DEPOT (WC_BUILD_DEPOT is also used in others). */
enum BuildRoadDepotWidgets {
BRDW_CAPTION,
BRDW_DEPOT_NE,
BRDW_DEPOT_SE,
BRDW_DEPOT_SW,
BRDW_DEPOT_NW,
/* Name starts with BRO instead of BR, becuase of collision with BuildRailDepotWidgets */
BRODW_CAPTION,
BRODW_DEPOT_NE,
BRODW_DEPOT_SE,
BRODW_DEPOT_SW,
BRODW_DEPOT_NW,
};
/** Widgets of the WC_BUS_STATION / WC_TRUCK_STATION. */