From 0f630a078f283523f7b5876811fbb40a7aa70536 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Wed, 13 Jul 2005 03:42:41 +0000 Subject: [PATCH] correction git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1841 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/doc/devel/generate | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc2/doc/devel/generate b/sc2/doc/devel/generate index d9231ec7d..b3c399037 100644 --- a/sc2/doc/devel/generate +++ b/sc2/doc/devel/generate @@ -33,7 +33,8 @@ GENERATE_PLANETS Pre: the global variable pSolarSysState points to the relevant solar system. Pre: the RNG is initialised with a seed to be used for the generation. In practice, this seed is generated from the HyperSpace coordinates - of the solar system (which are hardcoded in sc2code/plandata.c). + of the solar system (which are hardcoded in sc2code/plandata.c), + followed by exactly one call to TFB_Random(). Post: the RNG is in an undefined state. This function determines how many planets the system has, and fills in pSolarSysState->PlanetDesc[] for all planets, including the NumPlanets