summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2012-05-26(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to ↵frosch
preemptively deduplicate code.
2012-05-09(svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle ↵rubidium
crashes instead of when they are cleared
2012-04-17(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a ↵michi_cc
crash. (riffraffselbow)
2012-04-17(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get ↵michi_cc
old. (Vikthor)
2012-04-17(svn r24128) -Change: Don't let vehicles break down directly after servicing.michi_cc
2012-04-17(svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown ↵michi_cc
smoke. (Hirundo)
2012-03-25(svn r24067) -Change/fix: do not redraw up to 25% of the map when making a ↵rubidium
new vehicle visible for the first time
2012-02-14(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.michi_cc
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.