aboutsummaryrefslogtreecommitdiff
path: root/cObjectHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cObjectHandler.h')
-rw-r--r--cObjectHandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cObjectHandler.h b/cObjectHandler.h
index bc6a48d..0e7750c 100644
--- a/cObjectHandler.h
+++ b/cObjectHandler.h
@@ -53,6 +53,11 @@ public:
int destroyWiremesh(int _mesh);
+ void setCameraPosition(sPos _pos, int _mode);
+
+ sPos getCameraPosition();
+
+
/**
* writes all objects in objects[] to render buffer
*/
@@ -91,4 +96,5 @@ private:
vector< vector<unsigned int> > iHitMap;
cRender *render;
unsigned long int iActiveObject;
+ sPos cameraPosition;
};