log src/order_gui.cpp @ 11657:ff1084d0d8a0 draft

age author description
Sun, 12 Apr 2009 14:11:14 +0000 rubidium (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. draft
Sun, 29 Mar 2009 09:49:11 +0000 alberth (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback draft
Sun, 22 Mar 2009 12:01:21 +0000 rubidium (svn r15808) -Codechange: use the new DrawString API in a number of GUIs draft
Sat, 21 Mar 2009 20:12:12 +0000 rubidium (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. draft
Sun, 15 Mar 2009 15:12:06 +0000 rubidium (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) draft
Sat, 14 Mar 2009 18:16:29 +0000 rubidium (svn r15711) -Codechange: lots of whitespace cleanup/fixes draft
Mon, 09 Feb 2009 02:33:10 +0000 rubidium (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window draft
Sun, 08 Feb 2009 12:25:13 +0000 rubidium (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. draft
Wed, 04 Feb 2009 16:59:41 +0000 rubidium (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. draft
Wed, 04 Feb 2009 16:45:07 +0000 rubidium (svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company. draft
Sun, 01 Feb 2009 22:32:07 +0000 peter1138 (svn r15312) -Codechange: Handle closing of drop down menus when clicking in 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. draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Thu, 22 Jan 2009 00:08:15 +0000 rubidium (svn r15202) -Fix (r14827): only make quick goto active for your own company draft
Sun, 04 Jan 2009 21:02:59 +0000 glx (svn r14840) -Cleanup: remove duplicate includes draft
Sun, 04 Jan 2009 14:51:49 +0000 rubidium (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) draft
Sat, 03 Jan 2009 23:32:59 +0000 rubidium (svn r14819) -Change: make details and order menu stickyable, like the timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied. draft
Sat, 03 Jan 2009 16:06:58 +0000 smatz (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints draft
Sat, 03 Jan 2009 13:20:32 +0000 rubidium (svn r14801) -Codechange: don't reference Vehicle::num_orders directly but through a method GetNumOrders() (PhilSophus) draft
Fri, 02 Jan 2009 20:01:28 +0000 rubidium (svn r14784) -Change: don't close and reopen the vehicle order/detail windows, just refocus them instead. draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Fri, 24 Oct 2008 14:49:45 +0000 rubidium (svn r14524) -Add: stop-in-depot as part of orders (PhilSophus) draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. draft
Wed, 24 Sep 2008 16:51:36 +0000 smatz (svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0 draft
Wed, 24 Sep 2008 16:40:06 +0000 smatz (svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open draft
Fri, 19 Sep 2008 16:34:24 +0000 smatz (svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button draft
Mon, 15 Sep 2008 16:29:40 +0000 smatz (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() draft
Tue, 09 Sep 2008 12:26:25 +0000 smatz (svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places draft
Sun, 17 Aug 2008 21:07:09 +0000 rubidium (svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though. draft
Wed, 06 Aug 2008 19:00:31 +0000 frosch (svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside. draft
Thu, 31 Jul 2008 16:42:11 +0000 belugas (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis draft
Mon, 14 Jul 2008 21:01:49 +0000 rubidium (svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump. draft
Mon, 14 Jul 2008 20:18:06 +0000 rubidium (svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed. draft
Tue, 10 Jun 2008 16:46:11 +0000 rubidium (svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now. draft
Sun, 08 Jun 2008 09:14:30 +0000 rubidium (svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order. draft
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. draft
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic. draft
Mon, 19 May 2008 09:48:47 +0000 rubidium (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. draft
Sat, 17 May 2008 23:11:06 +0000 rubidium (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. draft
Sat, 17 May 2008 12:48:06 +0000 rubidium (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. draft
Fri, 16 May 2008 20:08:20 +0000 glx (svn r13124) -Codechange: make a class of the OrdersWindow. draft
Thu, 08 May 2008 11:50:34 +0000 rubidium (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. draft
Wed, 07 May 2008 13:10:15 +0000 rubidium (svn r12987) -Codechange: split viewport and tile selection. draft
Tue, 06 May 2008 22:08:18 +0000 rubidium (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. draft
Tue, 06 May 2008 15:11:33 +0000 rubidium (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. draft
Fri, 18 Apr 2008 04:37:06 +0000 rubidium (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. draft
Thu, 17 Apr 2008 19:10:30 +0000 rubidium (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. draft
Thu, 17 Apr 2008 18:24:45 +0000 smatz (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used draft
Thu, 17 Apr 2008 00:44:20 +0000 smatz (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() draft
Mon, 14 Apr 2008 12:40:09 +0000 maedhros (svn r12699) -Codechange: Unify the order drawing code for orders and timetables. draft
Sun, 13 Apr 2008 16:54:19 +0000 rubidium (svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles. draft
Sun, 13 Apr 2008 16:50:55 +0000 rubidium (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. draft
Sat, 12 Apr 2008 20:15:57 +0000 smatz (svn r12671) -Fix (r12644): orders window of competitors' vehicles was missing a resizebox draft
Sat, 12 Apr 2008 13:07:25 +0000 rubidium (svn r12670) -Add: unconditional/always order 'jump/skip' variable. draft
Sat, 12 Apr 2008 11:58:19 +0000 rubidium (svn r12667) -Feature: conditional 'skip/jump' orders. draft
Fri, 11 Apr 2008 21:19:03 +0000 rubidium (svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI. draft
Fri, 11 Apr 2008 15:58:46 +0000 rubidium (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. draft
Fri, 11 Apr 2008 14:27:18 +0000 rubidium (svn r12660) -Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion). draft
Thu, 10 Apr 2008 22:18:33 +0000 rubidium (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. draft
Thu, 10 Apr 2008 22:17:06 +0000 rubidium (svn r12655) -Change: show the current state in the drop down 'buttons'. draft
Thu, 10 Apr 2008 22:07:24 +0000 rubidium (svn r12654) -Codechange: remove some unneeded right click handling due to the splitting of the load/refit button. draft
Thu, 10 Apr 2008 17:52:48 +0000 rubidium (svn r12653) -Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done. draft
Thu, 10 Apr 2008 17:23:51 +0000 rubidium (svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type. draft
Thu, 10 Apr 2008 10:18:03 +0000 rubidium (svn r12650) -Feature: ability to force a vehicle to not load at a station. draft
Thu, 10 Apr 2008 10:02:15 +0000 rubidium (svn r12649) -Fix: refit orders not being shown. draft
Thu, 10 Apr 2008 08:30:15 +0000 rubidium (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. draft
Wed, 09 Apr 2008 23:00:12 +0000 rubidium (svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes. draft
Wed, 09 Apr 2008 22:01:23 +0000 rubidium (svn r12643) -Codechange: be more explicit about the orders a vehicle has (non stop and full load are ambiguous and depend on some patch settings). draft
Wed, 09 Apr 2008 19:52:33 +0000 rubidium (svn r12641) -Codechange: do not use the same button for two completely distinct tasks, just make an extra button for it and hide them when not needed. draft
Wed, 09 Apr 2008 18:26:19 +0000 rubidium (svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly. draft
Wed, 09 Apr 2008 16:16:04 +0000 rubidium (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. draft
Wed, 09 Apr 2008 12:46:43 +0000 rubidium (svn r12636) -Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag. draft
Tue, 08 Apr 2008 13:32:44 +0000 rubidium (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. draft
Mon, 07 Apr 2008 19:18:56 +0000 rubidium (svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness. draft
Mon, 07 Apr 2008 08:59:04 +0000 rubidium (svn r12600) -Codechange: make GetNonStopType return a more augmented type; 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. draft
Sun, 06 Apr 2008 21:54:22 +0000 rubidium (svn r12595) -Codechange: hide Order's flags in the last few cases. draft
Sun, 06 Apr 2008 15:09:45 +0000 rubidium (svn r12593) -Codechange: hide Order's flags in most of the code. draft
Sun, 06 Apr 2008 07:48:51 +0000 rubidium (svn r12588) -Codechange: do not access the destination of an order directly. draft
Sun, 06 Apr 2008 07:22:26 +0000 rubidium (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. draft
Sun, 06 Apr 2008 07:07:21 +0000 rubidium (svn r12586) -Codechange: do not access an order's refit variables directly. draft
Sat, 05 Apr 2008 23:36:54 +0000 rubidium (svn r12584) -Codechange: do not access the order type directly. draft
Mon, 31 Mar 2008 06:42:26 +0000 rubidium (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). draft
Mon, 31 Mar 2008 00:06:17 +0000 rubidium (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. draft
Sun, 30 Mar 2008 23:24:18 +0000 rubidium (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. draft
Thu, 14 Feb 2008 15:59:16 +0000 frosch (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. draft
Sat, 02 Feb 2008 02:45:09 +0000 belugas (svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz). draft
Sun, 27 Jan 2008 17:32:12 +0000 maedhros (svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs. draft
Tue, 15 Jan 2008 18:44:22 +0000 rubidium (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. draft
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. draft
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces. draft
Wed, 09 Jan 2008 21:27:39 +0000 rubidium (svn r11801) -Codechange: remove some unneeded includes from some header files. draft
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. draft
Mon, 07 Jan 2008 00:57:19 +0000 rubidium (svn r11774) -Change: do not include variables.h in a header when it is not needed. draft
Thu, 27 Dec 2007 13:35:39 +0000 rubidium (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. draft
Wed, 26 Dec 2007 11:45:43 +0000 rubidium (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). draft
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' draft
Sat, 22 Dec 2007 23:30:28 +0000 rubidium (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. draft
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places. draft
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions. draft
Wed, 19 Dec 2007 23:26:02 +0000 rubidium (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h draft
Wed, 19 Dec 2007 20:45:46 +0000 rubidium (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. draft
Wed, 19 Dec 2007 19:44:29 +0000 rubidium (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. draft
Sun, 16 Dec 2007 10:54:08 +0000 rubidium (svn r11643) -Codechange: conform with the coding style for the WP macro uses. draft
Wed, 12 Dec 2007 14:37:35 +0000 smatz (svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too draft
Tue, 11 Dec 2007 17:44:55 +0000 glx (svn r11618) -Fix: buoys are just waypoints, so don't allow load/unload/transfert for them draft
Fri, 07 Dec 2007 18:05:49 +0000 glx (svn r11588) -Codechange: use the new member introduced in r11551 draft
Sun, 02 Dec 2007 14:29:48 +0000 rubidium (svn r11555) -Codechange: use the new members introduced in r11551. draft
Thu, 15 Nov 2007 18:28:00 +0000 rubidium (svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ. draft
Sun, 04 Nov 2007 00:08:57 +0000 belugas (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call. draft
Sun, 09 Sep 2007 11:23:49 +0000 rubidium (svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set. draft
Thu, 30 Aug 2007 21:11:12 +0000 rubidium (svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const. draft
Sun, 29 Jul 2007 23:42:59 +0000 rubidium (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type. draft
Fri, 27 Jul 2007 12:49:04 +0000 rubidium (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. draft
Mon, 23 Jul 2007 19:24:32 +0000 truelight (svn r10664) -Codechange: simplify a small piece of code (skidd13) draft
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h draft
Sun, 24 Jun 2007 22:42:11 +0000 peter1138 (svn r10314) -Codechange: Refer to vehicle names by index draft
Wed, 20 Jun 2007 19:17:22 +0000 maedhros (svn r10236) -Feature: Introduce a form of timetabling for vehicles. draft
Sun, 17 Jun 2007 10:14:47 +0000 maedhros (svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window. draft
Fri, 08 Jun 2007 18:59:29 +0000 rubidium (svn r10071) -Feature [FS#828]: moving of orders (skidd13). draft
Tue, 05 Jun 2007 22:17:03 +0000 rubidium (svn r10046) -Documentation: add some documentation in order_gui (skidd13). draft