Tue, 22 Aug 2006 21:17:19 +0000(svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
truelight [Tue, 22 Aug 2006 21:17:19 +0000] rev 4357
(svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
Note: _total_towns and _total_industries willb e removed soon, so this 'hack' is okay, for now ;)

Tue, 22 Aug 2006 21:14:45 +0000(svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
truelight [Tue, 22 Aug 2006 21:14:45 +0000] rev 4356
(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:56:08 +0000(svn r6056) -Codechange: don't use a loop what can be done with a simple wrapper
truelight [Tue, 22 Aug 2006 20:56:08 +0000] rev 4355
(svn r6056) -Codechange: don't use a loop what can be done with a simple wrapper

Tue, 22 Aug 2006 20:41:26 +0000(svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
truelight [Tue, 22 Aug 2006 20:41:26 +0000] rev 4354
(svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
It isn't the best name, but we couldn't find any better.
This unifies the pool-system even more.

Tue, 22 Aug 2006 20:39:18 +0000(svn r6054) Change the sign sorter in a similar way as the other sorters: Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection
tron [Tue, 22 Aug 2006 20:39:18 +0000] rev 4353
(svn r6054) Change the sign sorter in a similar way as the other sorters: Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection
Also make the sign list static

Tue, 22 Aug 2006 18:15:17 +0000(svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
truelight [Tue, 22 Aug 2006 18:15:17 +0000] rev 4352
(svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
-Codechange: IsValidXXXID now also checks if XXX is really valid, not if the number is within range
Both changes again in preperation of the new mem-pool system, which requires this.
IsValidXXXID is not a bit less pretty, but that will be cleaned up after the new mem-pool system

Tue, 22 Aug 2006 17:13:49 +0000(svn r6052) -Codechange: change OrderType (order->type) in a typedef
truelight [Tue, 22 Aug 2006 17:13:49 +0000] rev 4351
(svn r6052) -Codechange: change OrderType (order->type) in a typedef
-Codechange: renamed DeleteDestinationFromVehicleOrder to RemoveOrderFromAllVehicles to reflect his function better
-Codechange: changed the params of RemoveOrderFromAllVehicles, to avoid unneeded variable-creation

Tue, 22 Aug 2006 16:59:51 +0000(svn r6051) -Fix r6047: forgot many times a ! :(
truelight [Tue, 22 Aug 2006 16:59:51 +0000] rev 4350
(svn r6051) -Fix r6047: forgot many times a ! :(

Tue, 22 Aug 2006 16:38:50 +0000(svn r6050) -Codechange: mass-renamed SignStruct -> Sign and ss -> si. Now functions and variables all match eachother
truelight [Tue, 22 Aug 2006 16:38:50 +0000] rev 4349
(svn r6050) -Codechange: mass-renamed SignStruct -> Sign and ss -> si. Now functions and variables all match eachother

Tue, 22 Aug 2006 16:22:07 +0000(svn r6049) -Codechange: forgot EngineRenew in r6047
truelight [Tue, 22 Aug 2006 16:22:07 +0000] rev 4348
(svn r6049) -Codechange: forgot EngineRenew in r6047
-Codechange: cleaned up the EngineRenew code a bit (coding style mostly)
-Codechange: forgot the correct comment in station_cmd
-Codechange: move pool-stuff to engine.h, like we always do