ref: null: update to RefAPI 8
This commit is contained in:
parent
daae4f2f80
commit
3f66f6a6a5
1 changed files with 15 additions and 50 deletions
|
@ -34,17 +34,17 @@ static void R_SimpleStub( void )
|
|||
;
|
||||
}
|
||||
|
||||
static void R_SimpleStubInt( int )
|
||||
static void R_SimpleStubInt( int unused )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void R_SimpleStubUInt( unsigned int )
|
||||
static void R_SimpleStubUInt( unsigned int unused )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void R_SimpleStubBool( qboolean )
|
||||
static void R_SimpleStubBool( qboolean unused )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ static void GL_ProcessTexture( int texnum, float gamma, int topColor, int bottom
|
|||
;
|
||||
}
|
||||
|
||||
static void R_SetupSky( const char *skyname )
|
||||
static void R_SetupSky( int *skytextures )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ static void R_StudioLerpMovement( cl_entity_t *e, double time, vec3_t origin, ve
|
|||
;
|
||||
}
|
||||
|
||||
static void R_InitSkyClouds( struct mip_s *mt, struct texture_s *tx, qboolean custom_palette )
|
||||
static void R_SetSkyCloudsTextures( int solidskyTexture, int alphaskyTexture )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
@ -295,6 +295,11 @@ static int GL_CreateTextureArray( const char *name, int width, int height, int d
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void R_OverrideTextureSourceSize( unsigned int textnum, unsigned int srcWidth, unsigned int srcHeight )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static void DrawSingleDecal( struct decal_s *pDecal, struct msurface_s *fa )
|
||||
{
|
||||
;
|
||||
|
@ -426,46 +431,16 @@ static void CullFace( TRICULLSTYLE mode )
|
|||
;
|
||||
}
|
||||
|
||||
static void VGUI_SetupDrawing( int *pColor )
|
||||
static void VGUI_SetupDrawing( qboolean rect )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_EnableTexture( qboolean enable )
|
||||
static void VGUI_UploadTextureBlock( int drawX, int drawY, const byte *rgba, int blockWidth, int blockHeight )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_CreateTexture( int id, int width, int height )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_UploadTexture( int id, const char *buffer, int width, int height )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_UploadTextureBlock( int id, int drawX, int drawY, const byte *rgba, int blockWidth, int blockHeight )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_DrawQuad( const vpoint_t *ul, const vpoint_t *lr )
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static void VGUI_GetTextureSizes( int *width, int *height )
|
||||
{
|
||||
*width = *height = 0;
|
||||
}
|
||||
|
||||
static int VGUI_GenerateTexture( void )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ref_interface_t gReffuncs =
|
||||
{
|
||||
.R_Init = R_Init,
|
||||
|
@ -524,7 +499,7 @@ static ref_interface_t gReffuncs =
|
|||
.R_StudioLerpMovement = R_StudioLerpMovement,
|
||||
.CL_InitStudioAPI = R_SimpleStub,
|
||||
|
||||
.R_InitSkyClouds = R_InitSkyClouds,
|
||||
.R_SetSkyCloudsTextures = R_SetSkyCloudsTextures,
|
||||
.GL_SubdivideSurface = GL_SubdivideSurface,
|
||||
.CL_RunLightStyles = R_SimpleStub,
|
||||
|
||||
|
@ -556,6 +531,7 @@ static ref_interface_t gReffuncs =
|
|||
.GL_LoadTextureArray = GL_LoadTextureArray,
|
||||
.GL_CreateTextureArray = GL_CreateTextureArray,
|
||||
.GL_FreeTexture = R_SimpleStubUInt,
|
||||
.R_OverrideTextureSourceSize = R_OverrideTextureSourceSize,
|
||||
|
||||
.DrawSingleDecal = DrawSingleDecal,
|
||||
.R_DecalSetupVerts = R_DecalSetupVerts,
|
||||
|
@ -601,19 +577,8 @@ static ref_interface_t gReffuncs =
|
|||
.FogParams = FogParams,
|
||||
.CullFace = CullFace,
|
||||
|
||||
.VGUI_DrawInit = R_SimpleStub,
|
||||
.VGUI_DrawShutdown = R_SimpleStub,
|
||||
.VGUI_SetupDrawingText = VGUI_SetupDrawing,
|
||||
.VGUI_SetupDrawingRect = VGUI_SetupDrawing,
|
||||
.VGUI_SetupDrawingImage = VGUI_SetupDrawing,
|
||||
.VGUI_BindTexture = R_SimpleStubInt,
|
||||
.VGUI_EnableTexture = VGUI_EnableTexture,
|
||||
.VGUI_CreateTexture = VGUI_CreateTexture,
|
||||
.VGUI_UploadTexture = VGUI_UploadTexture,
|
||||
.VGUI_SetupDrawing = VGUI_SetupDrawing,
|
||||
.VGUI_UploadTextureBlock = VGUI_UploadTextureBlock,
|
||||
.VGUI_DrawQuad = VGUI_DrawQuad,
|
||||
.VGUI_GetTextureSizes = VGUI_GetTextureSizes,
|
||||
.VGUI_GenerateTexture = VGUI_GenerateTexture,
|
||||
};
|
||||
|
||||
int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs, ref_globals_t *globals );
|
||||
|
|
Loading…
Add table
Reference in a new issue