landscape.c
Fri, 22 Jun 2007 20:20:36 +0000 glx (svn r10281) [0.5] -Backport from trunk (r10186, r10229, r10251): 0.5
Sat, 28 Oct 2006 14:06:40 +0000 tron (svn r6993) -Regression (r5833): Rails/roads on steep slopes incorrectly show a foundation edge if the NE/NW adjacent tile is a steep tile
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.
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Sat, 12 Aug 2006 12:56:45 +0000 tron (svn r5864) -Feature: Also allow horizontal and vertical rails on steep slopes
Thu, 10 Aug 2006 14:44:32 +0000 tron (svn r5833) -Feature: Allow building of (certain) rails, roads and bridge ramps on steep sloped tiles
Tue, 08 Aug 2006 12:30:55 +0000 tron (svn r5810) Shuffle some constants for clarity and remove a case which cannot occur in DrawFoundation()
Mon, 07 Aug 2006 17:32:29 +0000 tron (svn r5806) Inline FindLandscapeHeight() into its only remaining caller and remove the attribute "type" from struct TileInfo
Sun, 06 Aug 2006 16:32:49 +0000 tron (svn r5794) Pass the TileIndex plus x and y coordinates into GetSlopeZ_* instead of a TileInfo
Sun, 30 Jul 2006 07:42:37 +0000 tron (svn r5641) -Fix: Adjust/correct some bounding boxes. This fixes some graphical glitches near bridges
Sat, 24 Jun 2006 22:19:28 +0000 tron (svn r5351) -Fix: Several graphical glitches at adjacent tiles with foundations. Some borders were missing, some were superfluous
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
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 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
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
Wed, 12 Apr 2006 12:58:53 +0000 celestar (svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
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.
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
Tue, 04 Apr 2006 21:35:13 +0000 tron (svn r4279) s/\<CL_/CLEAR_/
Mon, 03 Apr 2006 09:07:21 +0000 celestar (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Sun, 02 Apr 2006 12:49:18 +0000 tron (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
Sun, 02 Apr 2006 07:30:01 +0000 tron (svn r4231) Remove ModifyTile(), it's not used anymore, yay!
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.
Wed, 22 Mar 2006 19:16:58 +0000 tron (svn r4028) The last external user of FindLandscapeHeightByTile() is gone (r4027).
Sun, 05 Mar 2006 10:19:33 +0000 tron (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
Wed, 01 Mar 2006 21:00:44 +0000 tron (svn r3714) Add functions to turn tiles into water and shore tiles
Fri, 24 Feb 2006 20:35:37 +0000 tron (svn r3667) Fix the cause of an assertion I triggered in r3665
Fri, 24 Feb 2006 19:56:24 +0000 tron (svn r3665) Add a function to turn a tile into a clear tile
Fri, 24 Feb 2006 19:52:26 +0000 tron (svn r3664) Add a function to turn a tile into a void tile
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
Wed, 01 Feb 2006 15:31:21 +0000 tron (svn r3514) -Codechange: Replace direct fiddling of bits for the ground type and density of clear tiles with symbolic names and accessors.
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
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
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
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 06:46:41 +0000 tron (svn r3064) Replace some numbers by sprite names
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
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
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
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
Thu, 14 Jul 2005 09:43:59 +0000 ludde (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
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.
Fri, 01 Jul 2005 15:46:27 +0000 tron (svn r2505) Remove some unnecessary #includes
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
Mon, 20 Jun 2005 20:08:10 +0000 tron (svn r2464) Move definition of _inclined_tileh out of variables.h
Sat, 04 Jun 2005 12:13:24 +0000 tron (svn r2408) Introduce SetTileOwner() and use it
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
Sat, 07 May 2005 10:26:12 +0000 Darkvater (svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
Sun, 27 Mar 2005 18:15:27 +0000 tron (svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
Fri, 18 Feb 2005 21:20:55 +0000 tron (svn r1888) The landscape template sprites are ordinary sprites, treating them as non-sprites resulted in yet another endianess issue. This fixes the problem introduced in r1855