industry.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:32:45 +0000 tron (svn r6979) Use the pool macros for the Industry pool
Fri, 27 Oct 2006 16:18:47 +0000 belugas (svn r6966) -Fix(6965): Little typo while making the comment doxygen friendly
Fri, 27 Oct 2006 15:54:24 +0000 belugas (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Tue, 24 Oct 2006 19:19:25 +0000 belugas (svn r6930) -Codechange: Move industry name into IndustrySpec
Mon, 23 Oct 2006 16:35:27 +0000 belugas (svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).
Sat, 26 Aug 2006 19:51:49 +0000 truelight (svn r6156) -Codechange: DeleteIndustry removes an industry 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 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 18:44:26 +0000 truelight (svn r6001) -Feature: when removing a farm, his farmland is removed too (over time) (based on peter1138's patch, FS#82)
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
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
Fri, 28 Apr 2006 21:58:16 +0000 belugas (svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).
Mon, 10 Apr 2006 21:00:56 +0000 belugas (svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint
Mon, 10 Apr 2006 16:20:47 +0000 belugas (svn r4347) CodeChange : Renamed IndustryType to IndustryLifeType. Cleanup step toward bringing accessors [G|S]etIndustrype
Mon, 27 Mar 2006 06:18:02 +0000 tron (svn r4134) Revert part of r4133: Replacing a byte which gets written to savegames by an enum is a very bad idea
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:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
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
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
Wed, 02 Feb 2005 17:30:29 +0000 truelight (svn r1771) -Add: Industries are now dynamic (up to 64k industries). Generating
Sat, 29 Jan 2005 20:18:01 +0000 tron (svn r1724) Set maximum number of industries and towns to 250 each
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 30 Dec 2004 10:03:35 +0000 truelight (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN