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
53 #define MAX_CORONAS 128
55 #define MAX_GL_LIGHTS 8
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
struct entity_s * traceEntity
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.
artType_s
particle art type
void R_FontSetTruncationMarker(const char *marker)
void R_Color(const vec4_t rgba)
Change the color to given value.
struct corona_s corona_t
coronas are soft, alpha-blended, rounded polys
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.
struct renderer_threadstate_s renderer_threadstate_t
void R_SwitchModelMemPoolTag(void)
After all static models are loaded, switch the pool tag for these models to not free them everytime R...
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.
enum artType_s artType_t
particle art type
coronas are soft, alpha-blended, rounded polys
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void R_FontRegister(const char *name, int size, const char *path, const char *style)
#define MAX_STATIC_LIGHTS
static const char * mapName