rail.h
Sat, 18 Mar 2006 15:31:34 +0000 Darkvater (svn r3958) Change HASBIT() to return 0/1 instead of 0/value of tested bit. Backport of r3747 from trunk 0.4.5
Tue, 02 Jan 2007 09:54:03 +0000 celestar (svn r7739) [cbh] - Feature: Allow the construction and removal of signals on bridge heads. Warning: the signals are only displayed, they do not work yet custombridgeheads
Sat, 30 Dec 2006 12:05:05 +0000 celestar (svn r7644) [cbh] - Codechange: For custombridgeheads (those that have more than just one straight piece of track) use a foundation and the normal track drawing code custombridgeheads
Sat, 30 Dec 2006 11:57:57 +0000 celestar (svn r7643) [cbh] - Codechange: Railway bridges now store track bits just like normal rail tiles. For railway bridges, GetTileTrackStatus_Bridge just calls GetTileTrackStatus_Track custombridgeheads
Fri, 17 Nov 2006 19:31:44 +0000 KUDr (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
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.
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.
Tue, 15 Aug 2006 11:06:32 +0000 matthijs (svn r5911) -Fix [FS#215]: Discard upper bits of TrackdirBitsToTrackBits result.
Sat, 22 Jul 2006 08:59:52 +0000 tron (svn r5582) Add and use AxisToTrack{Bits,}()
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sun, 18 Jun 2006 15:28:29 +0000 tron (svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now depends on rail.h and not the other way round anymore
Sat, 27 May 2006 16:12:16 +0000 KUDr (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Mon, 22 May 2006 14:41:20 +0000 celestar (svn r4946) "Feature": Add a cheat that allows running electric engines on normal rail
Tue, 09 May 2006 08:17:33 +0000 rubidium (svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
Sun, 07 May 2006 07:01:48 +0000 tron (svn r4764) Move some functions from rail.h to rail_map.h
Sun, 23 Apr 2006 13:48:16 +0000 tron (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Mon, 17 Apr 2006 19:09:30 +0000 celestar (svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions
Wed, 12 Apr 2006 08:28:03 +0000 celestar (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir
Tue, 11 Apr 2006 10:45:06 +0000 peter1138 (svn r4354) [Elrail][NewGRF] Codechange: Drawing of custom waypoints with custom ground sprites used the index of the rail type as an offset. With the introduction of elrails this offset is incorrect, so instead there is now a lookup table within the RailTypeInfo struct to explicitly list the offset.
Tue, 11 Apr 2006 04:49:23 +0000 tron (svn r4351) Simplify ReverseTrackdir() to use a simple arithmetic operation instead of a table lookup
Mon, 10 Apr 2006 20:46:37 +0000 tron (svn r4349) Remove GetCrossingTransportType(), it's slightly overkill
Mon, 10 Apr 2006 20:38:59 +0000 tron (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h
Fri, 31 Mar 2006 16:01:59 +0000 orudge (svn r4204) - Get trunk compiling again on OS/2
Wed, 29 Mar 2006 16:30:26 +0000 celestar (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Sun, 19 Mar 2006 12:06:12 +0000 tron (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
Sat, 18 Mar 2006 13:20:50 +0000 tron (svn r3946) Add short hand names for common track combinations
Sat, 18 Mar 2006 09:06:07 +0000 tron (svn r3941) Get rid of RAIL_TYPE_SPECIAL
Fri, 17 Mar 2006 07:02:34 +0000 tron (svn r3913) Move declarations to rail_map.h so rail.h is dependent on rail_map.h and not the other way round
Fri, 17 Mar 2006 06:26:37 +0000 tron (svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; also add SetSignalType() and use the functions
Thu, 16 Mar 2006 21:44:58 +0000 tron (svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore)
Sun, 05 Mar 2006 12:34:55 +0000 tron (svn r3767) Move all direction related enums and functions to a separate header
Fri, 03 Mar 2006 19:42:09 +0000 tron (svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, because the name suggests it does the former and current behavior broke in some places in very subtle ways (for example HASBIT(x, 0) != HASBIT(y, 1) doesn't work, returning a bool after HASBIT(x, 9) neither)
Wed, 01 Mar 2006 09:40:34 +0000 tron (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Sun, 29 Jan 2006 10:50:27 +0000 Darkvater (svn r3466) - Codechange: Some changes to increase readability of signals code.
Thu, 26 Jan 2006 17:43:31 +0000 peter1138 (svn r3443) - Fix signed/unsigned comparison warning when compiling with gcc 2.95 (tokai)
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Wed, 21 Dec 2005 13:53:44 +0000 matthijs (svn r3329) - Doc: Some documentation cleanups.
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
Wed, 19 Oct 2005 08:34:37 +0000 celestar (svn r3065) -Codechange/Add: Modified the bridge drawing code so that the basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Fri, 14 Oct 2005 08:11:18 +0000 tron (svn r3040) Don't deduce the cursor sprites when building rails from magic numbers, but fetch them from the central rail info array.
Thu, 13 Oct 2005 16:00:14 +0000 tron (svn r3037) Don't deduce the sprites for tunnels and level crossings from magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
Thu, 29 Sep 2005 20:20:34 +0000 peter1138 (svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into a separate function to be used elsewhere. (Deja vu?)
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
Wed, 03 Aug 2005 11:08:13 +0000 celestar (svn r2798) -Codechange: Unified the rail toolbars into one that is modified by
Sun, 31 Jul 2005 22:53:57 +0000 celestar (svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and replaced it by a member of RailtypeInfo
Fri, 29 Jul 2005 22:13:04 +0000 ludde (svn r2756) Renamed railtypes into _railtypes
Fri, 29 Jul 2005 21:36:02 +0000 celestar (svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes.
Fri, 29 Jul 2005 19:35:23 +0000 celestar (svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around with this file and wanted to get rid of this first
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
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, 04 Jul 2005 14:58:55 +0000 hackykid (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
Sun, 03 Jul 2005 13:02:54 +0000 matthijs (svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail().
Sat, 02 Jul 2005 13:03:56 +0000 celestar (svn r2507) -Fix: Forgot to change an enum in rail.h in r2499 (thanks blathijs for
Wed, 22 Jun 2005 22:38:18 +0000 matthijs (svn r2473) - Add: VehicleMayEnterTile(), which checks if the tile owner of a tile is correct for a vehicle to enter it. Based upon glx's code.