town.h
Sat, 09 Dec 2006 14:18:08 +0000 rubidium (svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time.
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.
Sat, 28 Oct 2006 11:55:29 +0000 tron (svn r6986) Use the pool macros for the Town pool
Sat, 26 Aug 2006 18:05:05 +0000 truelight (svn r6149) -Codechange: DeleteTown removes a town from the pool
Tue, 22 Aug 2006 21:17:19 +0000 truelight (svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
Tue, 22 Aug 2006 21:14:45 +0000 truelight (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
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.
Tue, 15 Aug 2006 07:07:17 +0000 tron (svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
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.
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
Sun, 26 Mar 2006 22:58:11 +0000 Darkvater (svn r4133) - Some miscellaneous changes (unconverted TownID in function definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL)
Sun, 26 Mar 2006 22:41:56 +0000 Darkvater (svn r4130) - CodeChange: Add proper semantics for TownID for such variables instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID.
Thu, 02 Feb 2006 07:15:46 +0000 tron (svn r3520) Remove unused parameters from some functions
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
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
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Thu, 17 Feb 2005 10:56:19 +0000 celestar (svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit
Sun, 13 Feb 2005 09:42:49 +0000 celestar (svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
Tue, 01 Feb 2005 18:32:01 +0000 truelight (svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me know when
Sat, 29 Jan 2005 20:18:01 +0000 tron (svn r1724) Set maximum number of industries and towns to 250 each
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
Fri, 21 Jan 2005 16:51:25 +0000 celestar (svn r1581) Added a display for the total map population to the town display (Jango)
Sat, 15 Jan 2005 08:58:31 +0000 tron (svn r1520) Trim 134 (!) lines with trailing whitespace ):
Fri, 14 Jan 2005 09:20:12 +0000 celestar (svn r1504) enummed town ratings (Jango)
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Fri, 31 Dec 2004 18:57:24 +0000 truelight (svn r1312) -Add: Patch which is on by default: population in label of the town
Tue, 28 Dec 2004 17:40:15 +0000 truelight (svn r1291) -Codechange: prepared subsidies and towns to become an uint16 (happens
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Mon, 23 Aug 2004 21:04:39 +0000 dominik (svn r122) Change: exclusive transport rights are now stored per town instead of per station
Tue, 10 Aug 2004 14:42:52 +0000 darkvater (svn r5) -Fix: townname generation of TTDLX savegames. All work
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN