town_cmd.c
Sun, 09 Sep 2007 22:35:21 +0000 rubidium (svn r11077) [0.5] -Fix: Possible NULL pointer dereference. 0.5
Tue, 15 May 2007 21:42:27 +0000 rubidium (svn r9851) [0.5] -Backport from trunk (r9731, r9741, r9743, r9753, r9757): 0.5
Sat, 30 Dec 2006 23:21:55 +0000 Darkvater (svn r7673) -Backport from trunk (r7563): 0.5
Mon, 11 Dec 2006 12:37:57 +0000 rubidium (svn r7477) -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command.
Sat, 09 Dec 2006 14:14:51 +0000 rubidium (svn r7451) -Fix (7372): GetNum(Towns|Industries) should return the actual number of towns and industries.
Tue, 05 Dec 2006 13:58:20 +0000 matthijs (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
Sun, 03 Dec 2006 17:27:43 +0000 matthijs (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
Fri, 17 Nov 2006 23:01:58 +0000 belugas (svn r7198) -Codechange: Implement a circular tile search function.
Wed, 15 Nov 2006 18:57:00 +0000 rubidium (svn r7152) -Feature (FS#396): allow towns to be built on top of trees in the scenario editor.
Thu, 09 Nov 2006 18:31:06 +0000 belugas (svn r7121) -Fix(r1): Tell the town that this player has built a statue only if it really did happened
Thu, 09 Nov 2006 13:03:34 +0000 Darkvater (svn r7120) -Fix (r6631): A town size of 0 in the scenario editor is a random size. So to get a size
Sat, 28 Oct 2006 11:55:29 +0000 tron (svn r6986) Use the pool macros for the Town pool
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Sat, 14 Oct 2006 22:31:18 +0000 Darkvater (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an
Sat, 16 Sep 2006 13:20:14 +0000 Darkvater (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sat, 26 Aug 2006 18:05:05 +0000 truelight (svn r6149) -Codechange: DeleteTown removes a town from the pool
Sat, 26 Aug 2006 14:22:54 +0000 truelight (svn r6137) -Codechange: some very minor cleanups:
Tue, 22 Aug 2006 21:17:19 +0000 truelight (svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
Tue, 22 Aug 2006 20:56:08 +0000 truelight (svn r6056) -Codechange: don't use a loop what can be done with a simple wrapper
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 18:15:17 +0000 truelight (svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
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.
Sun, 20 Aug 2006 19:31:58 +0000 rubidium (svn r6005) -Cleanup: introduce IndustryID and use it
Sun, 20 Aug 2006 11:41:34 +0000 truelight (svn r5970) -Fix [FS#49]: town-growth removed houses under construction to make way for road. Not wanted behavoir (Rubidium)
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
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
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Wed, 21 Jun 2006 16:40:23 +0000 tron (svn r5327) Use DrawFoundation() for houses
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.
Thu, 08 Jun 2006 18:31:54 +0000 tron (svn r5171) Get rid of an ungly hack in the load routine, which temporarily turned house and road tiles into void tiles to calculate the closest town
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
Sat, 20 May 2006 16:46:37 +0000 tron (svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions.
Thu, 27 Apr 2006 11:19:12 +0000 celestar (svn r4591) -Fix (FS#122) Game no longer errors out when "Many random towns" is selected in the scenario editor.
Tue, 25 Apr 2006 07:32:33 +0000 tron (svn r4572) Remove vehicle_leave_tile_proc
Mon, 24 Apr 2006 21:10:56 +0000 belugas (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Sun, 23 Apr 2006 17:58:07 +0000 tron (svn r4547) Revert a part of r4541 to silence an assertion for now
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
Tue, 18 Apr 2006 18:48:50 +0000 peter1138 (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
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 15:11:17 +0000 celestar (svn r4262) -Codechange: use IsClearWaterTile instead of some "home-brewn" marco. town_cmd is now map access free
Mon, 03 Apr 2006 14:56:07 +0000 belugas (svn r4261) CodeChange : Add and Use Accessor for Houses Construction. And cleaning on town.flags12 too
Mon, 03 Apr 2006 11:46:28 +0000 celestar (svn r4254) -Codechange: Add and make use of map accessors for town lifts.
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
Fri, 31 Mar 2006 08:18:14 +0000 celestar (svn r4190) -Codechange: Add and make use of an accessor function to create houses
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.
Thu, 30 Mar 2006 15:06:49 +0000 celestar (svn r4179) -Codechange: Add and make use of an accessor that obtains the building type
Wed, 29 Mar 2006 19:03:47 +0000 celestar (svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
Fri, 24 Mar 2006 12:00:24 +0000 tron (svn r4085) Add GetTown{Index,ByTile}() to get the town index resp. the town from a tile
Thu, 23 Mar 2006 20:47:56 +0000 tron (svn r4073) Add functions to make and test for (most) unmovable tiles
Tue, 21 Mar 2006 20:02:05 +0000 tron (svn r3996) -Fix: Slope and height information returned for some tile types is wrong
Sun, 19 Mar 2006 19:33:19 +0000 tron (svn r3986) Add [GS]etCrossingRoadOwner
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used