mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 06:32:10 +08:00
ref: move remaining light functions to libref_common
This commit is contained in:
@@ -24,6 +24,7 @@ ref_client_t *gp_cl;
|
||||
ref_host_t *gp_host;
|
||||
uint16_t rtable[MOD_FRAMES][MOD_FRAMES];
|
||||
dlight_t *gp_dlights;
|
||||
int g_lightstylevalue[MAX_LIGHTSTYLES];
|
||||
|
||||
void _Mem_Free( void *data, const char *filename, int fileline )
|
||||
{
|
||||
@@ -73,6 +74,7 @@ int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs,
|
||||
RETRIEVE_ENGINE_SHARED_CVAR_LIST();
|
||||
|
||||
gEngfuncs.Cvar_RegisterVariable( &r_dlight_virtual_radius );
|
||||
gEngfuncs.Cvar_RegisterVariable( &r_lighting_extended );
|
||||
|
||||
return REF_API_VERSION;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user