34#define RDF_NOWORLDMODEL 1
35#define RDF_IRGOGGLES 2
40#define VID_NORM_WIDTH 1024
41#define VID_NORM_HEIGHT 768
43#define MAX_PTL_ART 1024
47typedef struct corona_s {
53#define MAX_CORONAS 128
55#define MAX_GL_LIGHTS 8
74typedef struct ptlCmd_s {
81typedef struct ptlDef_s {
91typedef enum artType_s {
96typedef struct ptlArt_s {
107typedef struct ptl_s {
225typedef struct renderer_threadstate_s {
237void R_LoadImage(
const char*
name,
byte** pic,
int* width,
int* height);
244void R_FontTextSize(
const char* fontId,
const char* text,
int maxWidth,
longlines_t method,
int* width,
int* height,
int* lines,
bool* isTruncated);
245int 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_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,...
void R_FontSetTruncationMarker(const char *marker)
void R_SwitchModelMemPoolTag(void)
After all static models are loaded, switch the pool tag for these models to not free them everytime R...
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_FontRegister(const char *name, int size, const char *path, const char *style)
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_LoadImage(const char *name, byte **pic, int *width, int *height)
Generic image-data loading fucntion.
void R_FontShutdown(void)
frees the SDL_ttf fonts
void R_Color(const vec4_t rgba)
Change the color to given value.
artType_t
particle art type
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
#define MAX_STATIC_LIGHTS
align_t
We need this here for checking the boundaries from script values.
coronas are soft, alpha-blended, rounded polys
corona_t coronas[MAX_CORONAS]
light_t staticLights[MAX_STATIC_LIGHTS]
light_t dynamicLights[MAX_GL_LIGHTS]
struct entity_s * traceEntity
static const char * mapName