summaryrefslogtreecommitdiffstats
path: root/src/skel/platform.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/skel/platform.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/skel/platform.h b/src/skel/platform.h
new file mode 100644
index 00000000..5338b270
--- /dev/null
+++ b/src/skel/platform.h
@@ -0,0 +1,36 @@
+#ifndef PLATFORM_H
+#define PLATFORM_H
+
+#include "rwcore.h"
+#include "skeleton.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+extern RwUInt32 psTimer(void);
+
+
+extern RwBool psInitialise(void);
+extern void psTerminate(void);
+
+extern void psCameraShowRaster(RwCamera *camera);
+extern RwBool psCameraBeginUpdate(RwCamera *camera);
+
+extern void psMouseSetPos(RwV2d *pos);
+
+extern RwBool psSelectDevice(RwBool useDefault);
+
+/* install the platform specific file system */
+extern RwBool psInstallFileSystem(void);
+
+
+/* Handle native texture support */
+extern RwBool psNativeTextureSupport(void);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* PLATFORM_H */