train_gui.c
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
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.
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Sat, 19 Aug 2006 09:31:22 +0000 truelight (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Tue, 15 Aug 2006 16:49:48 +0000 rubidium (svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay.
Tue, 15 Aug 2006 15:18:03 +0000 rubidium (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
Tue, 15 Aug 2006 09:28:27 +0000 Darkvater (svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907.
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]
Sat, 12 Aug 2006 10:41:29 +0000 bjarni (svn r5853) -Fix: [elrails] FS#178 Electric Trains can leave Conventional Depot
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Wed, 28 Jun 2006 17:46:55 +0000 belugas (svn r5404) Fix (r5391) : Yet another typo. Nothing specatular :)
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Tue, 20 Jun 2006 07:07:28 +0000 peter1138 (svn r5318) - Allow room for a single pixel overflow on the first engine when drawing a train's image.
Sun, 18 Jun 2006 15:28:29 +0000 tron (svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now depends on rail.h and not the other way round anymore
Sun, 11 Jun 2006 14:56:21 +0000 tron (svn r5225) Some windows periodically check if their parent exists - if not they close themselves
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Sun, 04 Jun 2006 09:28:33 +0000 tron (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Tue, 30 May 2006 21:19:46 +0000 peter1138 (svn r5046) - Implement smooth horizontal depot scrolling by setting up a clipping area to draw the train image. This fixes a couple of usability issues when shorter wagons are used in the depot; shorter wagons scrolled at a different speed, and not all wagons were visible sometimes.
Sun, 21 May 2006 16:18:58 +0000 tron (svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID player
Sun, 21 May 2006 13:51:36 +0000 tron (svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion
Sun, 14 May 2006 20:58:12 +0000 peter1138 (svn r4869) - NewGRF: support setting train list vehicle width to 32 instead of 29 pixels, for sets which use 32 pixel long engines/wagons.
Sun, 14 May 2006 20:38:09 +0000 peter1138 (svn r4868) - Codechange: in the train detail window, don't call DrawTrainImage() for each row, as we already loop to find the vehicles to
Mon, 08 May 2006 10:01:34 +0000 peter1138 (svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration