summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
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-10(svn r22309) -Fix: Make road vehicles, ships and aircraft skip orders if ↵frosch
they are leaving a depot and heading to the same one again; just like trains since r16322.
2011-03-05(svn r22205) -Codechange: replace magic number with constantrubidium
2011-02-07(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so ↵rubidium
it doesn't recompile everything that needs to be recompiled...
2011-02-05(svn r21976) -Doc: Document several crash handling functions.alberth
2011-02-02(svn r21948) -Fix: road vehicle was moved under the bridge when it was ↵smatz
destroyed by an UFO while on a bridge
2011-02-02(svn r21946) -Fix [FS#4447]: assertion/funny behaviour when a road vehicle ↵rubidium
reverses while overtaking, so abort the overtake attempt when reversing the road vehicle
2011-02-02(svn r21945) -Codechange: simplify setting the overtaking counter and remove ↵rubidium
the magic from its numbers
2011-02-02(svn r21943) -Codechange: document and unmagicify some bits of road vehicle ↵rubidium
overtaking
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-29(svn r21925) -Doc: Doxygen additions and markup corrections to ↵alberth
vehicle-related functions.
2011-01-26(svn r21915) -Codechange: rename RoadVehicleAccelerate to ↵rubidium
RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
2011-01-26(svn r21913) -Codechange: move bridge speed limiting for road vehicles to ↵rubidium
the same (logically speaking) place as for trains
2011-01-26(svn r21912) -Codechange: let road vehicles use ↵rubidium
gcache.last_speed/SetLastSpeed as well
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-21(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashessmatz
2011-01-19(svn r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-13(svn r21510) -Feature [FS#1956]: vehicle lost message for road vehiclesrubidium
2010-12-11(svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen)rubidium
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-11-20(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could ↵rubidium
leave a non-drive through road stop at once
2010-11-18(svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships ↵rubidium
(Hirundo)
2010-11-10(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons ↵rubidium
of a vehicle, not just the head of the vehicle
2010-11-09(svn r21123) -Codechange: Remove max_speed from the Vehicle class.terkhen
2010-11-09(svn r21122) -Fix (r21100): Use the cached max speed when checking road ↵terkhen
vehicle overtaking.
2010-11-06(svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property ↵terkhen
0x15 (Speed).
2010-11-06(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-10-01(svn r20860) -Cleanup: remove some unused functions and variablessmatz
2010-09-08(svn r20768) -Codechange: unify send-to-depot commandsrubidium
2010-08-28(svn r20645) -Codechange [FS#4086]: unify the code for checking for ↵rubidium
breakdown handling as well (Hirundo)
2010-08-28(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)rubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-18(svn r20536) -Codechange: unify the refitting of vehiclesrubidium
2010-08-17(svn r20532) -Codechange: unify selling of vehicles a bitrubidium
2010-08-17(svn r20531) -Codechange: unify quite a bit of the vehicle building commandsrubidium
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-10(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as wellrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-12(svn r20133) -Revert (r20130): Vehicles could deadlock themself in roadstops.frosch
2010-07-11(svn r20130) -Fix [FS#3935]: Standard roadstops can also be left via manual ↵frosch
depot orders.
2010-07-04(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the ↵frosch
192-256-magic of vehicle movement.
2010-07-02(svn r20053) -Fix [FS#3919] (r20034): crashing road vehicles crashed OpenTTD ↵rubidium
with slower/longer trains
2010-06-29(svn r20034) -Fix [FS#3896] (r14869): road vehicles could get crashed twice ↵rubidium
in a tick In RoadVehicleController at tick N a road vehicle gets a j of slightly less than adv_speed. In tick N+1 RoadVehCheckTrainCrash is called, then the road vehicle gets a j of slightly more than adv_speed. This causes a second call of RoadVehCheckTrainCrash. If in tick N the road vehicle moved onto a level crossing and a (maglev) entered that tile at the same tick, in tick N+1 the road vehicle would be crashed twice.
2010-06-11(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.terkhen
2010-06-07(svn r19945) -Fix (r19755-ish): Allow turning of roadvehicles while waiting ↵frosch
in a queue (again).
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.