ref: move remaining light functions to libref_common

This commit is contained in:
Alibek Omarov
2026-04-13 13:01:18 +05:00
committed by a1batross
parent d91ecfa3df
commit d85e7fc2b1
12 changed files with 305 additions and 691 deletions
+2
View File
@@ -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;
}