diff options
Diffstat (limited to 'engines/bladerunner/bladerunner.cpp')
-rw-r--r-- | engines/bladerunner/bladerunner.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp index fab708cbb8..4ad3ab0681 100644 --- a/engines/bladerunner/bladerunner.cpp +++ b/engines/bladerunner/bladerunner.cpp @@ -315,6 +315,8 @@ bool BladeRunnerEngine::startup(bool hasSavegames) { // Seed rand // TODO: Sine and cosine lookup tables for intervals of 1.0, 4.0, and 12.0 + _cosTable1024 = new Common::CosineTable(10); // 10-bits = 1024 points for 2*PI; + _sinTable1024 = new Common::SineTable(10); _view = new View(); @@ -602,7 +604,8 @@ void BladeRunnerEngine::shutdown() { delete _sceneObjects; _sceneObjects = nullptr; - // TODO: Delete sine and cosine lookup tables + delete _cosTable1024; + delete _sinTable1024; delete _aiScripts; _aiScripts = nullptr; |