summaryrefslogtreecommitdiff
path: root/src/group_cmd.cpp
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_GROUPS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-10Fix #7224: Drag and drop vehicle group creation does not work correctly.stormcone
When drag and drop a vehicle into an empty slot in the vehicle group window it tries to create the new group as the subgroup of the first group (GroupID = 0). This is failing if the dragged vehicle's type is different than the first group's vehicle type.
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-27Feature #6053: Collapsible vehicle groups (3298)Charles Pigott
2019-03-27Add #6189: Groups now count the total number of vehicles in subgroups (3298)Charles Pigott
2019-03-27Change #5977: Use specific error message when attempting to create a ↵Charles Pigott
circular group hierarchy (3298)
2019-03-03Change: Allow vehicle group names to be non-unique.Peter Nelson
Group names are visual identifiers, and do not need to be unique. Group sorting already falls back to group ID if names are the same, so that sorted list position is stable.
2019-02-15Change: Use selected group as parent when creating a new group. (#7224)PeterN
2019-02-03Fix #7108: Group livery command did not check its parameters properly.Peter Nelson
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-13Fix #5978: Ensure group GUI stats and lists are invalidated properly (3298, ↵Joan Josep
Juanjo) (#7046)
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2014-12-24(svn r27090) -Codechange [FS#5976]: Simplify some hierarchical groups code. ↵frosch
(Juanjo)
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-08(svn r26451) -Change: Document GroupIsInGroup() function.peter1138
2014-04-08(svn r26450) -Feature: Hierarchical vehicle subgroups.peter1138
2013-01-22(svn r24933) -Fix [FS#3473]: Make group names unique per company and vehicle ↵peter1138
type.
2012-10-01(svn r24568) -Codechange: No need to resort the group GUI when toggling the ↵frosch
autoreplace protection. (Juanjo)
2012-04-17(svn r24140) -Add [FS#1117]: Group name in the replace vehicle window ↵michi_cc
caption. (Juanjo)
2012-04-17(svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on ↵michi_cc
patch by Juanjo)
2012-04-17(svn r24138) -Feature(ette): Ctrl+drag to add all vehicles with a shared ↵michi_cc
order list to a group. (Juanjo)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-11-20(svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not ↵frosch
passed the vehicle type in all cases, but the type is actually not needed.
2011-11-14(svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update ↵frosch
statistics of DEFAULT group.
2011-10-03(svn r22985) -Feature: Display autoreplace status in group GUI.frosch
2011-10-03(svn r22984) -Feature: Display profit icons for groups in the group GUI.frosch
2011-10-03(svn r22981) -Add: GroupStatistics for the ALL_GROUP.frosch
2011-10-03(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.frosch
2011-10-03(svn r22979) -Codechange: Add GroupStatistics::CountEngine().frosch
2011-10-03(svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and ↵frosch
DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
2011-10-03(svn r22977) -Codechange: Rename SetCachedEngineCounts() to ↵frosch
GroupStatistics::UpdateAfterLoad().
2011-10-03(svn r22976) -Codechange: Split group statistics into separate struct.frosch
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-05(svn r21411) -Codechange: limit group name by amount of characters, not bytesrubidium
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-19(svn r20572) -Codechange: free/reserve some bits in the wagon move command ↵rubidium
to increase the vehicle pool limit
2010-08-18(svn r20539) -Codechange: make order backups more self-contained.rubidium
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-14(svn r19424) -Codechange: Call command procs only via DoCommand().frosch
2009-12-13(svn r18494) -Fix (r18474): crash when moving non-engine to new free wagon ↵rubidium
chain and group count was off when moving a front engine within the same train and the new front isn't an engine.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium