summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-08-21 16:06:50 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-08-21 16:06:50 +0000
commit7eef0aaedefc5d3c73301bcb02834e165124c7e6 (patch)
tree3ac39dbb0bc92db2cdf9d90db700662627f6d8df /src/engine.h
parente8c3de13e9f850498b9ab2dfaca758c851566d3a (diff)
downloadmana-client-7eef0aaedefc5d3c73301bcb02834e165124c7e6.tar.gz
mana-client-7eef0aaedefc5d3c73301bcb02834e165124c7e6.tar.bz2
mana-client-7eef0aaedefc5d3c73301bcb02834e165124c7e6.tar.xz
mana-client-7eef0aaedefc5d3c73301bcb02834e165124c7e6.zip
added overlays and smooth scrolling. (someone who knows what he is doing has to create the makefiles for the unix users)
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;