summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-07(svn r14903) -Fix: First create all articulated parts of roadvehicles, then ↵frosch
call callback 36 capacity, also call it for all articulated parts.
2009-01-06(svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick ↵peter1138
(code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'.
2009-01-04(svn r14835) -Change: apply the 'warn if train's income is negative' setting ↵smatz
to other vehicle types, too
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-26(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.rubidium
2008-11-13(svn r14578) -Fix (r2389, r10811)[FS#Vikthor]: Allow capacity callbacks (15, ↵frosch
36) to return zero capacity.
2008-11-07(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the ↵rubidium
'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
2008-10-28(svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" ↵rubidium
deallocated causing RVs not going to depot for service.
2008-10-10(svn r14458) -Fix [FS#2341](r14368): crash when there was a tram dead end ↵smatz
after a station/tunnel/bridge (frosch123 and Rubidium)
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-21(svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single ↵rubidium
trambit (like caused during road construction reworks) or when (manually) reversing in a corner.
2008-09-13(svn r14307) -Fix: when deleting a station, remove news items regarding itsmatz
2008-09-13(svn r14306) -Codechange: unify the code to draw the vehicle list.rubidium
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
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.