vehicle_gui.c
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.
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Thu, 05 Jan 2006 16:51:10 +0000 tron (svn r3366) Make an unnecessarily global variable local
Mon, 02 Jan 2006 19:55:09 +0000 peter1138 (svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command.
Thu, 29 Dec 2005 12:42:59 +0000 tron (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
Wed, 14 Dec 2005 06:28:48 +0000 tron (svn r3298) Remove unused and write-only variables
Tue, 13 Dec 2005 12:31:48 +0000 peter1138 (svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up.
Tue, 13 Dec 2005 09:57:07 +0000 peter1138 (svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate.
Wed, 07 Dec 2005 15:48:52 +0000 peter1138 (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
Sat, 26 Nov 2005 16:41:14 +0000 peter1138 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Sun, 06 Nov 2005 13:42:26 +0000 peter1138 (svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
Sun, 30 Oct 2005 21:35:48 +0000 peter1138 (svn r3106) -Autoreplace feature: Continue to show old vehicles in replace window after all player's vehicles of that type have been replaced. This allows the replacement to be removed. These vehicles are shown in grey instead of the player's colour.
Tue, 25 Oct 2005 19:52:25 +0000 peter1138 (svn r3089) Fix possible issue with out-of-bounds array access in replace vehicle gui, and add brief commenting.
Mon, 24 Oct 2005 20:12:39 +0000 bjarni (svn r3082) made ChangeVehicleViewWindow() more readable (added in last commit)
Mon, 24 Oct 2005 19:40:48 +0000 bjarni (svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Tue, 18 Oct 2005 11:23:58 +0000 tron (svn r3059) Use bitfields to encode railtype and climates of engines instead of manual shifting/anding