summaryrefslogtreecommitdiff
path: root/src/vehicle_func.h
AgeCommit message (Collapse)Author
2011-12-10(svn r23487) -Change/Fix: Make autoreplace, autorenew, cloning and autorefit ↵frosch
check all articulated parts of a vehicle to find a shared cargo subtype.
2011-11-09(svn r23173) -Codechange: Rename GetVehicleCapacity() to ↵frosch
Engine::DetermineCapacity().
2011-11-04(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when ↵michi_cc
auto-refitting.
2011-11-04(svn r23111) -Fix: Keep subtype when automatically choosing the cargo for ↵michi_cc
auto-refitting.
2011-10-03(svn r22984) -Feature: Display profit icons for groups in the group GUI.frosch
2011-10-03(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP ↵frosch
statistics instead.
2011-08-03(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.michi_cc
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21843) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [t-z].
2011-01-15(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its ↵smatz
functionality was broken. Group start/stop commands can be used instead
2011-01-15(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_daysmatz
2010-12-21(svn r21561) -Change: Allow to specify the number of vehicles to refit in ↵terkhen
the refit vehicle command.
2010-11-16(svn r21214) -Add: Display mail capacity when refitting an aircraft to ↵terkhen
passengers.
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-09-25(svn r20847) -Codechange: Split most of GetEngineLivery() into a separate ↵frosch
GetEngineLiveryScheme() function.
2010-09-08(svn r20768) -Codechange: unify send-to-depot commandsrubidium
2010-09-06(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone ↵smatz
and vehicle to clone orders from directly from vehicle lists and depot window
2010-08-23(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about ↵rubidium
liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
2010-08-18(svn r20537) -Codechange: make RefitVehicle a static (local) functionrubidium
2010-08-06(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.alberth
2010-03-07(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.alberth
2010-03-07(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-28(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to ↵alberth
TunnelBridgeIsFree() and return a CommandCost status.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-12-14(svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with ↵rubidium
invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0.
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-28(svn r17899) -Codechange: Deduplicate code for refitting vehicles.frosch
2009-10-28(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called ↵frosch
when they should. -Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-17(svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo ↵frosch
to EngineInfo.
2009-08-06(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle typessmatz
2009-07-22(svn r16920) -Codechange: shuffle some strings around to simplify looking up ↵rubidium
vehicle type specific strings for a specific message
2009-07-20(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().frosch
2009-07-13(svn r16813) -Codechange: make IsEngineCountable() member of Vehiclesmatz
2009-06-06(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so ↵frosch
they can head for somewhere else instead of stumbling over a ghost.
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriaterubidium
2009-03-13(svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent ↵frosch
information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.
2009-03-11(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge ↵rubidium
VehiclePositionChanged and EndVehicleMove.
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-10(svn r14952) -Codechange: unify the "can vehicle go to station" testsrubidium
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-12-26(svn r14751) -Codechange: put VehicleEnterTile declaration where it should ↵smatz
be and use correct return type
2008-12-26(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle ↵rubidium
destructor as that was already doing the same for a few vehicle types.
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)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-09-09(svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the ↵michi_cc
reservation of another train inside the wormhole.