]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
Organize system and host globals into structs. Implement host state tracking
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 9dfdf620c91c9899d26a139272cdc038f86f1b58..9a1fe32fbe77e8fd70b21eea7737e74b7495da59 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -22,6 +22,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef SYS_H
 #define SYS_H
 
+typedef struct sys_s
+{
+       int argc;
+       const char **argv;
+       int selffd;
+       int outfd;
+} sys_t;
+
+extern sys_t sys;
+
 extern cvar_t sys_usenoclockbutbenchmark;
 
 //