/dports/games/openttd/openttd-12.1/src/ |
H A D | group.h | 52 static GroupStatistics &Get(CompanyID company, GroupID id_g, VehicleType type); 99 static inline bool IsAllGroupID(GroupID id_g) in IsAllGroupID() argument 101 return id_g == ALL_GROUP; in IsAllGroupID() 105 uint GetGroupNumEngines(CompanyID company, GroupID id_g, EngineID id_e); 106 uint GetGroupNumVehicle(CompanyID company, GroupID id_g, VehicleType type); 107 uint GetGroupNumProfitVehicle(CompanyID company, GroupID id_g, VehicleType type); 108 Money GetGroupProfitLastYear(CompanyID company, GroupID id_g, VehicleType type);
|
H A D | group_cmd.cpp | 65 if (Group::IsValidID(id_g)) { in Get() 66 Group *g = Group::Get(id_g); in Get() 72 if (IsDefaultGroupID(id_g)) return Company::Get(company)->group_default[type]; in Get() 73 if (IsAllGroupID(id_g)) return Company::Get(company)->group_all[type]; in Get() 571 GroupID id_g = p1; in CmdAddSharedVehicleGroup() local 579 if (v->group_id != id_g) continue; in CmdAddSharedVehicleGroup() 583 if (v2->group_id != id_g) DoCommand(tile, id_g, v2->index, flags, CMD_ADD_VEHICLE_GROUP, text); in CmdAddSharedVehicleGroup() 793 uint GetGroupNumEngines(CompanyID company, GroupID id_g, EngineID id_e) in GetGroupNumEngines() argument 811 uint GetGroupNumVehicle(CompanyID company, GroupID id_g, VehicleType type) in GetGroupNumVehicle() argument 817 return count + GroupStatistics::Get(company, id_g, type).num_vehicle; in GetGroupNumVehicle() [all …]
|
H A D | group_gui.cpp | 681 if (id_g >= this->groups.size()) return; in OnClick() 683 …if (groups[id_g]->folded || (id_g + 1 < this->groups.size() && this->indents[id_g + 1] > this->ind… in OnClick() 695 if (g == groups[id_g]->index) { in OnClick() 702 Group::Get(groups[id_g]->index)->folded = !groups[id_g]->folded; in OnClick() 829 GroupID new_g = id_g >= this->groups.size() ? INVALID_GROUP : this->groups[id_g]->index; in OnDragDrop_Group() 862 GroupID new_g = id_g >= this->groups.size() ? NEW_GROUP : this->groups[id_g]->index; in OnDragDrop_Vehicle() 1003 new_group_over = id_g >= this->groups.size() ? NEW_GROUP : this->groups[id_g]->index; in OnMouseDrag() 1058 int id_g = find_index(this->groups, g); in SelectGroup() local 1060 if (id_g == -1) { in SelectGroup() 1067 id_g = find_index(this->groups, g); in SelectGroup() [all …]
|
H A D | autoreplace_cmd.cpp | 817 GroupID id_g = GB(p1, 16, 16); in CmdSetAutoReplace() local 820 …if (Group::IsValidID(id_g) ? Group::Get(id_g)->owner != _current_company : !IsAllGroupID(id_g) && … in CmdSetAutoReplace() 827 …cost = AddEngineReplacementForCompany(c, old_engine_type, new_engine_type, id_g, HasBit(p1, 0), fl… in CmdSetAutoReplace() 829 cost = RemoveEngineReplacementForCompany(c, old_engine_type, id_g, flags); in CmdSetAutoReplace() 839 if ((flags & DC_EXEC) && IsLocalCompany()) InvalidateAutoreplaceWindow(old_engine_type, id_g); in CmdSetAutoReplace()
|
H A D | autoreplace_gui.h | 18 void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g);
|
H A D | autoreplace_gui.cpp | 49 void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g) in InvalidateAutoreplaceWindow() argument 51 …if (GetGroupNumEngines(_local_company, id_g, e) == 0 || GetGroupNumEngines(_local_company, ALL_GRO… in InvalidateAutoreplaceWindow() 224 ReplaceVehicleWindow(WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc) in ReplaceVehicleWindow() argument 255 this->sel_group = id_g; in ReplaceVehicleWindow() 865 void ShowReplaceGroupVehicleWindow(GroupID id_g, VehicleType vehicletype) in ShowReplaceGroupVehicleWindow() argument 874 new ReplaceVehicleWindow(desc, vehicletype, id_g); in ShowReplaceGroupVehicleWindow()
|
/dports/sysutils/coreutils/coreutils-8.32/tests/chmod/ |
H A D | setgid.sh | 34 id_g=$(id -g) && 35 test -n "$id_g" && 36 chgrp "$id_g" d &&
|
/dports/misc/gnuls/coreutils-8.30/tests/chmod/ |
H A D | setgid.sh | 34 id_g=$(id -g) && 35 test -n "$id_g" && 36 chgrp "$id_g" d &&
|
/dports/sysutils/coreutils/coreutils-8.32/tests/chown/ |
H A D | separator.sh | 28 id_g=$(id -g) || framework_failure_ 29 test -n "$id_g" || framework_failure_ 55 for g in $id_g "$id_gn" ''; do
|
/dports/misc/gnuls/coreutils-8.30/tests/chown/ |
H A D | separator.sh | 28 id_g=$(id -g) || framework_failure_ 29 test -n "$id_g" || framework_failure_ 55 for g in $id_g "$id_gn" ''; do
|