engine: allow ref dlls to use convar_t

This commit is contained in:
Alibek Omarov
2023-05-20 20:20:14 +03:00
parent 6a1f96a2c6
commit 70b26a13c2
3 changed files with 6 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ typedef struct convar_s
#define CVAR_TO_BOOL( x ) ((x) && ((x)->value != 0.0f) ? true : false )
#ifndef REF_DLL
cvar_t *Cvar_GetList( void );
#define Cvar_FindVar( name ) Cvar_FindVarExt( name, 0 )
convar_t *Cvar_FindVarExt( const char *var_name, int ignore_group );
@@ -81,5 +82,6 @@ qboolean Cvar_CommandWithPrivilegeCheck( convar_t *v, qboolean isPrivileged );
void Cvar_Init( void );
void Cvar_PostFSInit( void );
void Cvar_Unlink( int group );
#endif // REF_DLL
#endif//CVAR_H