mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 04:59:58 +01:00
ref_soft: upgrade to latest RefAPI and libpublic
This commit is contained in:
parent
237d6f8689
commit
3984a58025
@ -16,7 +16,7 @@ GNU General Public License for more details.
|
||||
#include "r_local.h"
|
||||
#include "pm_local.h"
|
||||
#include "studio.h"
|
||||
#include "mathlib.h"
|
||||
#include "xash3d_mathlib.h"
|
||||
#include "ref_params.h"
|
||||
|
||||
//unused, need refactor
|
||||
|
@ -25,7 +25,7 @@ GNU General Public License for more details.
|
||||
#include "protocol.h"
|
||||
#include "dlight.h"
|
||||
#include "ref_api.h"
|
||||
#include "mathlib.h"
|
||||
#include "xash3d_mathlib.h"
|
||||
#include "ref_params.h"
|
||||
#include "enginefeatures.h"
|
||||
#include "com_strings.h"
|
||||
|
2
r_main.c
2
r_main.c
@ -14,7 +14,7 @@ GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "r_local.h"
|
||||
#include "mathlib.h"
|
||||
#include "xash3d_mathlib.h"
|
||||
#include "library.h"
|
||||
//#include "beamdef.h"
|
||||
//#include "particledef.h"
|
||||
|
2
r_math.c
2
r_math.c
@ -14,7 +14,7 @@ GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "r_local.h"
|
||||
#include "mathlib.h"
|
||||
#include "xash3d_mathlib.h"
|
||||
|
||||
/*
|
||||
========================================================================
|
||||
|
@ -14,7 +14,7 @@ GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "r_local.h"
|
||||
#include "mathlib.h"
|
||||
#include "xash3d_mathlib.h"
|
||||
#include "const.h"
|
||||
#include "r_studioint.h"
|
||||
#include "triangleapi.h"
|
||||
@ -2432,11 +2432,11 @@ R_StudioSetRemapColors
|
||||
*/
|
||||
static void R_StudioSetRemapColors( int newTop, int newBottom )
|
||||
{
|
||||
gEngfuncs.CL_AllocRemapInfo( newTop, newBottom );
|
||||
gEngfuncs.CL_AllocRemapInfo( RI.currententity, newTop, newBottom );
|
||||
|
||||
if( gEngfuncs.CL_GetRemapInfoForEntity( RI.currententity ))
|
||||
{
|
||||
gEngfuncs.CL_UpdateRemapInfo( newTop, newBottom );
|
||||
gEngfuncs.CL_UpdateRemapInfo( RI.currententity, newTop, newBottom );
|
||||
m_fDoRemap = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user