]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.h
model: Recognize Valve BSP format. Add file format headers.
[xonotic/darkplaces.git] / cmd.h
diff --git a/cmd.h b/cmd.h
index 445e08c1d221adf6c9602d4a9cac1dea9388e484..b10560077b9baa6abbc712a8158fdb07f65264f6 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -89,7 +89,7 @@ typedef struct cmd_function_s
        const char *name;
        const char *description;
        xcommand_t function;
-       qbool csqcfunc;
+       qbool qcfunc;
        qbool autofunc;
        qbool initstate; // indicates this command existed at init
 } cmd_function_t;
@@ -98,7 +98,7 @@ typedef struct cmd_function_s
 typedef struct cmd_userdefined_s
 {
        // csqc functions - this is a mess
-       cmd_function_t *csqc_functions;
+       cmd_function_t *qc_functions;
 
        // aliases
        cmd_alias_t *alias;
@@ -125,6 +125,7 @@ typedef struct cmd_state_s
        struct mempool_s *mempool;
 
        int argc;
+       const char *cmdline;
        const char *argv[MAX_ARGS];
        const char *null_string;
        const char *args;