aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/sys_subh.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/sys_subh.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/sys_subh.h')
-rw-r--r--src/parsec/include/sys_subh.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/parsec/include/sys_subh.h b/src/parsec/include/sys_subh.h
new file mode 100644
index 0000000..fc8b600
--- /dev/null
+++ b/src/parsec/include/sys_subh.h
@@ -0,0 +1,46 @@
+/*
+ * PARSEC HEADER: sys_subh.h
+ */
+
+#ifndef _SYS_SUBH_H_
+#define _SYS_SUBH_H_
+
+
+// ----------------------------------------------------------------------------
+// SYSTEM SUBSYSTEM (SYS) system-dependent function declarations -
+// ----------------------------------------------------------------------------
+
+
+// init reference frame counting
+void SYSs_InitRefFrameCount();
+
+// get current reference frame count
+refframe_t SYSs_GetRefFrameCount();
+
+// pause reference frame counting
+void SYSs_PauseRefFrameCount();
+
+// resume reference frame counting
+void SYSs_ResumeRefFrameCount();
+
+// wait for specified number of reference frames
+void SYSs_Wait( refframe_t refframes );
+
+// called once per frame to pass control to a platform-specific handler
+int SYSs_Yield();
+
+// check if enough memory to boot game proper
+void SYSs_CheckMemory();
+
+// check and execute command line options
+void SYSs_CheckCommandLine( int argc, char **argv );
+
+
+// frame timer install/deinstall
+int SYSs_InitFrameTimer();
+int SYSs_KillFrameTimer();
+
+
+#endif // _SYS_SUBH_H_
+
+