Commit Graph

96 Commits (tracerestrict)

Author SHA1 Message Date
Jonathan G Rennison 213b0e7e3a Tracerestrict: Add a group membership conditional. 8 years ago
frosch ff43128963 (svn r27090) -Codechange [FS#5976]: Simplify some hierarchical groups code. (Juanjo) 10 years ago
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
rubidium 2be4215f43 (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 10 years ago
peter1138 3ea8e22fc1 (svn r26451) -Change: Document GroupIsInGroup() function. 10 years ago
peter1138 ed8f6f1a0f (svn r26450) -Feature: Hierarchical vehicle subgroups. 10 years ago
peter1138 c0b4115945 (svn r24933) -Fix [FS#3473]: Make group names unique per company and vehicle type. 12 years ago
frosch 8ad8eea5c3 (svn r24568) -Codechange: No need to resort the group GUI when toggling the autoreplace protection. (Juanjo) 12 years ago
michi_cc 08d884bce8 (svn r24140) -Add [FS#1117]: Group name in the replace vehicle window caption. (Juanjo) 12 years ago
michi_cc 83a0b3cf1d (svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on patch by Juanjo) 12 years ago
michi_cc ddb44528d7 (svn r24138) -Feature(ette): Ctrl+drag to add all vehicles with a shared order list to a group. (Juanjo) 12 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
frosch 0e28c6665e (svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed. 13 years ago
frosch 6be3e8b16e (svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update statistics of DEFAULT group. 13 years ago
frosch 37301ea23d (svn r22985) -Feature: Display autoreplace status in group GUI. 13 years ago
frosch f9f257ce4a (svn r22984) -Feature: Display profit icons for groups in the group GUI. 13 years ago
frosch f406385319 (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 13 years ago
frosch f43290d6af (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 13 years ago
frosch 3ecf9d424a (svn r22979) -Codechange: Add GroupStatistics::CountEngine(). 13 years ago
frosch 3665b85c24 (svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle(). 13 years ago
frosch 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch c531453320 (svn r22976) -Codechange: Split group statistics into separate struct. 13 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
rubidium ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
rubidium 48101ae6a7 (svn r21411) -Codechange: limit group name by amount of characters, not bytes 14 years ago
rubidium 1664ac1eb5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium b07f2beb67 (svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit 14 years ago
rubidium e68cf6bd81 (svn r20539) -Codechange: make order backups more self-contained. 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 1a5e825d8d (svn r19424) -Codechange: Call command procs only via DoCommand(). 14 years ago
rubidium 75ed87aa71 (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. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
smatz 98b8479f56 (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle 15 years ago
smatz 378d01f2f4 (svn r16718) -Codechange: make IsFreeWagon() member of Train 15 years ago
smatz 20fedeb3d6 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 85043a1fb7 (svn r16373) -Codechange: use () instead of (void) for functions without parameters 15 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz cf986c3099 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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
16 years ago
smatz c5db2ea181 (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare 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).
16 years ago