log src/town_cmd.cpp @ 11926:dd6202262c94 draft

age author description
Sun, 17 May 2009 10:35:13 +0000 rubidium (svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around) draft
Sun, 17 May 2009 01:00:56 +0000 smatz (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) draft
Sat, 16 May 2009 23:34:14 +0000 smatz (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) draft
Thu, 14 May 2009 23:40:03 +0000 smatz (svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo) draft
Mon, 11 May 2009 11:55:41 +0000 smatz (svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating draft
Sun, 10 May 2009 15:42:59 +0000 frosch (svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station. draft
Sat, 25 Apr 2009 22:12:59 +0000 rubidium (svn r16147) -Feature [FS#2635]: give the town generator a slight tendency to build towns near water by not discarding watery random tiles but by searching for near land (db48x) draft
Tue, 21 Apr 2009 23:40:56 +0000 rubidium (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. draft
Mon, 20 Apr 2009 17:42:14 +0000 frosch (svn r16101) -Cleanup (r14591): Remove an assertion to increase performance. draft
Sun, 29 Mar 2009 15:06:44 +0000 smatz (svn r15890) -Codechange: unify the way 'can a town be placed here?' checks are done draft
Mon, 23 Mar 2009 14:09:05 +0000 smatz (svn r15831) -Fix: make sure house class/ID counters don't overflow draft
Mon, 16 Mar 2009 18:38:28 +0000 smatz (svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities draft
Sun, 15 Mar 2009 21:16:07 +0000 rubidium (svn r15729) -Fix: silence MSVC warning draft
Sun, 15 Mar 2009 16:04:39 +0000 smatz (svn r15726) -Codechange: unify coding style for const pointers draft
Sun, 15 Mar 2009 00:32:18 +0000 rubidium (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too draft
Fri, 13 Mar 2009 00:48:03 +0000 rubidium (svn r15697) -Fix (r15695): warning about comparing signed vs unsigned. draft
Thu, 12 Mar 2009 23:54:20 +0000 belugas (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized. draft
Thu, 12 Mar 2009 15:14:22 +0000 rubidium (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. draft
Tue, 10 Mar 2009 06:53:00 +0000 peter1138 (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. draft
Sun, 08 Mar 2009 01:20:11 +0000 smatz (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile draft
Sat, 07 Mar 2009 21:36:13 +0000 yexo (svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads. draft
Tue, 03 Mar 2009 22:46:08 +0000 rubidium (svn r15604) -Fix [FS#2661]: towns would only build houses where the grid would not be, even when they aren't allowed to build roads and the user 'implements' another layout. draft
Wed, 25 Feb 2009 21:50:54 +0000 yexo (svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()). draft
Wed, 25 Feb 2009 21:45:14 +0000 yexo (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. draft
Tue, 24 Feb 2009 22:57:02 +0000 smatz (svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction draft
Mon, 16 Feb 2009 23:23:33 +0000 smatz (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN draft
Wed, 11 Feb 2009 20:41:17 +0000 rubidium (svn r15454) -Fix [FS#2614]: towns did not know about build_on_slopes in some cases, or made decisions on the 'original' slope instead the slope after applying the foundation.. draft
Wed, 11 Feb 2009 18:50:47 +0000 frosch (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. draft
Wed, 11 Feb 2009 18:33:27 +0000 frosch (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. draft
Mon, 09 Feb 2009 21:20:05 +0000 rubidium (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. draft
Sat, 07 Feb 2009 16:02:29 +0000 rubidium (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. draft
Fri, 06 Feb 2009 20:51:24 +0000 frosch (svn r15381) -Fix (r11091): When testing for parallel road two tiles away, do not move more than one tile along the road. draft
Fri, 06 Feb 2009 20:24:44 +0000 frosch (svn r15380) -Fix (r15190)[FS#2603]: Do not use TileY() on negative TileIndexDiffs. But the test was not needed anyway, as those tiles were already tested in previous iterations. draft
Thu, 05 Feb 2009 13:33:37 +0000 smatz (svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable draft
Wed, 04 Feb 2009 22:52:34 +0000 smatz (svn r15342) -Feature: allow changing town layout in the 'Found new town' window draft
Wed, 04 Feb 2009 20:17:25 +0000 smatz (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Wed, 21 Jan 2009 02:31:55 +0000 Yexo (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. draft
Tue, 20 Jan 2009 16:06:57 +0000 belugas (svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process draft
Mon, 19 Jan 2009 12:07:01 +0000 peter1138 (svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui. draft
Mon, 12 Jan 2009 17:11:45 +0000 truebrain (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. draft
Sun, 11 Jan 2009 14:26:11 +0000 frosch (svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code. draft
Sat, 10 Jan 2009 15:54:07 +0000 smatz (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names draft
Fri, 09 Jan 2009 14:59:02 +0000 rubidium (svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL. draft
Sun, 04 Jan 2009 15:32:25 +0000 smatz (svn r14828) -Codechange: move most of save/load-specific code to separate files draft
Sun, 04 Jan 2009 10:50:24 +0000 rubidium (svn r14821) -Change [FS#2390]: make the road grids of town match, when all are using the same road layout ofcourse (cirdan) draft
Sat, 03 Jan 2009 16:06:58 +0000 smatz (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints draft
Fri, 02 Jan 2009 22:42:05 +0000 rubidium (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Fri, 26 Dec 2008 13:50:46 +0000 smatz (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size draft
Wed, 24 Dec 2008 09:53:15 +0000 rubidium (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous. draft
Sun, 23 Nov 2008 14:17:41 +0000 frosch (svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year. draft
Wed, 19 Nov 2008 16:53:24 +0000 frosch (svn r14596) -Fix (r14591): Missing 'return'. draft
Tue, 18 Nov 2008 22:43:59 +0000 smatz (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation draft
Sat, 25 Oct 2008 13:51:47 +0000 rubidium (svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus) draft
Mon, 20 Oct 2008 19:35:48 +0000 michi_cc (svn r14504) -Cleanup: Use the right variable type for tile offsets. draft
Sun, 19 Oct 2008 15:39:12 +0000 rubidium (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) draft
Sun, 19 Oct 2008 09:51:19 +0000 rubidium (svn r14490) -Codechange: fix comment style on a few locations (Alberth) draft
Tue, 14 Oct 2008 18:38:51 +0000 rubidium (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft