Wed, 12 Apr 2006 12:12:51 +0000 |
celestar |
(svn r4380) -Codechange: Make use of GetTrackBits where appropriate
|
file |
diff |
annotate
|
Wed, 12 Apr 2006 11:58:07 +0000 |
celestar |
(svn r4379) -Codechange: Add and make use of map accessor functions concerning rail ground types
|
file |
diff |
annotate
|
Wed, 12 Apr 2006 09:36:27 +0000 |
celestar |
(svn r4378) -Add and make use of an accessor function two-way => one-way => one-way => two-way signal cycling
|
file |
diff |
annotate
|
Wed, 12 Apr 2006 09:12:33 +0000 |
celestar |
(svn r4377) -Add and make use of a function that finds out whether a signal is an entry or and exit signal to a presignal block (as combos act as both)
|
file |
diff |
annotate
|
Wed, 12 Apr 2006 08:28:03 +0000 |
celestar |
(svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir
|
file |
diff |
annotate
|
Wed, 12 Apr 2006 08:06:08 +0000 |
celestar |
(svn r4375) -Codechange: Move the signal drawing bit to an own function and rename DrawSignalHelper to DrawSingleSignal
|
file |
diff |
annotate
|
Tue, 11 Apr 2006 13:19:05 +0000 |
celestar |
(svn r4358) -Codechange: Don't use a TileInfo where a TileIndex will do
|
file |
diff |
annotate
|
Tue, 11 Apr 2006 13:10:16 +0000 |
celestar |
(svn r4357) -Codechange: Moved global _signal_base_sprites into the only function where it is used and use a better array arrangement for it
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Tue, 11 Apr 2006 10:19:50 +0000 |
celestar |
(svn r4353) Codechange: Move global _signal_position into the only function that uses it and convert the bit-hacking into a struct
|
file |
diff |
annotate
|
Mon, 10 Apr 2006 12:36:04 +0000 |
tron |
(svn r4344) Use tile coordinates or even TileIndices instead of virtual tile coordinates where it suffices.
|
file |
diff |
annotate
|
Mon, 10 Apr 2006 07:15:58 +0000 |
tron |
(svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
|
file |
diff |
annotate
|
Sun, 09 Apr 2006 17:50:00 +0000 |
celestar |
(svn r4337) -Fix: A problem where GetRailType was called instead of GetRailTileType. Thanks to glx for noticing
|
file |
diff |
annotate
|
Sun, 09 Apr 2006 09:29:50 +0000 |
tron |
(svn r4332) Turn a table lookup into a ternary operator
|
file |
diff |
annotate
|
Mon, 03 Apr 2006 18:11:42 +0000 |
Darkvater |
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
|
file |
diff |
annotate
|
Sun, 02 Apr 2006 12:49:18 +0000 |
tron |
(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
|
file |
diff |
annotate
|
Thu, 30 Mar 2006 19:16:44 +0000 |
belugas |
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
|
file |
diff |
annotate
|
Wed, 29 Mar 2006 20:06:31 +0000 |
belugas |
(svn r4156) CodeChange : Little cleanup after Celestar's elrail merge
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Sun, 26 Mar 2006 11:08:44 +0000 |
tron |
(svn r4111) Fix/Remove some stale comments
|
file |
diff |
annotate
|
Fri, 24 Mar 2006 12:00:24 +0000 |
tron |
(svn r4085) Add GetTown{Index,ByTile}() to get the town index resp. the town from a tile
|
file |
diff |
annotate
|
Tue, 21 Mar 2006 22:06:32 +0000 |
tron |
(svn r4000) Rewrite GetSlope{Tileh,Z}_{Road,Track} in a less confusing way
|
file |
diff |
annotate
|
Tue, 21 Mar 2006 21:11:41 +0000 |
peter1138 |
(svn r3998) - Fix: When removing rail track from a while where only X and Y (/ and \) pieces exist, explicitly update signals in both directions.
|
file |
diff |
annotate
|
Mon, 20 Mar 2006 16:43:48 +0000 |
celestar |
(svn r3992) -Fix: Rewrote the code to determine whether a rail-tile can be terraformed.
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 19:56:57 +0000 |
tron |
(svn r3988) Remove the info about valid rails on shore tiles. It's the same as for any other sloped tile
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 19:33:19 +0000 |
tron |
(svn r3986) Add [GS]etCrossingRoadOwner
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 17:52:02 +0000 |
tron |
(svn r3985) Make CmdBuildSingleRail() a bit more comprehensible
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 16:57:48 +0000 |
tron |
(svn r3983) Use existing functions to access tree and road info
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 14:43:23 +0000 |
tron |
(svn r3982) Fix last commit. I got confused by some strange test, which did nothing
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 13:48:08 +0000 |
tron |
(svn r3981) More work for the rail accessing functions and enums
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 06:50:19 +0000 |
tron |
(svn r3976) Fix typo in r3946
|
file |
diff |
annotate
|
Sat, 18 Mar 2006 13:20:50 +0000 |
tron |
(svn r3946) Add short hand names for common track combinations
|
file |
diff |
annotate
|
Sat, 18 Mar 2006 11:38:43 +0000 |
tron |
(svn r3942) GetRailType() != GetRailTileType(), fix r3941
|
file |
diff |
annotate
|
Sat, 18 Mar 2006 09:06:07 +0000 |
tron |
(svn r3941) Get rid of RAIL_TYPE_SPECIAL
|
file |
diff |
annotate
|
Fri, 17 Mar 2006 10:10:31 +0000 |
tron |
(svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Thu, 16 Mar 2006 21:44:58 +0000 |
tron |
(svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore)
|
file |
diff |
annotate
|
Thu, 16 Mar 2006 15:16:27 +0000 |
tron |
(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
|
file |
diff |
annotate
|
Wed, 15 Mar 2006 21:27:19 +0000 |
Darkvater |
(svn r3893) - Fix: Properly set back the owner of a crossing/road-under bridge after removing it. For crossings we can always use .m2 because it is already 0 when not owned by a town.
|
file |
diff |
annotate
|
Tue, 14 Mar 2006 23:28:04 +0000 |
Darkvater |
(svn r3876) - Fix: We know on a level crossing's town owner of the road (if any); it is in m2 so properly set it back when the crossing's removed.
|
file |
diff |
annotate
|
Mon, 13 Mar 2006 20:12:35 +0000 |
tron |
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
|
file |
diff |
annotate
|
Mon, 13 Mar 2006 12:55:20 +0000 |
tron |
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
|
file |
diff |
annotate
|
Sun, 12 Mar 2006 16:13:16 +0000 |
tron |
(svn r3831) Add and use GetRailDepotDirection()
|
file |
diff |
annotate
|
Sun, 12 Mar 2006 15:04:03 +0000 |
tron |
(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
|
file |
diff |
annotate
|
Thu, 09 Mar 2006 12:32:25 +0000 |
tron |
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
|
file |
diff |
annotate
|
Wed, 08 Mar 2006 06:55:33 +0000 |
tron |
(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
|
file |
diff |
annotate
|
Mon, 06 Mar 2006 20:55:24 +0000 |
tron |
(svn r3777) Add some functions to handle tunnels
|
file |
diff |
annotate
|
Mon, 06 Mar 2006 20:28:28 +0000 |
tron |
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
|
file |
diff |
annotate
|
Sun, 05 Mar 2006 10:19:33 +0000 |
tron |
(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
|
file |
diff |
annotate
|
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
|