summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
commitfb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 (patch)
tree87956636c318baa8d5d8d62f13263c4f64dbe881 /src/group_gui.cpp
parent4d5dbf51707c42c24eeafdb65016b079c54adcf2 (diff)
downloadopenttd-fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0.tar.xz
(svn r22411) -Document: another bunch of bits
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index d745a5ed2..e5762ca26 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -661,6 +661,11 @@ static const WindowDesc _train_group_desc(
_nested_group_widgets, lengthof(_nested_group_widgets)
);
+/**
+ * Show the group window for the given company and vehicle type.
+ * @param company The company to show the window for.
+ * @param vehicle_type The type of vehicle to show it for.
+ */
void ShowCompanyGroup(CompanyID company, VehicleType vehicle_type)
{
if (!Company::IsValidID(company)) return;