tree_cmd.c
Thu, 26 Jan 2006 18:45:04 +0000 Darkvater (svn r3446) - Fix: incorrect validating of tree-planting command which can allow a buffer-overflow (Tron)
Wed, 16 Nov 2005 12:01:46 +0000 tron (svn r3196) Use structs instead of magic offsets into arrays
Tue, 15 Nov 2005 09:05:16 +0000 tron (svn r3186) Unnecessary casts and truncation
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
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 14:49:46 +0000 tron (svn r3066) Constify the parameter of GetSlopeZ_*()
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
Sat, 30 Jul 2005 18:30:07 +0000 tron (svn r2763) Small cleanup and improve a few comments
Sat, 30 Jul 2005 09:29:20 +0000 tron (svn r2758) Add the AB() macro to add a value to a bit range and use it in a few places, also make use of GB and SB nearby
Fri, 29 Jul 2005 18:22:04 +0000 tron (svn r2750) -Fix: Tree tiles above the snow line got redrawn disproportionately often
Thu, 28 Jul 2005 19:18:27 +0000 tron (svn r2738) Small bit fiddling cleanup
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 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Wed, 20 Jul 2005 22:05:13 +0000 celestar (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Mon, 18 Jul 2005 00:17:19 +0000 Darkvater (svn r2628) - Fix: Planting trees does not result in a MapSize() assertion anymore; introduced in r2598
Sun, 17 Jul 2005 11:09:03 +0000 tron (svn r2598) Small cleanup, especially get rid of a FindLandscapeHeight(), because it was overkill
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 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
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Sat, 04 Jun 2005 12:13:24 +0000 tron (svn r2408) Introduce SetTileOwner() and use it
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Mon, 14 Feb 2005 18:55:10 +0000 tron (svn r1874) Fix bug introduced in r1839 which placed snow covered trees below the snow line ([1121680])
Fri, 04 Feb 2005 16:50:18 +0000 tron (svn r1790) Make CmdPlantTree() and related functions more safe and (hopefully) more readable:
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()
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Tue, 18 Jan 2005 18:41:56 +0000 tron (svn r1560) Introduce SetTileType() and SetTileHeight()
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
Fri, 14 Jan 2005 09:20:12 +0000 celestar (svn r1504) enummed town ratings (Jango)
Wed, 12 Jan 2005 11:21:28 +0000 truelight (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
Sun, 09 Jan 2005 21:25:44 +0000 tron (svn r1451) Fix some of the signed/unsigned comparison warnings
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 18:45:28 +0000 tron (svn r1402) Trim trailing whitespace
Thu, 06 Jan 2005 11:39:00 +0000 tron (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Tue, 04 Jan 2005 00:53:52 +0000 darkvater (svn r1366) -Fix: [1093186] rough land in snow upon dying of tree
Mon, 03 Jan 2005 21:47:52 +0000 darkvater (svn r1355) -Fix: [1092473] random trees in scenario editor do not overwrite rocks as well
Mon, 03 Jan 2005 21:26:09 +0000 darkvater (svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place rocks on trees and vice versa
Mon, 03 Jan 2005 19:34:07 +0000 darkvater (svn r1347) -Fix: Some were fixed for the trees -> Only copy the lowest two bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide;
Mon, 03 Jan 2005 19:06:16 +0000 tron (svn r1345) Only copy the lowest two bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide
Thu, 30 Dec 2004 09:43:12 +0000 truelight (svn r1299) -Fix: [ 1092473 ] In SE, when trees are placed randomly, they are no
Tue, 28 Dec 2004 11:51:31 +0000 truelight (svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
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
Sat, 04 Dec 2004 09:26:39 +0000 tron (svn r925) Use sound enums
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Tue, 23 Nov 2004 22:36:11 +0000 tron (svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
Sun, 21 Nov 2004 10:49:40 +0000 tron (svn r724) Remove restriction that a tile can only accept 3 cargo types.
Sun, 14 Nov 2004 17:16:26 +0000 tron (svn r604) -Fix: [ 999669 ] Wrong trees (toyland's) in sub-tropical landscape style
Fri, 05 Nov 2004 23:12:33 +0000 tron (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Sun, 05 Sep 2004 17:11:00 +0000 darkvater (svn r161) -Fix: added missing file to project and solved wrong type bug
Fri, 20 Aug 2004 15:30:32 +0000 dominik (svn r92) Feature: invisible trees when in transparent mode (patch entry)
Fri, 13 Aug 2004 18:27:33 +0000 dominik (svn r40) Final slope graphics fix
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN