summaryrefslogtreecommitdiff
path: root/src/order_base.h
AgeCommit message (Collapse)Author
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-12-26(svn r21644) -Change: keep showing "No orders" when the order list is filled ↵rubidium
with only automatic orders
2010-12-26(svn r21642) -Feature: concept of automatic station orders; add stub orders ↵rubidium
for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
2010-12-22(svn r21602) -Codechange: split actual adding/removing of orders to/from a ↵rubidium
vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen
2010-12-22(svn r21593) -Codechange: endif comment correcttions.alberth
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-02-22(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.frosch
2009-11-21(svn r18204) -Codechange: introduce a type for Ticks and use it; furthermore ↵rubidium
document some related variables/functions
2009-11-20(svn r18202) -Codechange: remove an unused functionrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-28(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in ↵rubidium
favour of their Station variants
2009-06-21(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained ↵yexo
wrong results due to OpenTTD codechanges
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.rubidium
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-02(svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().frosch
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part. -Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
2009-04-12(svn r16037) -Feature: allow (per order) to let a train stop at the near ↵rubidium
end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14813) -Codechange: use uint instead of 'just' unsigned.rubidium
2009-01-03(svn r14803) -Codechange: move order list management into it's own class and ↵rubidium
remove the order count from the savegame as we can easily count that (PhilSophus)
2008-11-21(svn r14601) -Fix: the nearest depot and stop in depot orders didn't work ↵rubidium
together (the vehicle didn't stop).
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-12(svn r12667) -Feature: conditional 'skip/jump' orders.rubidium
2008-04-10(svn r12648) -Feature: allow four different non-stop types in a single game ↵rubidium
instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. -Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
2008-04-09(svn r12640) -Codechange: let GetLoadType make a difference between full ↵rubidium
load and full load any based on the patch setting instead of using the patch setting directly.
2008-04-08(svn r12633) -Fix: could not make a (go-to) depot order.rubidium
2008-04-07(svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot.rubidium
2008-04-07(svn r12617) -Codechange: add type safety to the Order's load and unload types.rubidium
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 r12595) -Codechange: hide Order's flags in the last few cases.rubidium
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-06(svn r12587) -Codechange: unduplicate some code in the Unpack*Order ↵rubidium
functions and move the 'normal' case Pack/Unpack to Order.
2008-04-06(svn r12586) -Codechange: do not access an order's refit variables directly.rubidium
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
2008-04-05(svn r12583) -Codechange: make AssignOrder a class function of order.rubidium
2008-04-05(svn r12582) -Codechange: move some (needlessly) static inlined functions ↵rubidium
from order_base.h to order_cmd.cpp.
2008-04-05(svn r12580) -Codechange: merge some logical related to non-stop orders.rubidium
2008-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium