mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Add support to compile renderergl2 (currently unimplemented)
This commit is contained in:
parent
4ea598d76b
commit
4f699f3b58
14 changed files with 83 additions and 49 deletions
|
@ -134,22 +134,9 @@ qboolean R_GetModeInfo( int *width, int *height, float *windowAspect, int mode )
|
|||
float R_NoiseGet4f( float x, float y, float z, double t );
|
||||
void R_NoiseInit( void );
|
||||
|
||||
image_t *R_FindImageFile(const char* name, qboolean mipmap, qboolean allowPicmip, qboolean force32bit, int glWrapClampModeX, int glWrapClampModeY);
|
||||
image_t *R_RefreshImageFile(const char* name, qboolean mipmap, qboolean allowPicmip, qboolean force32bit, int glWrapClampModeX, int glWrapClampModeY);
|
||||
image_t* R_CreateImage(
|
||||
const char* name,
|
||||
byte* pic,
|
||||
int width,
|
||||
int height,
|
||||
int numMipmaps,
|
||||
int iMipmapsAvailable,
|
||||
qboolean allowPicmip,
|
||||
qboolean force32bit,
|
||||
qboolean hasAlpha,
|
||||
int glCompressMode,
|
||||
int glWrapClampModeX,
|
||||
int glWrapClampModeY
|
||||
);
|
||||
image_t *R_FindImageFile( const char *name, imgType_t type, imgFlags_t flags );
|
||||
image_t *R_RefreshImageFile( const char *name, imgType_t type, imgFlags_t flags );
|
||||
image_t *R_CreateImage( const char *name, byte *pic, int width, int height, imgType_t type, imgFlags_t flags, int internalFormat );
|
||||
|
||||
void R_IssuePendingRenderCommands( void );
|
||||
qhandle_t RE_RegisterShaderLightMap( const char *name, int lightmapIndex );
|
||||
|
|
|
@ -172,6 +172,9 @@ typedef struct {
|
|||
orientation_t (*TIKI_Orientation)(refEntity_t* model, int tagNum);
|
||||
qboolean (*TIKI_IsOnGround)(refEntity_t* model, int tagNum, float threshold);
|
||||
void (*SetFrameNumber)(int frameNumber);
|
||||
|
||||
qboolean (*ImageExists)(const char* name);
|
||||
int (*CountTextureMemory)();
|
||||
} refexport_t;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue