aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.h
diff options
context:
space:
mode:
authorNipun Garg2019-07-31 11:01:08 +0530
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commita9e65176a15d17ad68c68392614e7a5ed7382e5d (patch)
treef4c2ecb695f644236e838a63ecf4007dcd1278de /engines/hdb/lua-script.h
parent0fb3ad7ba05983fe64cc5f64294d58fa394935d1 (diff)
downloadscummvm-rg350-a9e65176a15d17ad68c68392614e7a5ed7382e5d.tar.gz
scummvm-rg350-a9e65176a15d17ad68c68392614e7a5ed7382e5d.tar.bz2
scummvm-rg350-a9e65176a15d17ad68c68392614e7a5ed7382e5d.zip
HDB: Add more Platform-specific Constants
Diffstat (limited to 'engines/hdb/lua-script.h')
-rw-r--r--engines/hdb/lua-script.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h
index 3e1ab50106..a239aa212a 100644
--- a/engines/hdb/lua-script.h
+++ b/engines/hdb/lua-script.h
@@ -27,11 +27,6 @@ struct lua_State;
namespace HDB {
-enum {
- kCameraXOff = (32 * 3 + 24), // 3.75 Tiles Extra
- kCameraYOff = (32 * 2 + 16) // 2.50 Tiles Extra
-};
-
struct Global {
char global[32]; // name of global variable
int valueOrString; // value = 0, string = 1
@@ -79,6 +74,10 @@ public:
return _systemInit;
}
+ // Platform-specific Constants
+ int _cameraXOff;
+ int _cameraYOff;
+
private:
lua_State *_state;
int _pcallErrorhandlerRegistryIndex;