train_gui.c
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.
Sun, 05 Jun 2005 20:45:04 +0000 hackykid (svn r2412) - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch)
Sun, 05 Jun 2005 15:37:00 +0000 hackykid (svn r2411) - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time.
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
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, 11 May 2005 16:17:03 +0000 Darkvater (svn r2294) - CodeChange: check the service interval settings when changing of all vehicle-types. To simplify things introduce GetServiceIntervalClamped() that returns the same or clamped value of the new service interval. There were some inconsistencies in the gui files so I had to change those, and const correctness kicked in, so it's a bit messy at certain points.
Thu, 07 Apr 2005 01:02:15 +0000 Darkvater (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down
Fri, 11 Mar 2005 13:17:39 +0000 tron (svn r1989) -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob
Tue, 22 Feb 2005 20:32:26 +0000 Darkvater (svn r1906) - Fix: [ 1117327 ] Assertion error on kick. When a company is cleaned all its windows need to be closed. For global vehicle lists, the no-staiton index of -1 was not taken into account