summaryrefslogtreecommitdiff
path: root/src/aircraft_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-03 16:12:28 +0000
committerbelugas <belugas@openttd.org>2007-04-03 16:12:28 +0000
commit56943ab5849bd4a67819d90bc7f5118ed48d2a22 (patch)
tree58f428589debc35ef0698746db83b8195f98ca7f /src/aircraft_gui.cpp
parent0d691539a40b6cec330a3adf2718f1fe33f89aab (diff)
downloadopenttd-56943ab5849bd4a67819d90bc7f5118ed48d2a22.tar.xz
(svn r9551) -Documentation: Some more doxygen work
Diffstat (limited to 'src/aircraft_gui.cpp')
-rw-r--r--src/aircraft_gui.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/aircraft_gui.cpp b/src/aircraft_gui.cpp
index d5e772600..d0b90e86b 100644
--- a/src/aircraft_gui.cpp
+++ b/src/aircraft_gui.cpp
@@ -36,6 +36,13 @@ void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection)
}
}
+/**
+ * This is the Callback method after the construction attempt of an aircraft
+ * @param success indicates completion (or not) of the operation
+ * @param tile of depot where aircraft is built
+ * @param p1 unused
+ * @param p2 unused
+ */
void CcBuildAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2)
{
if (success) {
@@ -49,6 +56,13 @@ void CcBuildAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2)
}
}
+/**
+ * This is the Callback method after the cloning attempt of an aircraft
+ * @param success indicates completion (or not) of the operation
+ * @param tile unused
+ * @param p1 unused
+ * @param p2 unused
+ */
void CcCloneAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2)
{
if (success) ShowAircraftViewWindow(GetVehicle(_new_vehicle_id));