summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
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
2011-02-19(svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should ↵rubidium
not delete items from other pools
2011-02-08(svn r22022) -Fix [FS#4468]: verify we can allocate an order before we ↵smatz
actually try to do so
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-02-07(svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under ↵rubidium
bridges, or rather through bridges
2011-02-04(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less ↵rubidium
useless; just don't use depot orders or timetabling if you don't want to use it
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31(svn r21932) -Document: some tidbits related to vehiclesrubidium
2011-01-29(svn r21925) -Doc: Doxygen additions and markup corrections to ↵alberth
vehicle-related functions.
2011-01-29(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.terkhen
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-26(svn r21909) -Fix: some missing spacesrubidium
2011-01-23(svn r21902) -Fix: Do not count articulated parts when passing the number of ↵frosch
vehicles to refit to the command. That may exceed 8 bits.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-19(svn r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2011-01-19(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.terkhen
2011-01-18(svn r21843) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [t-z].
2011-01-16(svn r21826) -Fix [FS#4007]: the expectations from the "always build ↵rubidium
infrastructure" setting name/description didn't match the behaviour
2011-01-15(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when ↵rubidium
reaching an ordered waypoint or depot (fonsinchen)
2011-01-15(svn r21808) -Fix: don't create automatic orders when there are no manual ↵rubidium
orders (fonsinchen)
2011-01-15(svn r21807) -Codechange: split automatic order removal into a separate ↵rubidium
function (fonsinchen)
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
2011-01-06(svn r21738) -Fix (r21642)[FS#4384]: Start loading when cur_order_index ↵frosch
points to the destination station, i.e. after deleting not-reached automatic orders.
2010-12-31(svn r21679) -Fix (r21642): reading a just freed variablerubidium
2010-12-26(svn r21643) -Fix (r21642): crash when a train with no orders (or actually ↵rubidium
no order list) stops at a station
2010-12-26(svn r21642) -Feature: concept of automatic station orders; add stub orders ↵rubidium
for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
2010-12-22(svn r21598) -Fix (r3139, r21236, r21249)[FS#4275]: The default visual ↵frosch
effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist.
2010-12-22(svn r21597) -Fix (r21239): Also catch the case when callback 10 returns ↵frosch
VE_DEFAULT.
2010-12-22(svn r21596) -Codechange: Rename a misleading-named variable.frosch
2010-12-21(svn r21562) -Change: Add articulated parts of vehicles in a refit selection ↵terkhen
to that selection.
2010-12-21(svn r21561) -Change: Allow to specify the number of vehicles to refit in ↵terkhen
the refit vehicle command.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from ↵terkhen
a Vehicle.
2010-12-14(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
2010-12-13(svn r21508) -Codechange: move the code to handle the pathfinder's "path ↵rubidium
found" status to a separate function