summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
AgeCommit message (Collapse)Author
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 r11832) -Codechange: get rid of (quite) some VARDEFs.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-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-12(svn r11625) -Codechange: add CO_* enum at some places, add includes of ↵smatz
order.h too
2007-12-11(svn r11618) -Fix: buoys are just waypoints, so don't allow ↵glx
load/unload/transfert for them
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-03(svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders ↵rubidium
makes it lose it's order index and service interval. Patch by jthill.
2007-10-05(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these ordersglx
2007-09-28(svn r11184) -Codechange: cleanup the code related to backup orders.rubidium
2007-08-03(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and ↵rubidium
similarly for AddBlock*.
2007-08-02(svn r10760) -Codechange: make the order struct use the pool item class as ↵rubidium
super class.
2007-06-24(svn r10314) -Codechange: Refer to vehicle names by indexpeter1138
2007-06-20(svn r10236) -Feature: Introduce a form of timetabling for vehicles.maedhros
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-08(svn r10071) -Feature [FS#828]: moving of orders (skidd13).rubidium
2007-06-04(svn r10033) -Feature [FS#760]: skip to the selected order in the order list ↵rubidium
when clicking on the "skip" button while pressing CTRL.
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-05-13(svn r9832) -Fix: leave the station when manually skipping to the next order ↵rubidium
and we are currently (un)loading.
2007-05-04(svn r9784) -Codechange: remove unused variable.rubidium
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-03-24(svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with ↵truelight
one more vehicle and no orders, segfaulted
2007-03-21(svn r9390) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. This time, brought to you by the letter O
2007-03-19(svn r9338) -Fix: close the Shared Order Vehicle List if you remove the ↵truelight
shared link with only 2 vehicles
2007-03-19(svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared ↵truelight
list while having the shared order vehicle list open.
2007-03-18(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can ↵peter1138
stop in bus or truck stops.
2007-03-08(svn r9072) -Codechange: [Orders] added methods to orders to free them and ↵bjarni
check if they are in use
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-18(svn r8802) -Fixtron
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot) Also do a better job in determining the preceding order NOTE: 0.5 candidate
2007-02-18(svn r8795) -Fixtron
Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test.
2007-02-17(svn r8778) -Fixtron
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
2007-02-16(svn r8755) -Fixtron
Abbreviate GetAirport(st->airport_type) to st->Airport()
2007-02-16(svn r8754) -Fixtron
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
2007-02-07(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that ↵bjarni
VEH_Train is 0, VEH_Road is 1 and so on This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places) Surprisingly this can be done without changing the savegame format
2007-02-03(svn r8550) -Fixtron
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
2007-02-01(svn r8514) -Codechange: Turn IsBuoy into a method of stationscelestar
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.