engine: finally remove GetLightStyle, GetDynamicLight and GetEntityLight from RefAPI
This commit is contained in:
parent
6cf11cb6cf
commit
e37feece4d
2 changed files with 1 additions and 6 deletions
|
@ -401,9 +401,6 @@ static const ref_api_t gEngfuncs =
|
||||||
SW_LockBuffer,
|
SW_LockBuffer,
|
||||||
SW_UnlockBuffer,
|
SW_UnlockBuffer,
|
||||||
|
|
||||||
CL_GetLightStyle,
|
|
||||||
CL_GetDynamicLight,
|
|
||||||
CL_GetEntityLight,
|
|
||||||
R_FatPVS,
|
R_FatPVS,
|
||||||
GL_GetOverviewParms,
|
GL_GetOverviewParms,
|
||||||
Sys_DoubleTime,
|
Sys_DoubleTime,
|
||||||
|
|
|
@ -53,6 +53,7 @@ GNU General Public License for more details.
|
||||||
// Implemented texture replacement.
|
// Implemented texture replacement.
|
||||||
// 9. Removed gamma functions. Renderer is supposed to get them through PARM_GET_*_PTR.
|
// 9. Removed gamma functions. Renderer is supposed to get them through PARM_GET_*_PTR.
|
||||||
// Move hulls rendering back to engine
|
// Move hulls rendering back to engine
|
||||||
|
// Removed lightstyle, dynamic and entity light functions. Renderer is supposed to get them through PARM_GET_*_PTR.
|
||||||
#define REF_API_VERSION 9
|
#define REF_API_VERSION 9
|
||||||
|
|
||||||
#define TF_SKY (TF_SKYSIDE|TF_NOMIPMAP|TF_ALLOW_NEAREST)
|
#define TF_SKY (TF_SKYSIDE|TF_NOMIPMAP|TF_ALLOW_NEAREST)
|
||||||
|
@ -431,9 +432,6 @@ typedef struct ref_api_s
|
||||||
void (*SW_UnlockBuffer)( void );
|
void (*SW_UnlockBuffer)( void );
|
||||||
|
|
||||||
// renderapi
|
// renderapi
|
||||||
lightstyle_t* (*GetLightStyle)( int number );
|
|
||||||
dlight_t* (*GetDynamicLight)( int number );
|
|
||||||
dlight_t* (*GetEntityLight)( int number );
|
|
||||||
int (*R_FatPVS)( const float *org, float radius, byte *visbuffer, qboolean merge, qboolean fullvis );
|
int (*R_FatPVS)( const float *org, float radius, byte *visbuffer, qboolean merge, qboolean fullvis );
|
||||||
const struct ref_overview_s *( *GetOverviewParms )( void );
|
const struct ref_overview_s *( *GetOverviewParms )( void );
|
||||||
double (*pfnTime)( void ); // Sys_DoubleTime
|
double (*pfnTime)( void ); // Sys_DoubleTime
|
||||||
|
|
Loading…
Add table
Reference in a new issue