summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2012-02-11(svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you ↵rubidium
reached the track's maximum speed
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2012-01-02(svn r23712) -Codechange: rename the two vehicle hashes we have to names ↵truebrain
that make clear where they differ in
2012-01-02(svn r23711) -Codechange: don't chain the two vehicle hashes, but call them ↵truebrain
one by one
2011-12-16(svn r23540) -Codechange: unify and document vehicle widgetsrubidium
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-25(svn r23328) -Change: Make the viewport vehicle position hash cover the same ↵peter1138
area.
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-21(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to ↵michi_cc
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
2011-11-12(svn r23195) -Codechange: if we really need to cast away constness, use ↵rubidium
const_cast
2011-11-09(svn r23173) -Codechange: Rename GetVehicleCapacity() to ↵frosch
Engine::DetermineCapacity().
2011-11-08(svn r23148) -Change: [NewGRF] Check the results of various callbacks for ↵frosch
validness.
2011-11-04(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when ↵michi_cc
auto-refitting.
2011-11-04(svn r23110) -Codechange: let the flying altitude return ints are wellrubidium
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-10-21(svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache ↵frosch
after changing the vehicle state to make fish happy.
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 r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP ↵frosch
statistics instead.
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 r22976) -Codechange: Split group statistics into separate struct.frosch
2011-09-19(svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles ↵frosch
or aircraft shadows/rotors.
2011-08-27(svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew.frosch
2011-08-22(svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts.frosch
2011-08-03(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.michi_cc
2011-06-12(svn r22572) -Fix: MSVC performance warning (assigning int to bool).michi_cc
2011-06-02(svn r22532) -Fix: Do not create an implicit order if the current order is ↵michi_cc
the first order in the order list and we visit the station of the last entry of the order list.
2011-05-28(svn r22506) -Feature [FS#4625]: Make the transparency options for ↵frosch
industries also affect the effect vehicles created by industries.
2011-05-25(svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit ↵frosch
orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc.
2011-05-21(svn r22482) -Codechange: Add some contants for the number of ticks between ↵frosch
certain cyclical tasks.
2011-05-18(svn r22473) -Codechange: Automatic orders are better called implicit orders ↵planetmaker
as no real order influencing path finding is added
2011-04-16(svn r22333) -Change: Prefer deleting automatic orders instead of inserting ↵frosch
new ones.
2011-04-16(svn r22332) -Fix: When inserting automatic orders, do not create ↵frosch
consecutive duplicate orders.
2011-04-16(svn r22331) -Change: When inserting an (automatic) order A in front of an ↵frosch
order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself)
2011-04-16(svn r22329) -Change: When the current orders are interrupted for ↵frosch
non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328)
2011-04-16(svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal ↵frosch
of automatic orders until the next real order is reached.
2011-04-16(svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing ↵frosch
GroundVehicle<>::gv_flags through a Vehicle struct.
2011-04-15(svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders ↵frosch
failed.
2011-03-13(svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope ↵frosch
invalidations themself.
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz