disaster_cmd.c
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
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.
Mon, 01 May 2006 11:27:39 +0000 peter1138 (svn r4642) - Codechange: reorganise airport.h and airport_movement.h to avoid having 8 copies of the airport FTAs, and make the enums used available elsewhere.
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Mon, 10 Apr 2006 15:09:56 +0000 belugas (svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap
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
Mon, 03 Apr 2006 05:32:11 +0000 celestar (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Sun, 26 Mar 2006 19:20:15 +0000 tron (svn r4120) Use the new station functions where appropriate
Fri, 24 Mar 2006 08:55:08 +0000 tron (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
Fri, 24 Mar 2006 08:00:45 +0000 tron (svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. the industry from a tile
Sun, 19 Mar 2006 13:48:08 +0000 tron (svn r3981) More work for the rail accessing functions and enums
Wed, 08 Mar 2006 08:28:48 +0000 tron (svn r3787) Use DirToDiagDir() instead of >> 1
Wed, 08 Mar 2006 08:16:31 +0000 tron (svn r3786) More work for DirDiff
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
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
Thu, 17 Nov 2005 23:05:59 +0000 Darkvater (svn r3216) - Fix (regression): endless loop introduced in revision 3190
Wed, 16 Nov 2005 14:41:01 +0000 truelight (svn r3210) -Codechange: use IsRailWaypoint where possible (instead of magicnumbers)
Wed, 16 Nov 2005 12:52:01 +0000 tron (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
Wed, 16 Nov 2005 12:04:34 +0000 tron (svn r3197) Use a better bias so you can directly see the date range a disaster can happen in
Tue, 15 Nov 2005 11:46:49 +0000 tron (svn r3190) Turn some loops into canonical for loop form
Tue, 15 Nov 2005 08:49:46 +0000 tron (svn r3184) GB/SB
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
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 06:46:41 +0000 tron (svn r3064) Replace some numbers by sprite names
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Sat, 17 Sep 2005 13:57:01 +0000 Darkvater (svn r2961) - Fix: [ 1219123 ] Fix for [ 1216203 ] UFO-broken waypoint (lucaspiller)
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
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
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, 08 Jul 2005 22:25:24 +0000 tron (svn r2535) Tabs
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
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 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.
Sat, 12 Feb 2005 15:53:32 +0000 tron (svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*()
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 14:53:05 +0000 tron (svn r1716) Prevent zeppelins from accessing non-existent tiles when leaving the map
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
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
Mon, 17 Jan 2005 09:41:46 +0000 tron (svn r1549) Clean up some functions:
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 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, 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 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
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 19:09:45 +0000 darkvater (svn r1346) -Fix: fix signed/unsigned warnings
Mon, 03 Jan 2005 18:59:58 +0000 tron (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
Thu, 30 Dec 2004 10:03:35 +0000 truelight (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
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