mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codefix: wrong parameter names and partially missing parameters
This commit is contained in:
+3
-1
@@ -159,7 +159,7 @@ static void GuiGroupListAddChildren(GUIGroupList &list, GUIGroupListItem &item,
|
||||
|
||||
/**
|
||||
* Build GUI group list, a sorted hierarchical list of groups for owner and vehicle type.
|
||||
* @param dst Destination list, owned by the caller.
|
||||
* @param list Destination list, owned by the caller.
|
||||
* @param fold Whether to handle group folding/hiding.
|
||||
* @param owner Owner of groups.
|
||||
* @param veh_type Vehicle type of groups.
|
||||
@@ -334,6 +334,7 @@ private:
|
||||
* Draw a row in the group list.
|
||||
* @param r Rect to draw row in.
|
||||
* @param g_id Group to list.
|
||||
* @param level_mask Bitset with the vertical lines of the tree that need to be drawn before this group.
|
||||
* @param indent Indentation level.
|
||||
* @param protection Whether autoreplace protection is set.
|
||||
* @param has_children Whether the group has children and should have a fold / unfold button.
|
||||
@@ -1264,6 +1265,7 @@ static inline VehicleGroupWindow *FindVehicleGroupWindow(VehicleType vt, Owner o
|
||||
|
||||
/**
|
||||
* Opens a 'Rename group' window for newly created group.
|
||||
* @param gid The group that got created.
|
||||
* @param veh_type Vehicle type.
|
||||
*/
|
||||
static void CcCreateGroup(GroupID gid, VehicleType veh_type)
|
||||
|
||||
Reference in New Issue
Block a user