correction

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1841 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-07-13 03:42:41 +00:00
parent c346c82af4
commit 0f630a078f
+2 -1
View File
@@ -33,7 +33,8 @@ GENERATE_PLANETS
Pre: the global variable pSolarSysState points to the relevant solar system. 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. Pre: the RNG is initialised with a seed to be used for the generation.
In practice, this seed is generated from the HyperSpace coordinates 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. Post: the RNG is in an undefined state.
This function determines how many planets the system has, and fills in This function determines how many planets the system has, and fills in
pSolarSysState->PlanetDesc[] for all planets, including the NumPlanets pSolarSysState->PlanetDesc[] for all planets, including the NumPlanets