summaryrefslogtreecommitdiff
path: root/src/group_gui.h
diff options
context:
space:
mode:
authorstormcone <48624099+stormcone@users.noreply.github.com>2019-05-10 19:49:50 +0200
committerCharles Pigott <charlespigott@googlemail.com>2019-12-23 18:04:10 +0000
commitcc1d72c3a370f3c9a13e8722f8d69f5735b95285 (patch)
treea0ed6ff8fbd7f8d4e537d1f20dc7409a2336b483 /src/group_gui.h
parenta363933d0899f6e79bf04eb38097ce1170f02bee (diff)
downloadopenttd-cc1d72c3a370f3c9a13e8722f8d69f5735b95285.tar.xz
Feature: Control + click on the vehicle details button in the vehicle view window opens the vehicle group window, then selects and scrolls to the vehicle's group.
Diffstat (limited to 'src/group_gui.h')
-rw-r--r--src/group_gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/group_gui.h b/src/group_gui.h
index 6a0ddfb7a..d42704663 100644
--- a/src/group_gui.h
+++ b/src/group_gui.h
@@ -13,7 +13,8 @@
#include "company_type.h"
#include "vehicle_type.h"
-void ShowCompanyGroup(CompanyID company, VehicleType veh);
+void ShowCompanyGroup(CompanyID company, VehicleType veh, GroupID group = INVALID_GROUP, bool need_existing_window = false);
+void ShowCompanyGroupForVehicle(const Vehicle *v);
void DeleteGroupHighlightOfVehicle(const Vehicle *v);
#endif /* GROUP_GUI_H */