vehicle_gui.c
Thu, 28 Jun 2007 14:31:46 +0000 rubidium (svn r10374) [0.5] -Backport from trunk (r10333, r10336, r10337, r10345, 10346, 10368): 0.5
Thu, 08 Feb 2007 11:03:00 +0000 rubidium (svn r8627) [0.5] -Backport from trunk (8409, 8420 + 8421, 8533, 8612): 0.5
Sat, 09 Dec 2006 10:57:05 +0000 Darkvater (svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron)
Fri, 08 Dec 2006 18:56:39 +0000 Darkvater (svn r7435) -Fix (r7418): Add proper tooltips to the manage list button instead of the sort tip
Thu, 07 Dec 2006 22:31:20 +0000 peter1138 (svn r7431) -Fix (r7418): GUI glitch when viewing other player's vehicle lists: bottom panel continued behind resize button.
Thu, 07 Dec 2006 14:03:55 +0000 Darkvater (svn r7418) -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As
Thu, 07 Dec 2006 00:51:20 +0000 Darkvater (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it
Sat, 18 Nov 2006 17:04:44 +0000 Darkvater (svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after
Sat, 18 Nov 2006 16:47:02 +0000 Darkvater (svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window
Sat, 11 Nov 2006 09:47:44 +0000 Darkvater (svn r7129) -Codechange: Get rid of a global variable that only sets a window's number.
Fri, 10 Nov 2006 19:24:14 +0000 Darkvater (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Tue, 31 Oct 2006 21:15:56 +0000 Darkvater (svn r7022) -Fix [FS#292]: Properly guard against viewing company-sensitive information from
Tue, 31 Oct 2006 08:13:15 +0000 peter1138 (svn r7009) - Fix (r1323, r1326): In the replace vehicle window, the left vehicle list was not drawn when an engine was not selected.
Tue, 24 Oct 2006 14:15:17 +0000 Darkvater (svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
Tue, 24 Oct 2006 07:10:37 +0000 peter1138 (svn r6920) - Codechange: Ignore refit options of an engine if it has no capacity.
Mon, 23 Oct 2006 21:39:15 +0000 peter1138 (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p)
Mon, 23 Oct 2006 21:25:30 +0000 peter1138 (svn r6911) - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p)
Mon, 23 Oct 2006 18:45:43 +0000 peter1138 (svn r6910) - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p)
Mon, 23 Oct 2006 18:28:46 +0000 peter1138 (svn r6909) - Codechange: Base the decision to draw rail engine or wagon purchase information on the rail vehicle type, not an arbitrary value.
Mon, 23 Oct 2006 18:13:24 +0000 peter1138 (svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p)
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Fri, 20 Oct 2006 11:53:29 +0000 peter1138 (svn r6855) - Codechange: When displaying a "quantity of cargo" string, use the {CARGO} command and supply the cargo type and quantity, instead of manually looking up the cargo type's string.
Mon, 16 Oct 2006 10:29:29 +0000 peter1138 (svn r6789) - Codechange: Tidy up VehicleNameSorter() to use no global vars, and match the style of EngineNameSorter(). This also removes a bug where _internal_name_sorter_id was never set properly for anything other than trains.
Thu, 12 Oct 2006 15:38:37 +0000 Darkvater (svn r6759) -Codechange: Remove the brainheaded usage of STR_JUST_STRING to pass a StringID
Sun, 08 Oct 2006 19:28:55 +0000 peter1138 (svn r6690) - Fix (r6602): Translate global to per-climate cargo ids before... doing anything with them. (Thanks to MeusH for pointing this out...)
Sun, 08 Oct 2006 17:56:08 +0000 bjarni (svn r6689) -Fix: corrected vehicle type in tooltip for the list in the refit window
Sat, 07 Oct 2006 08:24:11 +0000 bjarni (svn r6676) -Fix: [vehicle list windows] mass start/stop now works correctly in shared orders and station lists
Fri, 06 Oct 2006 21:44:18 +0000 bjarni (svn r6672) -Codechange: [depot & vehicle windows] applied SetWindowWidgetsDisabledState() and SetWindowWidgetsHiddenState() to depot and vehicle windows
Fri, 06 Oct 2006 08:47:01 +0000 peter1138 (svn r6667) - Codechange: The vehicle list has no horizontal scroll bar, so don't use it to store data; instead, just get the widget's width.
Thu, 05 Oct 2006 13:11:17 +0000 bjarni (svn r6652) -Feature: [depot window] depot lists are now sorted, so vehicle 1 is always first and so on
Thu, 05 Oct 2006 08:27:40 +0000 bjarni (svn r6647) -Fix: [vehicle list windows] Lists of shared orders are now no longer closed by a window event if the list is empty
Thu, 05 Oct 2006 08:15:51 +0000 bjarni (svn r6646) -Codechange: [vehicle list window] Cleaned up the drawing code
Wed, 04 Oct 2006 17:09:17 +0000 bjarni (svn r6638) -Fix r5652: restored each vehicle list type to their type classes, so it's possible to redraw all lists of one vehicle type again (instead of all types)
Wed, 04 Oct 2006 01:08:25 +0000 glx (svn r6635) -Fix r6634: incomplete/incorrect assignment
Wed, 04 Oct 2006 00:51:13 +0000 belugas (svn r6634) -Fix(r6377): Do not change a widget state after a DrawWindowWidgets, as it is a bit useless
Tue, 03 Oct 2006 14:52:39 +0000 bjarni (svn r6624) -Feature: added ability to add refit commands to vehicle orders (can only be done in goto depot orders)
Tue, 03 Oct 2006 02:08:15 +0000 belugas (svn r6619) -Codechange: Use accessors for disabled_state.
Mon, 02 Oct 2006 16:03:31 +0000 peter1138 (svn r6615) - Fix (r6601): Fix bug that prevented subtypes appearing in some cases.
Mon, 02 Oct 2006 08:41:20 +0000 bjarni (svn r6614) -Fix: added check to see if a newly opened refit window is different from NULL before assigning data to it
Mon, 02 Oct 2006 00:28:31 +0000 belugas (svn r6612) -Codechange: Use accessors for hidden_state.
Sun, 01 Oct 2006 15:03:15 +0000 peter1138 (svn r6608) - Fix (r6601): The scroll bar could fall out of the window... more gui-fu needed...
Sun, 01 Oct 2006 14:55:53 +0000 peter1138 (svn r6607) - Fix (r6601): Fix selection of refit type when the list is scrolled.
Sun, 01 Oct 2006 12:25:31 +0000 peter1138 (svn r6602) - Feature: we now support NewGRF livery refits, as used by DBsetXL, amongst others. This requires a savegame bump to save the cargo subtype.
Sun, 01 Oct 2006 12:00:32 +0000 peter1138 (svn r6601) - Codechange: Support cargo subtypes in the refit window. The refit window has been altered to support resizing and scrolling. Note that the cargo subtype isn't yet passed for actual refitting yet. (Based on mart3p's patch)
Sat, 30 Sep 2006 20:59:23 +0000 bjarni (svn r6591) -Codechange: changed strings that used the word "depot" into one for each vehicle type
Sat, 30 Sep 2006 13:39:34 +0000 bjarni (svn r6586) -Feature: [depot window] added a vehicle list window with all vehicles having a certain depot in their orders
Fri, 29 Sep 2006 20:41:28 +0000 bjarni (svn r6582) -Codechange: changed GenerateVehicleSortList() to reuse the same allocation over and over if possible (like BuildDepotVehicleList() )
Fri, 29 Sep 2006 19:03:40 +0000 bjarni (svn r6581) -Fix r6562: [vehicle list windows] fixed an off by one issue when drawing the bottom row of buttons
Fri, 29 Sep 2006 11:30:48 +0000 bjarni (svn r6570) -Feature: added "start all" and "stop all" buttons to the vehicle lists
Fri, 29 Sep 2006 07:30:44 +0000 peter1138 (svn r6565) - Fix (r6562): Missing newline at EOF caused a compiler warning
Thu, 28 Sep 2006 23:05:03 +0000 bjarni (svn r6562) -Codechange: merged the vehicle list window widget arrays
Thu, 28 Sep 2006 18:13:31 +0000 bjarni (svn r6559) -Codechange: [vehicle list windows] moved creation and drawing code into two new functions to make it easier to see what goes on where
Thu, 28 Sep 2006 07:02:55 +0000 peter1138 (svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
Wed, 27 Sep 2006 08:06:40 +0000 bjarni (svn r6519) -Code cleanup r6518: changed a line to apply to the coding style
Wed, 27 Sep 2006 07:23:38 +0000 bjarni (svn r6518) -Codechange: unified the vehicle refit windows
Sat, 23 Sep 2006 02:39:24 +0000 belugas (svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Fri, 08 Sep 2006 19:43:13 +0000 bjarni (svn r6431) -Fix r6424: removed a declaration after statement in ReplaceVehicleWndProc()
Fri, 08 Sep 2006 12:10:37 +0000 bjarni (svn r6429) -Fix: [autoreplace GUI] selecting an empty line will now deselect the engine instead of selecting the first in the list (consistent with all other windows)
Fri, 08 Sep 2006 11:53:05 +0000 bjarni (svn r6428) -Codechange: [autoreplace] removed duplicated code to draw the info text in the autoreplace window
Fri, 08 Sep 2006 10:47:39 +0000 bjarni (svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn