ref_soft: upgrade to latest RefAPI and libpublic
This commit is contained in:
parent
237d6f8689
commit
3984a58025
5 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@ GNU General Public License for more details.
|
||||||
#include "r_local.h"
|
#include "r_local.h"
|
||||||
#include "pm_local.h"
|
#include "pm_local.h"
|
||||||
#include "studio.h"
|
#include "studio.h"
|
||||||
#include "mathlib.h"
|
#include "xash3d_mathlib.h"
|
||||||
#include "ref_params.h"
|
#include "ref_params.h"
|
||||||
|
|
||||||
//unused, need refactor
|
//unused, need refactor
|
||||||
|
|
|
@ -25,7 +25,7 @@ GNU General Public License for more details.
|
||||||
#include "protocol.h"
|
#include "protocol.h"
|
||||||
#include "dlight.h"
|
#include "dlight.h"
|
||||||
#include "ref_api.h"
|
#include "ref_api.h"
|
||||||
#include "mathlib.h"
|
#include "xash3d_mathlib.h"
|
||||||
#include "ref_params.h"
|
#include "ref_params.h"
|
||||||
#include "enginefeatures.h"
|
#include "enginefeatures.h"
|
||||||
#include "com_strings.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 "r_local.h"
|
||||||
#include "mathlib.h"
|
#include "xash3d_mathlib.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
//#include "beamdef.h"
|
//#include "beamdef.h"
|
||||||
//#include "particledef.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 "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 "r_local.h"
|
||||||
#include "mathlib.h"
|
#include "xash3d_mathlib.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "r_studioint.h"
|
#include "r_studioint.h"
|
||||||
#include "triangleapi.h"
|
#include "triangleapi.h"
|
||||||
|
@ -2432,11 +2432,11 @@ R_StudioSetRemapColors
|
||||||
*/
|
*/
|
||||||
static void R_StudioSetRemapColors( int newTop, int newBottom )
|
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 ))
|
if( gEngfuncs.CL_GetRemapInfoForEntity( RI.currententity ))
|
||||||
{
|
{
|
||||||
gEngfuncs.CL_UpdateRemapInfo( newTop, newBottom );
|
gEngfuncs.CL_UpdateRemapInfo( RI.currententity, newTop, newBottom );
|
||||||
m_fDoRemap = true;
|
m_fDoRemap = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue