summaryrefslogtreecommitdiff
path: root/src/group_cmd.cpp
AgeCommit message (Collapse)Author
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
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-13(svn r16813) -Codechange: make IsEngineCountable() member of Vehiclesmatz
2009-07-01(svn r16718) -Codechange: make IsFreeWagon() member of Trainsmatz
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-21(svn r16373) -Codechange: use () instead of (void) for functions without ↵smatz
parameters
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-10(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare ↵smatz
only with manually set names There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz