summaryrefslogtreecommitdiffstats
path: root/src/skel/platform.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-31 19:18:18 +0200
committerGitHub <noreply@github.com>2019-05-31 19:18:18 +0200
commit7eee450a698cf3cee5e21da45477d7a308668e1c (patch)
tree392a32b7c35ad574879564487f52ed14d6d4ea5c /src/skel/platform.h
parentmore high level functions (diff)
parentrw skeleton (diff)
downloadre3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.gz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.bz2
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.lz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.xz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.zst
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.zip
Diffstat (limited to 'src/skel/platform.h')
-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 */