train_gui.c
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Mon, 20 Feb 2006 21:49:31 +0000 peter1138 (svn r3631) - 2cc: Remove use of some temporary variables and perform minor optimization in the form of the ternary operator.
Mon, 20 Feb 2006 09:26:07 +0000 peter1138 (svn r3620) - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles.
Sat, 11 Feb 2006 09:24:51 +0000 peter1138 (svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.
Sat, 04 Feb 2006 21:48:46 +0000 peter1138 (svn r3546) - NewGRF feature: Implement rail vehicle 'property' 0x1A: allows shuffling order of rail vehicle purchase list (and replace vehicle list)
Fri, 03 Feb 2006 12:55:21 +0000 peter1138 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files.
Thu, 02 Feb 2006 08:03:10 +0000 peter1138 (svn r3521) - Feature: Allow trains details view to be resized.
Thu, 02 Feb 2006 07:15:46 +0000 tron (svn r3520) Remove unused parameters from some functions
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Sat, 21 Jan 2006 22:09:25 +0000 peter1138 (svn r3415) - Fix: Disable the clone and refit buttons in the train view when viewing another player's vehicles, or as a spectator. (thanks to UnderBuilder for pointing this out)
Sat, 07 Jan 2006 16:47:59 +0000 peter1138 (svn r3388) - NewGRF: Allow train running cost class to differ from engine class. Also fix typo in r3384.
Fri, 06 Jan 2006 09:50:43 +0000 peter1138 (svn r3370) Improve alignment of text within total cargo tab of train view window
Thu, 05 Jan 2006 21:35:54 +0000 tron (svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
Thu, 29 Dec 2005 19:06:44 +0000 tron (svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)
Wed, 28 Dec 2005 09:40:26 +0000 peter1138 (svn r3351) Make sort criteria selection widgets in player train list consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)
Wed, 07 Dec 2005 15:48:52 +0000 peter1138 (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
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
Sun, 06 Nov 2005 13:42:26 +0000 peter1138 (svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
Sat, 05 Nov 2005 16:07:26 +0000 peter1138 (svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
Fri, 04 Nov 2005 07:38:26 +0000 peter1138 (svn r3130) Calculate shorter wagon lengths more precisely in train depot window. This affects wagon position, the scroll bar, and the train length counter. No trial and error is required to get the correct length now.
Sun, 30 Oct 2005 21:47:42 +0000 peter1138 (svn r3107) -NewGRF: Move train y-position offset adjustment to remove code duplication, and make it apply only to vehicles with a custom image.
Sat, 29 Oct 2005 20:28:43 +0000 tron (svn r3099) Copy&pasto in r3098
Fri, 28 Oct 2005 20:04:54 +0000 tron (svn r3098) static, const, uint -> TileIndex, indentation, bracing, unused return values, ... mostly related to the clone vehicle GUI
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Sat, 15 Oct 2005 16:43:18 +0000 tron (svn r3047) The parameters for the railtype check got flipped in the train build window (this caused no visible problem so far, therefore no Fix tag)
Sat, 15 Oct 2005 11:06:54 +0000 tron (svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
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
Sat, 24 Sep 2005 13:56:39 +0000 peter1138 (svn r2982) Newgrf: Added patch option for wagon speed limits. This is enabled by default.
Thu, 22 Sep 2005 10:31:09 +0000 peter1138 (svn r2969) -Newgrf: Show a wagon's speed limit in purchase list.
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
Sat, 10 Sep 2005 07:38:03 +0000 tron (svn r2932) Give the strings consisting of an up/a down arrow symbolic names
Wed, 03 Aug 2005 13:07:29 +0000 tron (svn r2799) Make the only two non-const widget lists const
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Sun, 31 Jul 2005 22:28:49 +0000 tron (svn r2772) Simplify the age notice in the vehicle details window
Sun, 31 Jul 2005 13:08:08 +0000 bjarni (svn r2764) -Feature: Clone vehicles
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
Wed, 20 Jul 2005 22:02:58 +0000 celestar (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
Sun, 17 Jul 2005 19:23:18 +0000 Darkvater (svn r2623) - CodeChange: rework DrawStringCenteredTruncated() a bit. Instead of giving center + width you give the coordinates of the bounding box (left, right) it has to fit in (ludde)
Sun, 17 Jul 2005 17:15:33 +0000 Darkvater (svn r2613) - Truncate savegames, and vehicle-texts in their window.
Sat, 16 Jul 2005 20:58:04 +0000 ludde (svn r2594) Fix: [strgen] Misc updates to the string system.
Wed, 13 Jul 2005 18:04:01 +0000 tron (svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Sun, 10 Jul 2005 01:25:17 +0000 celestar (svn r2541) -Feature: Modified IsCompatibleRail so that an engine can move on more
Mon, 27 Jun 2005 06:57:24 +0000 tron (svn r2492) Remove some pointless casts and fix some nearby indentation
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Wed, 15 Jun 2005 17:27:14 +0000 hackykid (svn r2444) - CodeChange: Add an enum for demagicifying the values of the 'flags' parameter of DrawFrameRect(). (_Abraxa_)
Tue, 07 Jun 2005 18:13:49 +0000 tron (svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]
Mon, 06 Jun 2005 22:44:11 +0000 hackykid (svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it.
Mon, 06 Jun 2005 00:19:24 +0000 hackykid (svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
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.