aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2/cge2.h')
-rw-r--r--engines/cge2/cge2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h
index fa161f360a..bbd709094e 100644
--- a/engines/cge2/cge2.h
+++ b/engines/cge2/cge2.h
@@ -28,6 +28,7 @@
#ifndef CGE2_H
#define CGE2_H
+#include "common/random.h"
#include "engines/engine.h"
#include "engines/advancedDetector.h"
#include "common/system.h"
@@ -85,6 +86,7 @@ public:
void caveUp(int cav);
void showBak(int ref);
void loadTab();
+ int newRandom(int range);
void setEye(V3D &e);
void setEye(const V2D& e2, int z = -kScrWidth);
@@ -98,6 +100,8 @@ public:
const ADGameDescription *_gameDescription;
+ Common::RandomSource _randomSource;
+
bool _quitFlag;
Dac *_bitmapPalette;
int _mode;