equal
deleted
inserted
replaced
66 |
66 |
67 void PlaceProc_DemolishArea(TileIndex tile); |
67 void PlaceProc_DemolishArea(TileIndex tile); |
68 void PlaceProc_LevelLand(TileIndex tile); |
68 void PlaceProc_LevelLand(TileIndex tile); |
69 bool GUIPlaceProcDragXY(const WindowEvent *e); |
69 bool GUIPlaceProcDragXY(const WindowEvent *e); |
70 |
70 |
|
71 /** Drag and drop selection process, or, what to do with an area of land when |
|
72 * you've selected it. */ |
71 enum { |
73 enum { |
72 GUI_PlaceProc_None, |
74 DDSP_DEMOLISH_AREA, |
73 GUI_PlaceProc_DemolishArea, |
75 DDSP_LEVEL_AREA, |
74 GUI_PlaceProc_LevelArea, |
76 DDSP_CREATE_DESERT, |
75 GUI_PlaceProc_DesertArea, |
77 DDSP_CREATE_ROCKS, |
76 GUI_PlaceProc_WaterArea, |
78 DDSP_CREATE_WATER, |
77 GUI_PlaceProc_ConvertRailArea, |
79 DDSP_PLANT_TREES, |
78 GUI_PlaceProc_RockyArea, |
80 DDSP_BUILD_BRIDGE, |
79 GUI_PlaceProc_RemoveFromStation, |
81 |
|
82 /* Rail specific actions */ |
|
83 DDSP_PLACE_RAIL_NE, |
|
84 DDSP_PLACE_RAIL_NW, |
|
85 DDSP_PLACE_AUTORAIL, |
|
86 DDSP_BUILD_SIGNALS, |
|
87 DDSP_BUILD_STATION, |
|
88 DDSP_REMOVE_STATION, |
|
89 DDSP_CONVERT_RAIL, |
|
90 |
|
91 /* Road specific actions */ |
|
92 DDSP_PLACE_ROAD_NE, |
|
93 DDSP_PLACE_ROAD_NW, |
80 }; |
94 }; |
81 |
95 |
82 /* misc_gui.cpp */ |
96 /* misc_gui.cpp */ |
83 void PlaceLandBlockInfo(); |
97 void PlaceLandBlockInfo(); |
84 void ShowAboutWindow(); |
98 void ShowAboutWindow(); |