From 6dce8d1945731314ee4def31431cc99a6d620192 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 10 Feb 2019 01:57:40 +0100 Subject: cObjectHandler: Implemented Camera movement cObjectHandler can now move the origin of the camera around the screen --- cObjectHandler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cObjectHandler.h') 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 > iHitMap; cRender *render; unsigned long int iActiveObject; + sPos cameraPosition; }; -- cgit v1.2.3