summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h
index ff39cfba..3ae380d6 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -78,6 +78,11 @@ class Engine
Map *mCurrentMap;
Network *mNetwork;
+
+ int scrollRadius;
+ int scrollLaziness;
+ float view_x; // current viewpoint in pixels
+ float view_y; // current viewpoint in pixels
};
extern Engine *engine;