34 #define RDF_NOWORLDMODEL 1 35 #define RDF_IRGOGGLES 2 37 #define WEATHER_NONE 0 40 #define VID_NORM_WIDTH 1024 41 #define VID_NORM_HEIGHT 768 43 #define MAX_PTL_ART 1024 47 typedef struct corona_s {
53 #define MAX_CORONAS 128 55 #define MAX_GL_LIGHTS 8 74 typedef struct ptlCmd_s {
81 typedef struct ptlDef_s {
91 typedef enum artType_s {
96 typedef struct ptlArt_s {
107 typedef struct ptl_s {
225 typedef struct renderer_threadstate_s {
244 void R_FontTextSize(
const char* fontId,
const char* text,
int maxWidth,
longlines_t method,
int* width,
int* height,
int* lines,
bool* isTruncated);
245 int R_FontDrawString(
const char* fontId,
align_t align,
int x,
int y,
int absX,
int maxWidth,
int lineHeight,
const char* c,
int boxHeight,
int scrollPos,
int* curLine,
longlines_t method);
renderer_threadstate_t r_threadstate
int R_FontDrawString(const char *fontId, align_t align, int x, int y, int absX, int maxWidth, int lineHeight, const char *c, int boxHeight, int scrollPos, int *curLine, longlines_t method)
void R_ModBeginLoading(const char *tiles, bool day, const char *pos, const char *mapName, const char *mapZone)
Specifies the model that will be used as the world.
void R_FontSetTruncationMarker(const char *marker)
void R_Color(const vec4_t rgba)
Change the color to given value.
artType_t
particle art type
void R_FontTextSize(const char *fontId, const char *text, int maxWidth, longlines_t method, int *width, int *height, int *lines, bool *isTruncated)
Supply information about the size of the text when it is linewrapped and rendered, without actually rendering it. Any of the output parameters may be nullptr.
align_t
We need this here for checking the boundaries from script values.
void R_SwitchModelMemPoolTag(void)
After all static models are loaded, switch the pool tag for these models to not free them everytime R...
coronas are soft, alpha-blended, rounded polys
void R_FontShutdown(void)
frees the SDL_ttf fonts
void R_LoadImage(const char *name, byte **pic, int *width, int *height)
Generic image-data loading fucntion.
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void R_FontRegister(const char *name, int size, const char *path, const char *style)
struct entity_s * traceEntity
#define MAX_STATIC_LIGHTS
static const char * mapName