vehicle_gui.c
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
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Sun, 16 Oct 2005 07:58:15 +0000 tron (svn r3048) Replace 0/1/2 by RAILTYPE_RAIL/MONO/MAGLEV where appropriate
Sat, 01 Oct 2005 12:43:34 +0000 tron (svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Tue, 27 Sep 2005 18:51:04 +0000 tron (svn r2992) Use PlayerID, StationID and INVALID_STATION instead of int, int and -1
Mon, 26 Sep 2005 13:38:12 +0000 tron (svn r2988) static where static is due
Fri, 23 Sep 2005 07:44:03 +0000 peter1138 (svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Mon, 29 Aug 2005 22:27:22 +0000 Darkvater (svn r2901) Refix 'replace window' with wrong string-etc. coordinates. Also clean up, and make window-title a bit more meaningful (specify vehicle type replaced)
Sat, 20 Aug 2005 21:16:46 +0000 Darkvater (svn r2880) Fix graphical glitch in replace window (text at wrong coordinates)
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Fri, 05 Aug 2005 20:22:06 +0000 tron (svn r2812) Move variables, which only vehicle_gui.c needs to know about, there
Wed, 27 Jul 2005 10:11:45 +0000 bjarni (svn r2724) -Fix: [Autoreplace] made the pulldown menu read GetPlayer(_local_player)->avail_railtypes - this removes the need for updating this code if we add more railtypes and it also allows the menu to show maglev when monorail is not available
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Tue, 07 Jun 2005 18:13:49 +0000 tron (svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]
Tue, 07 Jun 2005 01:21:56 +0000 hackykid (svn r2429) - Fix: Oops, forgot to increase the size of the autoreplace window to fit the extra info from powered wagons.
Sun, 05 Jun 2005 23:01:10 +0000 hackykid (svn r2413) - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Thu, 26 May 2005 16:31:32 +0000 hackykid (svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers.
Sat, 14 May 2005 12:36:16 +0000 Darkvater (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
Wed, 04 May 2005 22:13:07 +0000 matthijs (svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code.
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
Wed, 13 Apr 2005 23:03:31 +0000 Darkvater (svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
Tue, 08 Mar 2005 23:20:47 +0000 Darkvater (svn r1969) - GUI: Replace vehicle dropdown menu now looks a bit more comform the ones used throughout the game.
Tue, 08 Mar 2005 21:47:22 +0000 Darkvater (svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!!
Sun, 13 Feb 2005 11:18:02 +0000 tron (svn r1867) Include tables/sprites.h only in files which need it
Sun, 06 Feb 2005 08:18:00 +0000 tron (svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Fri, 04 Feb 2005 20:40:04 +0000 tron (svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter
Fri, 04 Feb 2005 13:23:29 +0000 truelight (svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
Mon, 31 Jan 2005 11:03:23 +0000 darkvater (svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
Thu, 27 Jan 2005 11:33:14 +0000 Celestar (svn r1695) -Fix: I broke maximum speed sorting for anything but trains with the new acceleration. Sorry
Wed, 26 Jan 2005 18:18:00 +0000 bjarni (svn r1684) - Fix: [autoreplace] made sure that planes only show planes in replace GUI and helicopters only show helicopters
Wed, 26 Jan 2005 12:51:04 +0000 celestar (svn r1681) -Feature: New realistic acceleration.
Wed, 26 Jan 2005 12:42:29 +0000 bjarni (svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu
Wed, 26 Jan 2005 11:23:54 +0000 bjarni (svn r1679) Fix: dropdown menus now returns the index of the string that was clicked even if a previous item is hidden
Mon, 24 Jan 2005 08:49:14 +0000 bjarni (svn r1635) fix: forgot to set SetVScrollCount properly in autoreplace train GUI. It appears ok now
Sun, 23 Jan 2005 22:01:51 +0000 bjarni (svn r1629) added a counter to tell how many engines you have of each type to the autoreplace vehicle windows and made them show only the vehicles you actually have in the left list.
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Wed, 19 Jan 2005 19:15:03 +0000 bjarni (svn r1568) made an enum of train subtypes to make the code more readable
Sat, 15 Jan 2005 19:06:22 +0000 truelight (svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
Sat, 15 Jan 2005 01:52:23 +0000 darkvater (svn r1518) -Fix: server issue where some company names were wrong
Mon, 10 Jan 2005 12:14:15 +0000 darkvater (svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now.
Sat, 08 Jan 2005 19:34:00 +0000 dominik (svn r1434) Fix: [ 1098553 ] Crash when all vehicles from a vehicles per station list had been removed
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 18:45:28 +0000 tron (svn r1402) Trim trailing whitespace
Thu, 06 Jan 2005 15:57:26 +0000 truelight (svn r1399) -Fix: Fixes for compiling with Watcom C/C++ (ie, OS/2 port). (orudge)
Wed, 05 Jan 2005 19:28:10 +0000 bjarni (svn r1393) fix [ 1096026 ]. Autorenew trains should now hopefully work like it did before autoreplace was added