summaryrefslogtreecommitdiff
path: root/src/cgame/cg_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_syscalls.c')
-rw-r--r--src/cgame/cg_syscalls.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cgame/cg_syscalls.c b/src/cgame/cg_syscalls.c
index a5c42229..37820fb4 100644
--- a/src/cgame/cg_syscalls.c
+++ b/src/cgame/cg_syscalls.c
@@ -541,3 +541,17 @@ void trap_CIN_SetExtents( int handle, int x, int y, int w, int h )
syscall(CG_CIN_SETEXTENTS, handle, x, y, w, h);
}
+int trap_GetDemoState( void )
+{
+ return syscall( CG_GETDEMOSTATE );
+}
+
+int trap_GetDemoPos( void )
+{
+ return syscall( CG_GETDEMOPOS );
+}
+
+void trap_GetDemoName( char *buffer, int size )
+{
+ syscall( CG_GETDEMONAME, buffer, size );
+}