int texalphascale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
int texcombinergb[MAX_TEXTUREUNITS]; // works with or without combine for some operations
int texcombinealpha[MAX_TEXTUREUNITS]; // does nothing without combine
+ // matrices
+ matrix4x4_t texmatrix[MAX_TEXTUREUNITS];
// pointers
- const float *pointer_texcoord[MAX_TEXTUREUNITS];
+ const float *pointer_texcoord[MAX_TEXTUREUNITS]; // 2D
+ const float *pointer_texcoord3f[MAX_TEXTUREUNITS]; // 3D
// other state set by this
const float *pointer_vertex;
// sets up the requested transform matrix
void R_Mesh_Matrix(const matrix4x4_t *matrix);
-// sets up the requested transform matrix
-void R_Mesh_TextureMatrix(int unitnumber, const matrix4x4_t *matrix);
-
// set up the requested state
void R_Mesh_State(const rmeshstate_t *m);
void R_Mesh_Draw_ShowTris(int numverts, int numtriangles, const int *elements);
// saves a section of the rendered frame to a .tga or .jpg file
-qboolean SCR_ScreenShot(char *filename, int x, int y, int width, int height, qboolean jpeg);
+qboolean SCR_ScreenShot(char *filename, qbyte *buffer1, qbyte *buffer2, qbyte *buffer3, int x, int y, int width, int height, qboolean flipx, qboolean flipy, qboolean flipdiagonal, qboolean jpeg);
// used by R_Envmap_f and internally in backend, clears the frame
void R_ClearScreen(void);
// invoke refresh of frame