summaryrefslogtreecommitdiff
path: root/Camera.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-03-07 20:57:09 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-03-07 20:57:09 +0100
commit8ec41b4410aba535008daf991ea59a8740951d44 (patch)
tree01ee0846f579d9d139ee46a6a43f67ba522c7196 /Camera.h
downloadpocketempires-8ec41b4410aba535008daf991ea59a8740951d44.tar.gz
+ Initial commit. Added source, sprites and final executable.
Diffstat (limited to 'Camera.h')
-rw-r--r--Camera.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Camera.h b/Camera.h
new file mode 100644
index 0000000..6461ab4
--- /dev/null
+++ b/Camera.h
@@ -0,0 +1,41 @@
+#ifndef __CAM_HEADER__
+#define __CAM_HEADER__
+
+/* *************************************
+ * Includes
+ * *************************************/
+
+#include "Global_Inc.h"
+#include "Gfx.h"
+#include "Pad.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif //__cplusplus
+
+
+/* *************************************
+ * Defines
+ * *************************************/
+
+/* *************************************
+ * Structs and enums
+ * *************************************/
+
+/* *************************************
+ * Global prototypes
+ * *************************************/
+
+void CameraInit(TYPE_CAMERA * ptrCamera);
+void CameraHandler(TYPE_CAMERA * ptrCamera);
+void CameraApplyCoordinatesToSprite(TYPE_CAMERA * ptrCamera,
+ TYPE_SPRITE * spr,
+ uint16_t x,
+ uint16_t y );
+
+#ifdef __cplusplus
+}
+#endif //__cplusplus
+
+#endif //__CAM_HEADER__