From 36606e1216034d5b21ea6c690cc6f21e24c45d84 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 7 Jan 2005 02:45:03 +0000 Subject: [PATCH] Q2-alike +set handling. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@747 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/engine/common/common.c b/engine/common/common.c index dedcdf55d..777728dd3 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -1974,6 +1974,40 @@ int COM_CheckParm (char *parm) return COM_CheckNextParm(parm, 0); } +/* +=============== +COM_ParsePlusSets + +Looks for +set blah blah on the commandline, and creates cvars so that engine +functions may use the cvar before anything's loaded. +This isn't really needed, but might make some thing nicer. +=============== +*/ +void COM_ParsePlusSets (void) +{ + int i; + for (i=1 ; i