summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
commit1a515e6344028854c855671c19f49d8f869eb18f (patch)
treee1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/train_gui.cpp
parentb27dd1dcd7375dae63724879eb0f56dd703e5312 (diff)
downloadopenttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r--src/train_gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp
index 616b2d5c9..7ae0103b8 100644
--- a/src/train_gui.cpp
+++ b/src/train_gui.cpp
@@ -22,6 +22,13 @@
#include "table/sprites.h"
#include "table/strings.h"
+/**
+ * Callback for building wagons.
+ * @param result The result of the command.
+ * @param tile The tile the command was executed on.
+ * @param p1 Additional data for the command (for the #CommandProc)
+ * @param p2 Additional data for the command (for the #CommandProc)
+ */
void CcBuildWagon(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
{
if (result.Failed()) return;