map.h
Sun, 25 Dec 2005 19:44:23 +0000 tron (svn r3342) Remove some cruft
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, 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
Fri, 09 Sep 2005 23:14:38 +0000 matthijs (svn r2929) * Move DistanceTrack from map.c to npf.c and rename to NPFDistanceTrack.
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
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Wed, 13 Jul 2005 19:51:31 +0000 ludde (svn r2560) Fix: various minor code changes.
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.
Sat, 25 Jun 2005 16:44:57 +0000 tron (svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Thu, 16 Jun 2005 18:04:02 +0000 matthijs (svn r2448) General cleanup of rail related code, more to follow.
Mon, 11 Apr 2005 20:19:41 +0000 matthijs (svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding...
Mon, 11 Apr 2005 19:14:48 +0000 matthijs (svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
Sun, 06 Mar 2005 12:46:29 +0000 tron (svn r1937) TILE_FROM_XY() returns a TileIndex, not an int
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
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
Mon, 31 Jan 2005 11:23:10 +0000 matthijs (svn r1751) - Feature: New PathFinder (NPF).
Mon, 31 Jan 2005 07:23:15 +0000 tron (svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
Sat, 29 Jan 2005 19:45:14 +0000 tron (svn r1722) -Feature: Bigger maps - anyone?
Sat, 29 Jan 2005 13:33:14 +0000 tron (svn r1714) Add missing include
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
Fri, 28 Jan 2005 15:31:04 +0000 tron (svn r1706) Implement ScaleByMapSize() and ScaleByMapSize1D()
Tue, 25 Jan 2005 21:43:57 +0000 tron (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change
Tue, 18 Jan 2005 18:41:56 +0000 tron (svn r1560) Introduce SetTileType() and SetTileHeight()
Sun, 16 Jan 2005 14:50:01 +0000 tron (svn r1545) Add TileHeight() which returns the height (not multiplied by 8)
Sun, 16 Jan 2005 14:06:22 +0000 tron (svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Sun, 16 Jan 2005 11:24:58 +0000 tron (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Mon, 10 Jan 2005 22:14:35 +0000 tron (svn r1475) Fix some more signed/unsigned comparison warnings
Sun, 09 Jan 2005 17:55:11 +0000 tron (svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic
Fri, 07 Jan 2005 17:40:23 +0000 tron (svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits from map.h into map.c.
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Thu, 06 Jan 2005 11:39:00 +0000 tron (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Wed, 05 Jan 2005 13:32:03 +0000 tron (svn r1386) Move TileIndexDiff to map.h
Mon, 03 Jan 2005 18:59:58 +0000 tron (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
Mon, 03 Jan 2005 12:56:22 +0000 tron (svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY]
Tue, 28 Dec 2004 11:51:31 +0000 truelight (svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
Fri, 17 Dec 2004 09:01:24 +0000 tron (svn r1144) Don't rely on sizeof() to determine the map size, use MapSize() instead
Thu, 16 Dec 2004 12:30:13 +0000 tron (svn r1130) Add helper functions to query map size
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h