stormcone
ca65f19b03
Feature: Show group name as part of the default vehicle name.
...
Only if the vehicle is member of a group and does not have a user defined name.
2020-12-15 21:18:03 +01:00
Michael Lutz
63ccb36ef3
Codechange: Use std::string for most of the user-settable custom names.
2020-05-21 20:02:34 +02:00
glx
d8a1be48cd
Codechange: Replace vehicle related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx
4ae829cb27
Codechange: Replace FOR_ALL_GROUPS with range-based for loops
2019-12-21 20:13:03 +01:00
glx
60e3cf8aff
Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loops
2019-12-21 20:13:03 +01:00
glx
3a14cea068
Codechange: Replace FOR_ALL_COMPANIES with range-based for loops
2019-12-21 20:13:03 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
stormcone
24c59283ec
Fix #7224 : Drag and drop vehicle group creation does not work correctly.
...
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-05-10 19:49:51 +02:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
Charles Pigott
49f7332b75
Feature #6053 : Collapsible vehicle groups (3298)
2019-03-27 06:58:48 +00:00
Charles Pigott
8890436af1
Add #6189 : Groups now count the total number of vehicles in subgroups (3298)
2019-03-27 06:58:48 +00:00
Charles Pigott
a393c94695
Change #5977 : Use specific error message when attempting to create a circular group hierarchy (3298)
2019-03-27 06:58:48 +00:00
Peter Nelson
c91e0058c2
Change: Allow vehicle group names to be non-unique.
...
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-03-03 12:04:29 +01:00
PeterN
3a4b6b476b
Change: Use selected group as parent when creating a new group. ( #7224 )
2019-02-15 18:43:33 +00:00
Peter Nelson
cca952d94b
Fix #7108 : Group livery command did not check its parameters properly.
2019-02-03 15:52:19 +00:00
PeterN
23960d0f2c
Feature: Group liveries, and livery window usability enhancements. ( #7108 )
...
* 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-31 14:57:44 +01:00
Joan Josep
823c5bfa3b
Fix #5978 : Ensure group GUI stats and lists are invalidated properly (3298, Juanjo) ( #7046 )
2019-01-13 22:29:17 +00:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
frosch
fbd7b7ce33
(svn r27090) -Codechange [FS#5976]: Simplify some hierarchical groups code. (Juanjo)
2014-12-24 16:49:57 +00:00
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
peter1138
8545955424
(svn r26451) -Change: Document GroupIsInGroup() function.
2014-04-08 21:52:53 +00:00
peter1138
567d0ff3a7
(svn r26450) -Feature: Hierarchical vehicle subgroups.
2014-04-08 21:09:06 +00:00
peter1138
bef25bbdab
(svn r24933) -Fix [FS#3473]: Make group names unique per company and vehicle type.
2013-01-22 14:31:01 +00:00
frosch
d9b709ba45
(svn r24568) -Codechange: No need to resort the group GUI when toggling the autoreplace protection. (Juanjo)
2012-10-01 19:43:10 +00:00
michi_cc
8b65e041eb
(svn r24140) -Add [FS#1117]: Group name in the replace vehicle window caption. (Juanjo)
2012-04-17 19:44:30 +00:00
michi_cc
37e321044a
(svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on patch by Juanjo)
2012-04-17 19:44:16 +00:00
michi_cc
0daf350922
(svn r24138) -Feature(ette): Ctrl+drag to add all vehicles with a shared order list to a group. (Juanjo)
2012-04-17 19:44:12 +00:00
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
frosch
107f67bfa4
(svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed.
2011-11-20 14:39:12 +00:00
frosch
b53092e82b
(svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update statistics of DEFAULT group.
2011-11-14 16:09:58 +00:00
frosch
d071eefc54
(svn r22985) -Feature: Display autoreplace status in group GUI.
2011-10-03 17:26:37 +00:00
frosch
23a2f23eb3
(svn r22984) -Feature: Display profit icons for groups in the group GUI.
2011-10-03 17:25:44 +00:00
frosch
dd74536bef
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
2011-10-03 17:23:41 +00:00
frosch
5be8f73204
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
2011-10-03 17:22:56 +00:00
frosch
fafa06e821
(svn r22979) -Codechange: Add GroupStatistics::CountEngine().
2011-10-03 17:22:09 +00:00
frosch
68f969282e
(svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
2011-10-03 17:21:41 +00:00
frosch
b78a459613
(svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad().
2011-10-03 17:20:56 +00:00
frosch
b6766c2ed5
(svn r22976) -Codechange: Split group statistics into separate struct.
2011-10-03 17:20:26 +00:00
smatz
756cc6cf65
(svn r22116) -Codechange: use PoolBase::Clean() at more places
2011-02-19 23:05:47 +00:00
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
2011-01-18 22:31:06 +00:00
rubidium
768da4b48f
(svn r21411) -Codechange: limit group name by amount of characters, not bytes
2010-12-05 22:24:34 +00:00
rubidium
f5128695c5
(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers
2010-09-08 21:37:13 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
646fbb628a
(svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit
2010-08-19 20:42:00 +00:00
rubidium
38ca44594f
(svn r20539) -Codechange: make order backups more self-contained.
2010-08-18 15:15:59 +00:00
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
2010-04-17 13:31:41 +00:00
frosch
e5cded6e36
(svn r19424) -Codechange: Call command procs only via DoCommand().
2010-03-14 20:53:31 +00:00
rubidium
c2ec2e2db3
(svn r18494) -Fix (r18474): crash when moving non-engine to new free wagon chain and group count was off when moving a front engine within the same train and the new front isn't an engine.
2009-12-13 22:17:12 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00