summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
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
2010-12-11(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.rubidium
2010-11-18(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded ↵rubidium
engines didn't smoke nor spark (Hirundo)
2010-11-18(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties ↵rubidium
for ships and RVs (Hirundo)
2010-11-18(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default ↵rubidium
value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
2010-11-18(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to ↵rubidium
Vehicle::ShowVisualEffect (Hirundo)
2010-11-18(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle ↵rubidium
class (Hirundo)
2010-11-16(svn r21214) -Add: Display mail capacity when refitting an aircraft to ↵terkhen
passengers.
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-25(svn r21039) -Fix/Cleanup: Remove an unneeded and even wrong test, which is ↵frosch
never reached anyway though.
2010-09-25(svn r20847) -Codechange: Split most of GetEngineLivery() into a separate ↵frosch
GetEngineLiveryScheme() function.
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
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