tile.h
Wed, 22 Mar 2006 10:32:07 +0000 celestar (svn r4012) -Backport from trunk (3992, 3995): Rewrote the code to determine whether a rail-tile can be terraformed. 0.4.5
Thu, 28 Dec 2006 17:21:22 +0000 celestar (svn r7597) [cbh] - Codechange: Remove MP_TUNNELBRIDGE and introduce three new TileTypes: MP_TUNNEL, MP_STREET_BRIDGE, MP_RAILWAY_BRIDGE custombridgeheads
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, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sun, 25 Jun 2006 17:39:19 +0000 tron (svn r5363) Revert 5312, 5288, 5248, 3992, 3249, 3228
Sat, 10 Jun 2006 21:06:29 +0000 tron (svn r5221) Make the assertion in SetTileType() more strict: "lower edge of map <=> VOID" instead of just "lower edge of map => VOID"
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.
Tue, 09 May 2006 09:56:09 +0000 tron (svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does
Sun, 07 May 2006 07:55:05 +0000 tron (svn r4765) Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places
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
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.
Mon, 20 Mar 2006 16:43:48 +0000 celestar (svn r3992) -Fix: Rewrote the code to determine whether a rail-tile can be terraformed.
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
Sun, 05 Mar 2006 12:34:55 +0000 tron (svn r3767) Move all direction related enums and functions to a separate header
Sun, 05 Mar 2006 12:22:20 +0000 tron (svn r3766) Add a function to get the RoadBits from an arbitrary tile
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
Sat, 28 Jan 2006 09:45:25 +0000 matthijs (svn r3455) * Assert against modifying the outer border of a map into anything but MP_VOID. This might detect a bug that has been there for quite some time, if it hasn't been fixed already.
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
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
Tue, 23 Aug 2005 18:47:04 +0000 tron (svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Tue, 19 Jul 2005 11:42:40 +0000 ludde (svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
Sat, 16 Jul 2005 23:47:37 +0000 celestar (svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
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.
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.
Fri, 17 Jun 2005 00:22:46 +0000 matthijs (svn r2450) * Codechange: Replaced all uses of the arrays in tile.h with calls to the associated wrapper functions.
Thu, 16 Jun 2005 18:04:02 +0000 matthijs (svn r2448) General cleanup of rail related code, more to follow.
Tue, 07 Jun 2005 21:37:00 +0000 Darkvater (svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
Sat, 04 Jun 2005 12:13:24 +0000 tron (svn r2408) Introduce SetTileOwner() and use it
Fri, 03 Jun 2005 22:43:59 +0000 tron (svn r2404) assert that GetTileOwner() isn't called for tiles, which don't store owner information
Sun, 22 May 2005 07:12:09 +0000 tron (svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
Mon, 02 May 2005 18:53:06 +0000 matthijs (svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx)
Tue, 22 Feb 2005 12:48:03 +0000 tron (svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
Mon, 07 Feb 2005 10:41:45 +0000 tron (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
Mon, 07 Feb 2005 10:09:28 +0000 tron (svn r1837) GetTileOwner returns Owner, not bool
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
Sat, 29 Jan 2005 15:12:40 +0000 tron (svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
Sat, 29 Jan 2005 13:33:48 +0000 tron (svn r1715) Move [GS]etMapExtraBits to tile.[ch]
Sat, 29 Jan 2005 12:19:05 +0000 tron (svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h