16 lines
311 B
C
16 lines
311 B
C
#pragma once
|
|
|
|
#include "cvardef.h"
|
|
|
|
#define CVAR_TO_BOOL( x ) ((x) && ((x)->value != 0.0f) ? true : false )
|
|
|
|
void VK_LoadCvars( void );
|
|
|
|
#define DECLARE_CVAR(X) \
|
|
X(r_lighting_modulate) \
|
|
X(cl_lightstyle_lerping) \
|
|
|
|
#define EXTERN_CVAR(cvar) extern cvar_t *cvar;
|
|
DECLARE_CVAR(EXTERN_CVAR)
|
|
#undef EXTERN_CVAR
|