* Set the seed for the Tools_Random_256(). * @param seed The seed to set the randomizer to. */
| 257 | * @param seed The seed to set the randomizer to. |
| 258 | */ |
| 259 | void Tools_Random_Seed(uint32 seed) |
| 260 | { |
| 261 | s_randomSeed[0] = (seed >> 0) & 0xFF; |
| 262 | s_randomSeed[1] = (seed >> 8) & 0xFF; |
| 263 | s_randomSeed[2] = (seed >> 16) & 0xFF; |
| 264 | s_randomSeed[3] = (seed >> 24) & 0xFF; |
| 265 | } |
| 266 | |
| 267 | /** |
| 268 | * Set the seed for the LCG randomizer. |
no outgoing calls
no test coverage detected