vehicle_gui.c
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
Thu, 07 Sep 2006 15:00:47 +0000 bjarni (svn r6418) -Fix: [autoreplace] now multiheaded engines and other locomotives consisting of more than one unit will only be counted once
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Mon, 04 Sep 2006 15:44:28 +0000 Darkvater (svn r6379) -Codechange: cast 'remove babel' on widget's unkA and rename it to 'data'.
Mon, 04 Sep 2006 15:16:58 +0000 Darkvater (svn r6378) -Codechange: Rename VLW_FLAGS to VLW_MASK as it is a mask
Mon, 04 Sep 2006 15:13:49 +0000 Darkvater (svn r6377) -Codechange: Set up the widgets in the WE_CREATE instead of on every WE_PAINT
Sun, 03 Sep 2006 23:27:38 +0000 Darkvater (svn r6372) -Codechange: static, unneeded decleration in headers, superfluous header includes
Sun, 03 Sep 2006 23:14:39 +0000 bjarni (svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE
Sat, 02 Sep 2006 21:16:46 +0000 bjarni (svn r6350) -Codechange: moved some setup stuff into WE_CREATE in PlayerVehWndProc()
Fri, 01 Sep 2006 10:24:15 +0000 bjarni (svn r6291) -Feature: Vehicle lists from the station window now also got the goto depot button
Thu, 31 Aug 2006 18:33:05 +0000 bjarni (svn r6283) -Code cleanup: fixed wrong indent in PlayerVehWndProc()
Thu, 31 Aug 2006 17:42:27 +0000 bjarni (svn r6282) -Codechange: made a function to create the vehicle list for vehicle list windows
Thu, 31 Aug 2006 13:37:25 +0000 tron (svn r6271) Remove stale comment
Thu, 31 Aug 2006 13:33:25 +0000 tron (svn r6270) Remove the "unsorted" vehicle sorter, because it's plain useless
Thu, 31 Aug 2006 13:28:59 +0000 bjarni (svn r6269) -Fix r6240: fixed incorrect row count in vehicle lists when resizing to smaller windows (AsterixMG)
Thu, 31 Aug 2006 09:40:10 +0000 bjarni (svn r6261) -Fix r6246: fixed sprite related crash related to other player's vehicle list windows (spotted by Darkvater)
Wed, 30 Aug 2006 23:01:45 +0000 bjarni (svn r6249) -Fix: fixed assert when pressing goto depot in an empty list (forgot to disable the button in this condition)
Wed, 30 Aug 2006 21:39:01 +0000 bjarni (svn r6246) -Feature: added the many times requested "send all vehicle to depot" button
Wed, 30 Aug 2006 19:49:46 +0000 bjarni (svn r6243) -Codechange: made SortVehicleList() static as well since that one is not used in any other files either (Thanks Tron for pointing this out)
Wed, 30 Aug 2006 19:42:20 +0000 bjarni (svn r6242) -Codechange: made BuildVehicleList static as it is not used in any other files anymore
Wed, 30 Aug 2006 19:10:12 +0000 bjarni (svn r6241) -Fix r6240: missed altering one line in last commit
Wed, 30 Aug 2006 18:35:02 +0000 bjarni (svn r6240) -Code cleanup: in PlayerVehWndProc: replaced size_of_row with w->resize.step_height
Wed, 30 Aug 2006 16:32:00 +0000 bjarni (svn r6239) -Code cleanup: cleaned up PlayerVehWndProc
Tue, 29 Aug 2006 23:39:57 +0000 bjarni (svn r6229) -Feature: Shared order lists now got a "goto depot" button
Tue, 29 Aug 2006 22:47:38 +0000 bjarni (svn r6228) -Fix: redrawing an empty list of shared vehicles will now close the window