aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/bladerunner.h
diff options
context:
space:
mode:
authorDavid Fioramonti2018-06-23 21:34:38 -0700
committerEugene Sandulenko2018-08-03 14:50:45 +0200
commit3922370275a7141eebc3b3f12e24112c38fc4438 (patch)
treef51ed9af6491c6f0925e70a98f12ad9f0c6a15b5 /engines/bladerunner/bladerunner.h
parentd91307e40198bc883b0e03be9420bdab503f1c9e (diff)
downloadscummvm-rg350-3922370275a7141eebc3b3f12e24112c38fc4438.tar.gz
scummvm-rg350-3922370275a7141eebc3b3f12e24112c38fc4438.tar.bz2
scummvm-rg350-3922370275a7141eebc3b3f12e24112c38fc4438.zip
BLADERUNNER: Add cos/sine table
This uses the one in Common. The engine now contains a 10-bit cosine and sine table. It used mostly for vector math. This also allows two vector functions to be removed from vector.h.
Diffstat (limited to 'engines/bladerunner/bladerunner.h')
-rw-r--r--engines/bladerunner/bladerunner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/bladerunner/bladerunner.h b/engines/bladerunner/bladerunner.h
index fc0abf4e0a..8d45d6a806 100644
--- a/engines/bladerunner/bladerunner.h
+++ b/engines/bladerunner/bladerunner.h
@@ -26,7 +26,9 @@
#include "bladerunner/archive.h"
#include "common/array.h"
+#include "common/cosinetables.h"
#include "common/random.h"
+#include "common/sinetables.h"
#include "common/stream.h"
#include "engines/engine.h"
@@ -175,6 +177,9 @@ public:
Debugger *_debugger;
+ Common::CosineTable *_cosTable1024;
+ Common::SineTable *_sinTable1024;
+
bool _isWalkingInterruptible;
bool _interruptWalking;
bool _playerActorIdle;