diff options
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r-- | scumm/scumm.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 50247319ce..61d92896a2 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -27,6 +27,7 @@ #include "common/gameDetector.h" #include "common/timer.h" #include "common/file.h" +#include "common/util.h" class GameDetector; class NewGui; @@ -351,10 +352,8 @@ public: void convertKeysToClicks(); /* Random number generation */ - uint32 _randSeed1, _randSeed2; - void initRandSeeds(); - uint getRandomNumber(uint max); - uint getRandomNumberRng(uint min, uint max); + uint32 _randSeed1, _randSeed2; // FIXME: can be removed when new savegame system is implemented + RandomSource _rnd; /* Core variable definitions */ byte _gameId; |