diff options
Diffstat (limited to 'src/parsec/include/sys_subh.h')
| -rw-r--r-- | src/parsec/include/sys_subh.h | 46 |
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_ + + |
