summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
AgeCommit message (Collapse)Author
2008-08-06(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal ↵frosch
state is botched up from outside.
2008-07-31(svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order ↵belugas
and osk guis
2008-07-14(svn r13704) -Fix: make timetables work more sensible when used in ↵rubidium
conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
2008-07-14(svn r13702) -Fix: do not overflow the order/timetable window when 'long' ↵rubidium
orders are displayed.
2008-06-10(svn r13444) -Codechange: make the order GUI somewhat more efficient. The ↵rubidium
most used options can be done with a single click now.
2008-06-08(svn r13409) -Fix: division by zero when one would press 'd' (skip order) ↵rubidium
when there's no order.
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 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-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-16(svn r13124) -Codechange: make a class of the OrdersWindow.glx
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
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-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-14(svn r12699) -Codechange: Unify the order drawing code for orders and ↵maedhros
timetables.
2008-04-13(svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for ↵rubidium
road vehicles.
2008-04-13(svn r12688) -Change: make default non-stop for depot/waypoint orders the ↵rubidium
same as for stations.
2008-04-12(svn r12671) -Fix (r12644): orders window of competitors' vehicles was ↵smatz
missing a resizebox
2008-04-12(svn r12670) -Add: unconditional/always order 'jump/skip' variable.rubidium
2008-04-12(svn r12667) -Feature: conditional 'skip/jump' orders.rubidium
2008-04-11(svn r12663) -Codechange: move the definition from 'order_d' to a more ↵rubidium
appropriate place and do not misuse it for the time table GUI.
2008-04-11(svn r12661) -Add: ability to send a vehicle (using default orders) to the ↵rubidium
nearest depot.
2008-04-11(svn r12660) -Codechange: make the creation of depot order strings a little ↵rubidium
more modular (instead of causing a string explosion).
2008-04-10(svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect.rubidium
2008-04-10(svn r12655) -Change: show the current state in the drop down 'buttons'.rubidium
2008-04-10(svn r12654) -Codechange: remove some unneeded right click handling due to ↵rubidium
the splitting of the load/refit button.
2008-04-10(svn r12653) -Codechange: disable load/unload dropdowns when there is a ↵rubidium
'via' non-stop order to emphasize that loading/unloading will not be done.
2008-04-10(svn r12652) -Codechange: rework the order GUI a little more to make it a ↵rubidium
little more clear that 'transfer' is just an unload type.
2008-04-10(svn r12650) -Feature: ability to force a vehicle to not load at a station.rubidium
-Feature: ability to force a vehicle to not unload at a station.
2008-04-10(svn r12649) -Fix: refit orders not being shown.rubidium
-Fix: unusable non-stop orders shown for waypoints and depots.
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 r12644) -Codechange: rework the order gui a little to prepare it for ↵rubidium
some future changes.
2008-04-09(svn r12643) -Codechange: be more explicit about the orders a vehicle has ↵rubidium
(non stop and full load are ambiguous and depend on some patch settings).
2008-04-09(svn r12641) -Codechange: do not use the same button for two completely ↵rubidium
distinct tasks, just make an extra button for it and hide them when not needed.
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-09(svn r12638) -Codechange: give order_gui.cpp a touch of coding style.rubidium
2008-04-09(svn r12636) -Codechange: make CmdModifyOrder a little more flexible and ↵rubidium
remove 'hack' that used the full load flag to set the service if needed flag.
2008-04-08(svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly.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.