From 3922370275a7141eebc3b3f12e24112c38fc4438 Mon Sep 17 00:00:00 2001 From: David Fioramonti Date: Sat, 23 Jun 2018 21:34:38 -0700 Subject: 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. --- engines/bladerunner/bladerunner.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/bladerunner/bladerunner.h') 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; -- cgit v1.2.3