aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/gfx.h')
-rw-r--r--engines/hdb/gfx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/hdb/gfx.h b/engines/hdb/gfx.h
index e49b0c56bf..d057caeca7 100644
--- a/engines/hdb/gfx.h
+++ b/engines/hdb/gfx.h
@@ -151,6 +151,15 @@ public:
void setCursor(int x, int y);
void getCursor(int *x, int *y);
+ // Trig Functions
+
+ double getSin(int index) {
+ return _sines->at(index);
+ }
+ double getCos(int index) {
+ return _cosines->at(index);
+ }
+
private:
int _numTiles;
TileLookup *_tLookupArray;
@@ -211,6 +220,8 @@ private:
bool _systemInit;
+ Common::SineTable *_sines;
+ Common::CosineTable *_cosines;
};
class Picture {