summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
AgeCommit message (Collapse)Author
2008-04-24(svn r12870) -Codechange: remove some magic numbers from u.ship.state handlingsmatz
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
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-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-14(svn r12698) -Codechange: skip orders to stations that do not have a train ↵rubidium
part anymore, just like is done for road vehicles and ships.
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-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-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-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-02-13(svn r12132) -Cleanup: convert pathfinder selection from if/else to ↵smatz
switch/case at many places
2008-02-13(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders ↵smatz
(Yorick)
2008-02-08(svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them ↵frosch
to reverse on junction tiles. (spotted by SmatZ)
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class
2008-01-23(svn r11962) -Cleanup: OPF is no longer used to update signalssmatz
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11789) -Codechange: coding style for global variable namespeter1138
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11707) -Fix: do not allow refitting flooded (destroyed) vehiclessmatz
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.