Sat, 04 Mar 2006 13:52:52 +0000 |
tron |
(svn r3760) Replace some magic numbers for checking for a suitable slope for a level crossing by some less magic numbers. Quite similar to r3699, though this time for placing the rails
|
file |
diff |
annotate
|
Wed, 01 Mar 2006 12:31:39 +0000 |
tron |
(svn r3698) Add GetCrossingRailBits() and ComplementRoadBits(). Simplify the code by using them
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 01 Mar 2006 08:56:38 +0000 |
tron |
(svn r3696) Add functions to turn a tile into a normal rail tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring
|
file |
diff |
annotate
|
Tue, 28 Feb 2006 21:19:50 +0000 |
tron |
(svn r3689) Add functions to turn a tile into either a normal road tile, a level crossing or a road depot
|
file |
diff |
annotate
|
Thu, 23 Feb 2006 12:24:19 +0000 |
tron |
(svn r3660) Convert further road bits and type references to the functions/enums
|
file |
diff |
annotate
|
Thu, 23 Feb 2006 08:20:28 +0000 |
tron |
(svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
|
file |
diff |
annotate
|
Mon, 13 Feb 2006 21:15:00 +0000 |
tron |
(svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
|
file |
diff |
annotate
|
Mon, 06 Feb 2006 09:18:04 +0000 |
tron |
(svn r3564) Several smaller changes:
|
file |
diff |
annotate
|
Wed, 01 Feb 2006 07:36:15 +0000 |
tron |
(svn r3511) More whitespace ([FS#46] by Rubidium)
|
file |
diff |
annotate
|
Wed, 01 Feb 2006 06:32:03 +0000 |
tron |
(svn r3510) Fiddle with whitespace and parentheses
|
file |
diff |
annotate
|
Mon, 30 Jan 2006 17:18:45 +0000 |
tron |
(svn r3490) -Fix: A bunch (10) of off-by-one errors when checking if a TileIndex points to a tile on the map
|
file |
diff |
annotate
|
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)
|
file |
diff |
annotate
|
Sun, 29 Jan 2006 10:50:27 +0000 |
Darkvater |
(svn r3466) - Codechange: Some changes to increase readability of signals code.
|
file |
diff |
annotate
|
Sat, 07 Jan 2006 17:26:37 +0000 |
tron |
(svn r3389) -Fix: No fence was placed when placing fences and the neighbouring tile is a rail configuration which permits a fence but has a signal
|
file |
diff |
annotate
|
Sat, 07 Jan 2006 16:30:49 +0000 |
tron |
(svn r3387) Restructure the code, which places fences along railroad tracks.
|
file |
diff |
annotate
|
Fri, 06 Jan 2006 00:08:00 +0000 |
matthijs |
(svn r3369) - Codechange: Replace tables _signals_table, _signals_table_other and _signals_table_both by the equivalent calls to rail.h functions.
|
file |
diff |
annotate
|
Thu, 05 Jan 2006 12:40:50 +0000 |
tron |
(svn r3365) Staticise 36 functions
|
file |
diff |
annotate
|
Wed, 14 Dec 2005 06:28:48 +0000 |
tron |
(svn r3298) Remove unused and write-only variables
|
file |
diff |
annotate
|
Wed, 14 Dec 2005 06:20:23 +0000 |
tron |
(svn r3297) Staticise
|
file |
diff |
annotate
|
Sat, 10 Dec 2005 12:05:39 +0000 |
peter1138 |
(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
|
file |
diff |
annotate
|
Wed, 16 Nov 2005 22:20:15 +0000 |
peter1138 |
(svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
|
file |
diff |
annotate
|
Wed, 16 Nov 2005 14:41:01 +0000 |
truelight |
(svn r3210) -Codechange: use IsRailWaypoint where possible (instead of magicnumbers)
|
file |
diff |
annotate
|
Wed, 16 Nov 2005 14:30:24 +0000 |
peter1138 |
(svn r3209) In TileLoop_Track(), use names based on function rather than their place in the map array.
|
file |
diff |
annotate
|
Tue, 15 Nov 2005 09:47:25 +0000 |
tron |
(svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
|
file |
diff |
annotate
|
Tue, 15 Nov 2005 08:49:46 +0000 |
tron |
(svn r3184) GB/SB
|
file |
diff |
annotate
|
Mon, 14 Nov 2005 19:48:04 +0000 |
tron |
(svn r3181) -Bracing
|
file |
diff |
annotate
|
Sun, 13 Nov 2005 14:54:09 +0000 |
tron |
(svn r3173) Use the trinary operator and switch to improve readability
|
file |
diff |
annotate
|
Sat, 12 Nov 2005 00:29:13 +0000 |
peter1138 |
(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
|
file |
diff |
annotate
|
Fri, 11 Nov 2005 20:34:16 +0000 |
peter1138 |
(svn r3166) Constify read-only accesses of custom stations
|
file |
diff |
annotate
|
Sat, 05 Nov 2005 18:21:28 +0000 |
peter1138 |
(svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()
|
file |
diff |
annotate
|
Sun, 23 Oct 2005 13:04:44 +0000 |
tron |
(svn r3078) Some more stuff, which piled up:
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Thu, 20 Oct 2005 17:43:13 +0000 |
tron |
(svn r3073) int/byte -> EngineID/PlayerID/VehicleID
|
file |
diff |
annotate
|
Wed, 19 Oct 2005 14:49:46 +0000 |
tron |
(svn r3066) Constify the parameter of GetSlopeZ_*()
|
file |
diff |
annotate
|
Sun, 16 Oct 2005 09:13:04 +0000 |
tron |
(svn r3049) Replace byte/int/uint by RailType where appropriate
|
file |
diff |
annotate
|
Mon, 10 Oct 2005 10:36:37 +0000 |
tron |
(svn r3028) s/255/OWNER_SPECTATOR/
|
file |
diff |
annotate
|
Fri, 07 Oct 2005 15:53:33 +0000 |
Darkvater |
(svn r3025) -Fix: Rail convert issue introduced in r3019
|
file |
diff |
annotate
|
Wed, 05 Oct 2005 07:20:26 +0000 |
tron |
(svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
|
file |
diff |
annotate
|
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?)
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 14 Sep 2005 18:03:38 +0000 |
Darkvater |
(svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
|
file |
diff |
annotate
|
Tue, 13 Sep 2005 12:19:27 +0000 |
truelight |
(svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special
|
file |
diff |
annotate
|
Thu, 25 Aug 2005 16:53:51 +0000 |
tron |
(svn r2890) Fix some signed/unsigned comparison warnings (tokai)
|
file |
diff |
annotate
|
Mon, 01 Aug 2005 16:31:19 +0000 |
ludde |
(svn r2781) Fix some of the issues with variables in .h files.
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Fri, 29 Jul 2005 22:13:04 +0000 |
ludde |
(svn r2756) Renamed railtypes into _railtypes
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Sun, 24 Jul 2005 15:56:31 +0000 |
celestar |
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
|
file |
diff |
annotate
|
Sun, 24 Jul 2005 14:12:37 +0000 |
tron |
(svn r2701) Insert Id tags into all source files
|
file |
diff |
annotate
|
Fri, 22 Jul 2005 07:02:20 +0000 |
tron |
(svn r2673) Include functions.h directly, not globally via openttd.h
|
file |
diff |
annotate
|
Wed, 20 Jul 2005 22:05:13 +0000 |
celestar |
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
|
file |
diff |
annotate
|
Wed, 20 Jul 2005 15:29:28 +0000 |
tron |
(svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
|
file |
diff |
annotate
|
Sun, 17 Jul 2005 18:48:45 +0000 |
hackykid |
(svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status.
|
file |
diff |
annotate
|
Sat, 16 Jul 2005 23:47:37 +0000 |
celestar |
(svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Thu, 07 Jul 2005 22:15:34 +0000 |
Darkvater |
(svn r2529) - Fix: PBS signals showed up as normal signals with the query tool
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Mon, 04 Jul 2005 10:01:06 +0000 |
celestar |
(svn r2515) -Codechange: Removed a good deal of magic sprite numbers in the rail drawing code, and placed neatly into arrays and enums. This also makes way to implement more railtypes without having to do tons of ugly hacks.
|
file |
diff |
annotate
|
Fri, 01 Jul 2005 15:46:27 +0000 |
tron |
(svn r2505) Remove some unnecessary #includes
|
file |
diff |
annotate
|