summaryrefslogtreecommitdiff
path: root/src/group.h
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2019-12-21Codechange: Replace FOR_ALL_GROUPS with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-29Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByteCharles Pigott
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-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.
2014-04-08(svn r26450) -Feature: Hierarchical vehicle subgroups.peter1138
2012-09-21(svn r24541) -Cleanup [FS#5260]: remove unused function GetGroupArraySize ↵yexo
(juanjo)
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 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-05-14(svn r22460) -Doc: Semantic documentation fixes, and doxygen additions ↵alberth
(partly by planetmaker).
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].
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
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-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
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-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
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-28(svn r12469) -Codechange: split type related stuff from group.h (and ↵rubidium
openttd.h) to group_type.h.
2008-03-06(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and ↵frosch
inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.
2008-02-29(svn r12322) -Fix (r9874): endian issue when saving/loading group ownerglx
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-12(svn r11817) -Codechange: Base vehicle group validity on owner, not name.peter1138
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2007-08-27(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" ↵rubidium
group. Patch by frosch.
2007-08-05(svn r10799) -Fix: only calling QuickFree and not the destructor on pool ↵rubidium
cleanups might cause memory leaks due to the way C++ works.
2007-08-02(svn r10751) -Codechange: make the group struct use the pool item class as ↵rubidium
super class.
2007-07-14(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by ↵rubidium
Matthias Wolf.
2007-06-28(svn r10371) -Fix (r9874): Remove never-used GetGroupName() functionpeter1138
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.