vehicle_gui.c
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
Tue, 29 Aug 2006 21:36:39 +0000 bjarni (svn r6227) -Codechange: added window type flags to use with PlayerVehWndProc
Tue, 29 Aug 2006 17:41:13 +0000 bjarni (svn r6215) -Codechange: [vehicle list windows] unified Player(vehicle)WndProc into PlayerVehWndProc
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Mon, 28 Aug 2006 10:14:37 +0000 rubidium (svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
Sun, 27 Aug 2006 09:55:54 +0000 bjarni (svn r6167) -Code cleanup r6161: replaced some uint16 with OrderID and (1 << 8) with SHARE_FLAG
Sat, 26 Aug 2006 22:28:40 +0000 bjarni (svn r6161) -Feature: List of vehicles with the same shared orders
Sat, 26 Aug 2006 16:34:03 +0000 truelight (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Tue, 15 Aug 2006 09:28:27 +0000 Darkvater (svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907.
Tue, 15 Aug 2006 07:07:17 +0000 tron (svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
Mon, 14 Aug 2006 20:37:15 +0000 tron (svn r5895) Remove dead code
Mon, 14 Aug 2006 20:25:29 +0000 tron (svn r5894) Remove a totally unnecessary indirection in the vehicle sorter code. Less code, less data, simply better
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Wed, 09 Aug 2006 21:02:06 +0000 peter1138 (svn r5820) - NewGRF: Add support for extra vehicle text in the purchase list for road vehicles, aircraft and ships.
Wed, 28 Jun 2006 06:21:03 +0000 tron (svn r5399) Simplify a conditional expression: (a && b) || (!a && !b) -> a == b
Wed, 14 Jun 2006 11:05:30 +0000 tron (svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers
Sun, 23 Apr 2006 22:33:10 +0000 peter1138 (svn r4561) - NewGRF: implement most of callback 0x23: additional text in vehicle purchase windows.
Mon, 10 Apr 2006 11:14:33 +0000 peter1138 (svn r4343) [Autoreplace] Fix drawing of train list for outdated engines. Fixes FS#106