common: rewrite cvardef.h from scratch based on Quake definitions

* unify cvar.h and cvardef.h, enable private definitions only for refdll and engine

* add FCVAR_REFDLL for easier RefDll cvars cleanup
This commit is contained in:
Alibek Omarov
2024-08-21 12:06:35 +03:00
parent 842e494fa6
commit 9a432a5a13
6 changed files with 121 additions and 86 deletions

View File

@@ -30,7 +30,7 @@ GNU General Public License for more details.
#include "enginefeatures.h"
#include "com_strings.h"
#include "pm_movevars.h"
#include "common/cvar.h"
#include "cvardef.h"
typedef struct mip_s mip_t;
typedef int fixed8_t;