30 void R_DrawChar(
int x,
int y,
int c, uint32_t color);
34 void R_DrawRect(
int x,
int y,
int w,
int h,
const vec4_t color,
float lineWidth,
int pattern);
const image_t * R_DrawImageArray(const vec2_t texcoords[4], const vec2_t verts[4], const image_t *image)
static ipos3_t shift
The shift array is used for random map assemblies (RMA) to shift the mins/maxs and stuff like that...
void R_DrawLine(int *verts, float thickness)
Draws one line with only one start and one end point.
void R_DrawLineStrip(int points, int *verts)
2 dimensional line strip
void R_DrawImage(float x, float y, const image_t *image)
Draws an image or parts of it.
void R_PushClipRect(int x, int y, int width, int height)
Force to draw only on a rect.
void R_DrawCircle(float radius, const vec4_t color, float thickness, const vec3_t shift)
void R_DrawFill(int x, int y, int w, int h, const vec4_t color)
Fills a box of pixels with a single color.
void R_DrawTexture(int texnum, int x, int y, int w, int h)
Bind and draw a texture.
void R_DrawLineLoop(int points, int *verts)
void R_CleanupDepthBuffer(int x, int y, int width, int height)
"Clean up" the depth buffer into a rect
void R_DrawChar(int x, int y, int c, uint32_t color)
Draws one 8*8 graphics character with 0 being transparent. It can be clipped to the top of the screen...
void R_DrawStretchImage(float x, float y, int w, int h, const image_t *image)
void R_DrawBoundingBoxBatched(const AABB &box)
void R_DrawBoundingBox(const AABB &absBox)
Draws the model bounding box.
void R_DrawRect(int x, int y, int w, int h, const vec4_t color, float lineWidth, int pattern)
Draws a rect to the screen. Also has support for stippled rendering of the rect.
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void R_DrawBoundingBoxes(void)
void R_DrawTexturedBox(const vec3_t absmins, const vec3_t absmaxs)
Draws the textured box, the caller should bind the texture.
int R_UploadData(const char *name, unsigned *frame, int width, int height)
Uploads image data.
void R_DrawPolygon(int points, int *verts)