aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorOliver Kiehl2002-12-01 14:57:50 +0000
committerOliver Kiehl2002-12-01 14:57:50 +0000
commit133f624cc530a210c82d38e6e5ecf2cd732011b7 (patch)
tree94809a1086a54ed4929606a4d6e879806ea0d6b5 /scumm/scumm.h
parent89eaf9b319299950872229e585dca30e2995772f (diff)
downloadscummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.tar.gz
scummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.tar.bz2
scummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.zip
moved RNG to common/util.cpp
svn-id: r5778
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h7
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;