roadveh_gui.c
Fri, 01 Dec 2006 00:09:13 +0000 Darkvater (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
Sat, 18 Nov 2006 17:04:44 +0000 Darkvater (svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after
Tue, 14 Nov 2006 00:02:02 +0000 glx (svn r7142) -Fix: disable clone button in vehicle view for not owned vehicles (was already done for trains)
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.
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)
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, 10 Oct 2006 08:24:29 +0000 bjarni (svn r6715) -Fix r6714: roadvehicle and ship building windows are now also marked dirty when getting a WE_INVALIDATE_DATA event
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
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 08:11:08 +0000 tron (svn r6258) Reduce the number of induction variables and inner scopes for clarity
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 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 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]
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, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
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.
Fri, 09 Jun 2006 07:45:26 +0000 peter1138 (svn r5191) - NewGRF: add cargo refit support for road vehicles
Mon, 05 Jun 2006 10:26:38 +0000 tron (svn r5119) -Fix: If a road vehicle is on a road depot tile and stopped doesn't mean it's in the depot. Use the proper test for this
Mon, 05 Jun 2006 10:23:18 +0000 tron (svn r5118) Add IsRoadVehInDepot{Stopped,}()
Sun, 04 Jun 2006 09:28:33 +0000 tron (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
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