src/build_vehicle_gui.cpp
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Sun, 04 Nov 2007 00:08:57 +0000 belugas (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Sat, 20 Oct 2007 14:51:09 +0000 rubidium (svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
Fri, 05 Oct 2007 22:13:35 +0000 glx (svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
Mon, 17 Sep 2007 04:23:03 +0000 rubidium (svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
Mon, 27 Aug 2007 21:33:26 +0000 rubidium (svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" group. Patch by frosch.
Sun, 29 Jul 2007 22:58:59 +0000 rubidium (svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.
Fri, 27 Jul 2007 12:49:04 +0000 rubidium (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Tue, 17 Jul 2007 06:56:09 +0000 peter1138 (svn r10603) -Codechange: avoid direct access to _engine_info
Sat, 14 Jul 2007 23:10:27 +0000 rubidium (svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
Fri, 13 Jul 2007 19:06:12 +0000 truelight (svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted
Fri, 13 Jul 2007 14:51:55 +0000 truelight (svn r10546) -Fix [FS#1026]: you can now have both Available Train as Available Ship window open
Mon, 25 Jun 2007 14:46:32 +0000 peter1138 (svn r10324) -Codechange: reference engine names by index
Fri, 22 Jun 2007 10:57:53 +0000 truelight (svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action
Thu, 21 Jun 2007 17:25:17 +0000 rubidium (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
Thu, 21 Jun 2007 14:54:51 +0000 rubidium (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
Thu, 21 Jun 2007 14:32:27 +0000 rubidium (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
Sat, 02 Jun 2007 15:47:38 +0000 bjarni (svn r10025) -Fix: [build windows] sorting planes for capacity didn't check mail capacity. Now mail capacity is used if passenger capacity is the same
Sat, 02 Jun 2007 15:41:37 +0000 bjarni (svn r10024) -Feature: [build windows] trains, road vehicles and ships can now be sorted by cargo capacity (planes already had this option)
Fri, 01 Jun 2007 11:41:02 +0000 maedhros (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
Fri, 25 May 2007 08:13:01 +0000 rubidium (svn r9917) -Codechange: prepare some more areas for more road types.
Sat, 19 May 2007 09:40:18 +0000 rubidium (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
Fri, 18 May 2007 17:31:41 +0000 rubidium (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
Sat, 12 May 2007 07:05:34 +0000 peter1138 (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
Mon, 07 May 2007 16:38:21 +0000 peter1138 (svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships.
Mon, 07 May 2007 13:26:10 +0000 peter1138 (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types.
Fri, 20 Apr 2007 21:42:06 +0000 peter1138 (svn r9703) -Codechange: support callback 36 in vehicle purchase lists
Wed, 18 Apr 2007 22:10:36 +0000 rubidium (svn r9672) -Cleanup: lots of coding style fixes around operands.
Mon, 26 Mar 2007 12:28:44 +0000 maedhros (svn r9476) -Codechange: Make build windows for all vehicle types the same width.
Mon, 26 Mar 2007 11:41:14 +0000 maedhros (svn r9475) -Codechange: Allow the purchase details widget to expand dynamically if there's still not enough room for the text.
Mon, 26 Mar 2007 08:55:45 +0000 maedhros (svn r9474) -Fix (r8378): Expand the details widget in the vehicle build windows again to make room for all the text.
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Tue, 06 Mar 2007 22:11:58 +0000 bjarni (svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares the code to figure out if an aircraft is buildable in the hangar in question
Fri, 02 Mar 2007 12:01:24 +0000 celestar (svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
Fri, 23 Feb 2007 11:50:43 +0000 belugas (svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
Tue, 20 Feb 2007 22:09:21 +0000 peter1138 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
Tue, 20 Feb 2007 06:39:09 +0000 tron (svn r8822) -Fix
Sat, 17 Feb 2007 18:38:35 +0000 bjarni (svn r8787) -Change r8771: allow fast aircraft in small airports
Sat, 17 Feb 2007 16:07:45 +0000 bjarni (svn r8783) -Fix r8771: aircraft vehicle subtype and aircraft engine subtype aren't the same (even though they both tell if it's a plane or helicopter)
Sat, 17 Feb 2007 12:45:15 +0000 bjarni (svn r8771) -Fix r8343: build aircraft windows will no longer show aircraft that can't use the airport in question
Fri, 16 Feb 2007 09:38:43 +0000 tron (svn r8755) -Fix
Thu, 15 Feb 2007 20:58:45 +0000 bjarni (svn r8749) -Regression r8331: fixed signed/unsigned issue that could create too many lines in build vehicle windows and crash the game
Thu, 15 Feb 2007 20:16:33 +0000 tron (svn r8747) -Fix
Thu, 15 Feb 2007 17:51:39 +0000 bjarni (svn r8746) -Regression r8331: build train window could sort incorrectly by EngineID with certain newGRF sets
Wed, 07 Feb 2007 19:10:19 +0000 bjarni (svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
Tue, 06 Feb 2007 11:11:12 +0000 bjarni (svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
Thu, 01 Feb 2007 15:49:12 +0000 rubidium (svn r8511) -Codechange: make WindowClass an enumerated value.
Tue, 30 Jan 2007 21:10:04 +0000 peter1138 (svn r8464) -Revert (r4322): Change back to converting to mph in the GUI code, as 1 mph == 1.6 km/h is too far out for some people.
Tue, 30 Jan 2007 17:19:58 +0000 bjarni (svn r8460) -Fix (r8455): the build train window put locomotives and wagons in appeantly random order
Tue, 30 Jan 2007 11:53:35 +0000 belugas (svn r8455) -Codechange: Give a more meaningful name (railveh_type)to member flags of RailVehInfo, as well as changing the code to reflect the fact that it was not a flag but rather a one value only variable. Doing so, some evaluations have been simplified.
Wed, 24 Jan 2007 14:32:20 +0000 bjarni (svn r8390) -Codechange (r8384): Rewrote ResizeButtons()
Wed, 24 Jan 2007 07:14:09 +0000 tron (svn r8385) -Fix
Wed, 24 Jan 2007 02:36:55 +0000 bjarni (svn r8384) -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added
Tue, 23 Jan 2007 21:24:26 +0000 bjarni (svn r8381) -Fix (r8377): [build vehicle window] cleaned up the train refitable detection. It had two variables doing the same thing, but not always set to the same (oops)
Tue, 23 Jan 2007 20:55:04 +0000 bjarni (svn r8379) -Cleanup: [build vehicle window] removed overloading with DrawVehiclePurchaseInfo() and renamed them into type specific names
Tue, 23 Jan 2007 20:23:13 +0000 bjarni (svn r8378) -Fix (r8331): [build vehicle window] extended the widget with the details with one line since some newgrf trains needs it
Tue, 23 Jan 2007 20:01:04 +0000 bjarni (svn r8377) -Fix (r8331): [build vehicle window] train cargo capacity now only add "(refitable)" if the engine in question is refitable
Tue, 23 Jan 2007 01:00:56 +0000 bjarni (svn r8364) -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains
Mon, 22 Jan 2007 23:23:30 +0000 bjarni (svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own
Mon, 22 Jan 2007 14:08:14 +0000 bjarni (svn r8343) -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without