log src/town.h @ 11902:5b2be5f84fe8 draft

age author description
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 22:16:51 +0000 frosch (svn r16274) -Fix: Disable multitile houses for which the newgrf does not define proper additional tiles. (instead of crashing later) draft
Tue, 17 Mar 2009 19:40:10 +0000 frosch (svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards. 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 01:35:27 +0000 belugas (svn r15679) -Cleanup: Little code-style application draft
Sun, 08 Mar 2009 01:20:11 +0000 smatz (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile draft
Wed, 25 Feb 2009 21:45:14 +0000 yexo (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 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 18:50:47 +0000 frosch (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. draft
Mon, 09 Feb 2009 21:20:05 +0000 rubidium (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 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
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
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 00:31:47 +0000 rubidium (svn r14949) -Cleanup: pointer coding style draft
Sun, 04 Jan 2009 15:32:25 +0000 smatz (svn r14828) -Codechange: move most of save/load-specific code to separate files 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
Tue, 23 Dec 2008 21:03:43 +0000 rubidium (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. draft
Mon, 20 Oct 2008 19:46:49 +0000 michi_cc (svn r14505) -Fix (r14504): Missing include. draft
Mon, 20 Oct 2008 19:35:48 +0000 michi_cc (svn r14504) -Cleanup: Use the right variable type for tile offsets. draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. draft
Fri, 25 Jul 2008 10:00:03 +0000 rubidium (svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers. draft
Wed, 25 Jun 2008 20:04:27 +0000 frosch (svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for. draft
Thu, 05 Jun 2008 01:43:03 +0000 belugas (svn r13383) -Codechange: Put the cost of house removal in a class member draft
Tue, 03 Jun 2008 03:06:16 +0000 belugas (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date draft
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. draft
Tue, 27 May 2008 20:05:36 +0000 peter1138 (svn r13297) -Codechange: Use GUIList for the town directory window draft
Sun, 25 May 2008 22:36:44 +0000 rubidium (svn r13255) -Codechange: move _opt to _settings. draft
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic. draft
Sat, 24 May 2008 02:54:47 +0000 belugas (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. draft
Wed, 07 May 2008 13:10:15 +0000 rubidium (svn r12987) -Codechange: split viewport and tile selection. draft
Tue, 06 May 2008 15:11:33 +0000 rubidium (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. draft
Wed, 23 Apr 2008 22:55:11 +0000 rubidium (svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. draft
Thu, 17 Apr 2008 11:47:22 +0000 rubidium (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. draft
Tue, 15 Apr 2008 22:27:28 +0000 rubidium (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. draft
Fri, 04 Apr 2008 14:53:06 +0000 smatz (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style draft
Tue, 01 Apr 2008 16:27:01 +0000 skidd13 (svn r12534) -Feature: Add a new type of town road layouts - random for each town draft
Mon, 31 Mar 2008 15:10:24 +0000 skidd13 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive draft
Tue, 18 Mar 2008 12:28:21 +0000 skidd13 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) draft
Wed, 16 Jan 2008 02:53:55 +0000 belugas (svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones draft
Tue, 15 Jan 2008 13:19:49 +0000 rubidium (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. draft
Sun, 13 Jan 2008 13:36:01 +0000 rubidium (svn r11832) -Codechange: get rid of (quite) some VARDEFs. draft
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. draft
Sat, 12 Jan 2008 19:58:06 +0000 peter1138 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is draft
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces. draft
Wed, 09 Jan 2008 17:47:05 +0000 glx (svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed. draft
Mon, 07 Jan 2008 14:02:26 +0000 rubidium (svn r11776) -Codechange: more header splittings to reduce the dependencies. draft
Thu, 03 Jan 2008 23:54:23 +0000 glx (svn r11750) -Revert (r11749): commited too much draft
Thu, 03 Jan 2008 23:50:58 +0000 glx (svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color draft
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*. draft
Tue, 25 Dec 2007 23:42:52 +0000 rubidium (svn r11700) -Codechange: reduce the amount of unnecessary includes. draft
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' draft
Tue, 25 Dec 2007 09:48:53 +0000 rubidium (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. draft
Sun, 25 Nov 2007 20:20:16 +0000 rubidium (svn r11525) -Fix: do not do all kinds of 'updates' for town, waypoint, station and other signs when you haven't converted the map to the 'current' format as that means you are going to read data in the 'old' format when you assume that it is in the 'current' format. draft
Thu, 30 Aug 2007 20:40:33 +0000 rubidium (svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles. draft
Sun, 05 Aug 2007 21:20:55 +0000 rubidium (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works. draft
Thu, 02 Aug 2007 21:05:54 +0000 rubidium (svn r10755) -Codechange: make the town struct use the pool item class as super class. draft