vehicle_gui.c
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
Sat, 01 Apr 2006 15:19:16 +0000 peter1138 (svn r4229) [elrail & autoreplace] Always show compatible rail vehicles in the left list, and only the selected rail type in the right list, to
Fri, 31 Mar 2006 12:59:43 +0000 peter1138 (svn r4201) - Codechange: Do for _engine_info[] what we do for _*_vehicle_info[]; create and use a function to retrieve data, and ensure constness.
Wed, 29 Mar 2006 16:30:26 +0000 celestar (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Mon, 20 Feb 2006 09:26:07 +0000 peter1138 (svn r3620) - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles.
Fri, 17 Feb 2006 16:42:08 +0000 tron (svn r3610) And one more (see r3608/r3609)
Fri, 17 Feb 2006 16:39:24 +0000 tron (svn r3609) Some more simplification in the same function as r3608
Fri, 17 Feb 2006 16:24:56 +0000 tron (svn r3608) No functional change, just make some code more comprehensible: Reduce variable scope, remove write-only variables, turn do-while-loops with multiple induction variables into canonical for-loops
Tue, 14 Feb 2006 09:31:05 +0000 peter1138 (svn r3605) - Remove silly macro and fix indenting in DrawVehicleRefitWindow()
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Sat, 04 Feb 2006 21:48:46 +0000 peter1138 (svn r3546) - NewGRF feature: Implement rail vehicle 'property' 0x1A: allows shuffling order of rail vehicle purchase list (and replace vehicle list)
Sat, 04 Feb 2006 18:25:07 +0000 bjarni (svn r3535) -Feature: [autoreplace] allow autoreplacing of train wagons
Fri, 03 Feb 2006 18:32:59 +0000 peter1138 (svn r3528) - Feature: Allow sorting of vehicle lists by model or value (based on meush's work)
Fri, 03 Feb 2006 12:55:21 +0000 peter1138 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files.