by Graf Zahl » Mon Jun 04, 2012 12:46 am
You are getting confused.
ZDoom uses a large number of different RNGs, each one for a specific action. All this gets saved to a savegame so whenever you save/relead the state is the same.
Concerning Randy's objection, here's a very simple solution: Save the state anyway but when in single player mode and not recording/playing back any demo ignore it and use one generic global RNG for everything.
You are getting confused.
ZDoom uses a large number of different RNGs, each one for a specific action. All this gets saved to a savegame so whenever you save/relead the state is the same.
Concerning Randy's objection, here's a very simple solution: Save the state anyway but when in single player mode and not recording/playing back any demo ignore it and use one generic global RNG for everything.