summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
AgeCommit message (Collapse)Author
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-22(svn r15202) -Fix (r14827): only make quick goto active for your own companyrubidium
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
2009-01-04(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making ↵rubidium
(initial) orders (sulai)
2009-01-03(svn r14819) -Change: make details and order menu stickyable, like the ↵rubidium
timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied.
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2009-01-03(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but ↵rubidium
through a method GetNumOrders() (PhilSophus)
2009-01-02(svn r14784) -Change: don't close and reopen the vehicle order/detail ↵rubidium
windows, just refocus them instead.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-10-24(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)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-24(svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled ↵smatz
to depot with DepotID == 0
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-19(svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' buttonsmatz
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-09-09(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() ↵smatz
and IsRailWaypoint() checks at several places
2008-08-17(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an ↵rubidium
order when the number of orders was 0; you could see that the vehicles had a shared order though.
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