train_gui.c
Thu, 16 Nov 2006 20:52:39 +0000 KUDr (svn r7178) -Fix: forgotten pointer dereferences (Bjarni, Bjarni, Bjarni, ...)
Thu, 16 Nov 2006 13:59:26 +0000 KUDr (svn r7167) -Fix: [FS#367] Crash: engine.h:194: RailVehInfo: Assertion (reported by skidd13)
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, 24 Oct 2006 16:27:18 +0000 Darkvater (svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138
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 13:20:54 +0000 Darkvater (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names.
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)
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Fri, 20 Oct 2006 19:48:25 +0000 peter1138 (svn r6858) - Fix (r6855): Handle rail vehicles with no capacity (N/A) by setting cargo type to CT_INVALID and handling it later. STR_8838_N_A is not a valid cargo type...
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.
Tue, 17 Oct 2006 17:10:39 +0000 peter1138 (svn r6801) - Fix (r6619): Always disable the train refit button. It will be enabled later if refitting is possible.
Tue, 17 Oct 2006 07:33:05 +0000 peter1138 (svn r6794) - Fix: In the train detail window, split up articulated parts if they can contain cargo. This allows us to show the full cargo contents.
Thu, 12 Oct 2006 15:39:33 +0000 Darkvater (svn r6760) -Codechange: Do a case insensitive sort of train engine names and just normally
Thu, 12 Oct 2006 15:38:37 +0000 Darkvater (svn r6759) -Codechange: Remove the brainheaded usage of STR_JUST_STRING to pass a StringID
Wed, 11 Oct 2006 18:44:02 +0000 peter1138 (svn r6737) - Codechange: Sort train engines by their NewGRF specified list position instead of plain EngineID. This brings us back the custom order that was lost when generalized sorting was introduced.
Tue, 10 Oct 2006 08:34:14 +0000 bjarni (svn r6716) -Code cleanup: [aircraft/train build windows] fixed a spelling mistake in the widget names (the game itself is unaffected by this)
Tue, 10 Oct 2006 08:14:30 +0000 bjarni (svn r6714) -Codechange: replaced a direct manipulation of windows with InvalidateWindowData() in rail_cmd.c
Tue, 10 Oct 2006 07:56:23 +0000 bjarni (svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types
Mon, 09 Oct 2006 21:42:18 +0000 bjarni (svn r6709) -Fix r6679: [build train window] solved an issue that could lead to trailing empty blocks in the list array
Mon, 09 Oct 2006 20:16:56 +0000 bjarni (svn r6707) -Feature: [build aircraft window] added buttons to view propeller planes, jet planes or helicopters
Sat, 07 Oct 2006 22:58:25 +0000 bjarni (svn r6684) -Feature: [train build window] added sorting options for the engines
Sat, 07 Oct 2006 20:31:38 +0000 KUDr (svn r6683) -Fix: '<' signed unsigned mismatch produced by VC8
Sat, 07 Oct 2006 15:04:22 +0000 bjarni (svn r6681) -Fix: when vehicles never expire they will stay at peak reliability instead of the lowest to make them useful even when old
Sat, 07 Oct 2006 14:30:13 +0000 bjarni (svn r6680) -Codechange r6679: [train build window] only generate the list when the window data is invalidated or the window is generated, not on each redraw
Sat, 07 Oct 2006 13:58:08 +0000 bjarni (svn r6679) -Feature: [train build window] added filter for wagons, engines or both in the display
Sat, 07 Oct 2006 09:02:48 +0000 bjarni (svn r6678) -Code cleanup: [train build window] made an enum with widget names and fixed some incorrect indents
Thu, 05 Oct 2006 11:26:59 +0000 peter1138 (svn r6649) - Codechange: Show more correct capacity of articulated wagons in the train purchase list.
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 00:28:31 +0000 belugas (svn r6612) -Codechange: Use accessors for hidden_state.
Thu, 28 Sep 2006 23:05:03 +0000 bjarni (svn r6562) -Codechange: merged the vehicle list window widget arrays
Wed, 27 Sep 2006 07:23:38 +0000 bjarni (svn r6518) -Codechange: unified the vehicle refit windows
Tue, 26 Sep 2006 16:47:51 +0000 bjarni (svn r6513) -Codechange: unified the code to draw depot windows
Sun, 24 Sep 2006 15:01:02 +0000 bjarni (svn r6503) -Codechange: added a function to tell what vehicles a depot contains
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, 22 Sep 2006 23:13:12 +0000 bjarni (svn r6497) -Fix r6165: Vehicles heading for depots when their orders contained "service in depot" displayed the stopping in depot string
Mon, 04 Sep 2006 15:44:28 +0000 Darkvater (svn r6379) -Codechange: cast 'remove babel' on widget's unkA and rename it to 'data'.
Sun, 03 Sep 2006 23:14:39 +0000 bjarni (svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE
Sun, 03 Sep 2006 19:09:17 +0000 tron (svn r6359) -Fix: Do not reset the current cursor action when centering on a depot/hangar (noticed by Neonox)
Sun, 03 Sep 2006 08:25:27 +0000 tron (svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
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 15:57:38 +0000 Darkvater (svn r6280) -Codechange: Use the same naming for trains as for other vehicles:
Thu, 31 Aug 2006 15:22:03 +0000 tron (svn r6277) Clean up the train details drawing routine
Wed, 30 Aug 2006 16:32:00 +0000 bjarni (svn r6239) -Code cleanup: cleaned up PlayerVehWndProc
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 07:33:51 +0000 tron (svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
Mon, 28 Aug 2006 06:13:16 +0000 bjarni (svn r6181) -Fix r6161: The list of vehicles using a certain station got a bit of display code mixed up with the list of vehicles with shared orders (nycom)
Sun, 27 Aug 2006 10:04:02 +0000 bjarni (svn r6168) -Code cleanup r6161: removed a newline and added a tab. Thanks TrueLight
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
Sun, 27 Aug 2006 09:28:52 +0000 bjarni (svn r6165) -Feature: control click Goto Depot will now make the vehicle service
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 15:23:25 +0000 belugas (svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label