summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
2008-08-17(svn r14090) -Fix: the vehicle window of articulated road vehicles would ↵rubidium
show the clone/refit button when the vehicle was not completely stopped in the depot.
2008-08-15(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, ↵peter1138
indicating what it actually is.
2008-08-15(svn r14076) -Codechange: Merge the four start/stop commands into a single ↵frosch
CMD_START_STOP_VEHICLE.
2008-08-01(svn r13912) -Codechange: remove some casts by returning the proper type ↵rubidium
instead of void*.
2008-07-09(svn r13691) -Codechange: make it easier to determine whether a command is ↵smatz
ran in the context of autoreplace or not
2008-06-30(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when ↵rubidium
entering a non-drivethrough road stop.
2008-06-27(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the ↵skidd13
equivalent constant
2008-06-19(svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they ↵rubidium
are build adjacent to them.
2008-06-11(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of ↵rubidium
other companies.
2008-06-10(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most placessmatz
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-21(svn r12824) -Codechange: Standardise routines for drawing vehicle images, ↵peter1138
using correct types and less duplication.
2008-04-21(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in ↵rubidium
TTDP according to frosch's survey.
2008-04-20(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpprubidium
2008-04-20(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a ↵rubidium
uniform naming of the thing instead of using both names for the same thing.
2008-04-19(svn r12795) -Fix [FS#1938]: vehicles could break down during loading and ↵rubidium
keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-04-13(svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for ↵rubidium
road vehicles.
2008-04-11(svn r12658) -Codechange: unify a vast portion of the ↵rubidium
CmdSend<VehicleType>ToDepot commands.
2008-04-11(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.rubidium
2008-04-08(svn r12629) -Codechange: Split VehicleNeedsService() into ↵frosch
Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing(). -Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
2008-04-07(svn r12615) -Codechange: rename some enums related to depot orders to make ↵rubidium
it more clear that they are no loading/unloading flags. Also add more type strictness.
2008-04-07(svn r12600) -Codechange: make GetNonStopType return a more augmented type; ↵rubidium
not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere.
2008-04-06(svn r12593) -Codechange: hide Order's flags in most of the code.rubidium
2008-04-06(svn r12588) -Codechange: do not access the destination of an order directly.rubidium
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
2008-04-05(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the ↵rubidium
'unified' ProcessOrder.
2008-04-05(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and ↵rubidium
road vehicles.
2008-04-02(svn r12540) -Codechange: Enumify some values in original pathfinder and ↵frosch
remove an unused variable.
2008-04-01(svn r12531) -Codechange: Rename some variables for consistency.frosch
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-03-22(svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel ↵rubidium
entrances.
2008-02-21(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road ↵peter1138
vehicles' running cost, and show running cost of wagons if they have it.
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-20(svn r12193) -Codechange: Rename a magic variable, give it a decent type, ↵frosch
and remove a 'goto'.
2008-02-20(svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way ↵frosch
one-way-road in the next tiles.