ref_soft: upgrade to latest RefAPI and libpublic

This commit is contained in:
Alibek Omarov 2020-03-29 17:01:45 +03:00
parent 237d6f8689
commit 3984a58025
5 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -14,7 +14,7 @@ GNU General Public License for more details.
*/
#include "r_local.h"
#include "mathlib.h"
#include "xash3d_mathlib.h"
/*
========================================================================

View File

@ -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;
}
}