Commit Graph

47 Commits (99170a045af113b06a5375082ef87a0bd633f91a)

Author SHA1 Message Date
frosch 9fafef56d0 (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides. 15 years ago
frosch 020c53fc7e (svn r17899) -Codechange: Deduplicate code for refitting vehicles. 15 years ago
frosch 23980e6486 (svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch 0ddf9c86e1 (svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo to EngineInfo. 15 years ago
smatz 4a39f236fa (svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types 15 years ago
rubidium 04ee98df52 (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 15 years ago
frosch fec6129cd1 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 15 years ago
smatz 98b8479f56 (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle 15 years ago
frosch 289e8a7f45 (svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost. 15 years ago
rubidium 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 1e853b1226 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 15 years ago
frosch d86e821f53 (svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing. 16 years ago
rubidium b003536ea8 (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 0543f50181 (svn r14952) -Codechange: unify the "can vehicle go to station" tests 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
smatz f1296e06c5 (svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type 16 years ago
rubidium c34ce32f26 (svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types. 16 years ago
rubidium b0537d271f (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
michi_cc 5a28d3a54f (svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole. 16 years ago
rubidium 6e67ea1f9d (svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
16 years ago
frosch 92f3c368b8 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
rubidium 2b6978e48e (svn r13912) -Codechange: remove some casts by returning the proper type instead of void*. 16 years ago
smatz f1c0555d2e (svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that 16 years ago
peter1138 f731b31eda (svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h 16 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 16 years ago
peter1138 6d65ce0c8b (svn r13248) -Codechange: Use VehicleList for depot GUI. 16 years ago
peter1138 bcd05a4bce (svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat. 16 years ago
peter1138 0a9e8854ec (svn r13240) -Codechange: More const-ness for GUI code. 16 years ago
peter1138 2475959196 (svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc) 16 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 16 years ago
bjarni 44145548ea (svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost
This allowed cleaning up the code in MaybeReplaceVehicle()
16 years ago
rubidium daf5a2f1bc (svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands. 16 years ago
frosch b91781b715 (svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
16 years ago
rubidium 49a040e6ad (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 16 years ago
rubidium 9861a8c322 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 16 years ago
smatz dfb91c26ec (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
17 years ago
smatz fc2895e8c2 (svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places 17 years ago
smatz bc4ed3eafd (svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium e2f7ec1d3e (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location. 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago