From: Cloudwalk Date: Thu, 12 Oct 2023 16:44:55 +0000 (-0400) Subject: host: Move host cvar exports to host.h that don't belong in darkplaces.h X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6277a2909ab8fd9c8efc1d125f058e699b46a490;p=xonotic%2Fdarkplaces.git host: Move host cvar exports to host.h that don't belong in darkplaces.h Signed-off-by: Cloudwalk --- diff --git a/darkplaces.h b/darkplaces.h index 512de65f..0d04dd45 100644 --- a/darkplaces.h +++ b/darkplaces.h @@ -58,13 +58,4 @@ extern char engineversion[128]; #include "mathlib.h" #include "matrixlib.h" -extern cvar_t developer; -extern cvar_t developer_entityparsing; -extern cvar_t developer_extra; -extern cvar_t developer_insane; -extern cvar_t developer_loadfile; -extern cvar_t developer_loading; -extern cvar_t host_isclient; -extern cvar_t sessionid; - #endif diff --git a/external/cmake b/external/cmake new file mode 160000 index 00000000..7612abd5 --- /dev/null +++ b/external/cmake @@ -0,0 +1 @@ +Subproject commit 7612abd52f192a13848a4d74191633a008892449 diff --git a/host.h b/host.h index 6c4f5f60..61182b52 100644 --- a/host.h +++ b/host.h @@ -5,6 +5,16 @@ #include "qtypes.h" #include "qdefs.h" #include "cmd.h" +#include "cvar.h" + +extern cvar_t developer; +extern cvar_t developer_entityparsing; +extern cvar_t developer_extra; +extern cvar_t developer_insane; +extern cvar_t developer_loadfile; +extern cvar_t developer_loading; +extern cvar_t host_isclient; +extern cvar_t sessionid; struct cmd_state_s;