FTEQW
Documentation of the FTE engine source tree.
|
Go to the source code of this file.
Classes | |
struct | framestate_s |
struct | framestate_s::framestateregion_s |
struct | image_s |
struct | pendingtextureinfo |
struct | vbobctx_t |
union | vboarray_s |
struct | srect_t |
struct | texnums_s |
struct | rendererinfo_s |
Typedefs | |
typedef struct framestate_s | framestate_t |
typedef struct image_s | image_t |
typedef image_t * | texid_t |
typedef struct texid_s | texid_tf |
typedef union vboarray_s | vboarray_t |
typedef struct texnums_s | texnums_t |
typedef enum backendmode_e | backendmode_t |
typedef struct rendererinfo_s | rendererinfo_t |
Enumerations | |
enum | skeltype_t { SKEL_RELATIVE , SKEL_ABSOLUTE , SKEL_INVERSE_RELATIVE , SKEL_INVERSE_ABSOLUTE , SKEL_IDENTITY , SKEL_QUATS } |
enum | mod_purge_e { MP_MAPCHANGED , MP_FLUSH , MP_RESET } |
enum | mlverbosity_e { MLV_SILENT , MLV_SILENTSYNC , MLV_WARN , MLV_WARNSYNC , MLV_ERROR } |
enum | { TEX_NOTLOADED , TEX_LOADING , TEX_LOADED , TEX_FAILED } |
enum | backendmode_e { BEM_STANDARD , BEM_DEPTHONLY , BEM_WIREFRAME , BEM_STENCIL , BEM_DEPTHDARK , BEM_CREPUSCULAR , BEM_GBUFFER , BEM_FOG , BEM_LIGHT } |
Functions | |
apic_t * | R2D_LoadAtlasedPic (const char *name) |
void | R2D_ImageAtlas (float x, float y, float w, float h, float s1, float t1, float s2, float t2, apic_t *pic) |
mpic_t * | R2D_SafeCachePic (const char *path) |
mpic_t * | R2D_SafePicFromWad (const char *name) |
void | R2D_DrawCrosshair (void) |
void | R2D_ScalePic (float x, float y, float width, float height, mpic_t *pic) |
void | R2D_SubPic (float x, float y, float width, float height, mpic_t *pic, float srcx, float srcy, float srcwidth, float srcheight) |
void | R2D_TransPicTranslate (float x, float y, int width, int height, qbyte *pic, unsigned int *palette) |
void | R2D_TileClear (float x, float y, float w, float h) |
void | R2D_FadeScreen (void) |
void | R2D_Font_Changed (void) |
void | R2D_ConsoleBackground (int firstline, int lastline, qboolean forceopaque) |
void | R2D_EditorBackground (void) |
qboolean | R2D_DrawLevelshot (void) |
void | R2D_Image (float x, float y, float w, float h, float s1, float t1, float s2, float t2, mpic_t *pic) |
void | R2D_Image2dQuad (vec2_t const *points, vec2_t const *texcoords, vec4_t const *rgba, mpic_t *pic) |
void | R2D_ImageColours (float r, float g, float b, float a) |
void | R2D_ImagePaletteColour (unsigned int i, float a) |
void | R2D_FillBlock (float x, float y, float w, float h) |
void | R2D_Line (float x1, float y1, float x2, float y2, mpic_t *pic) |
void * | SCR_ScreenShot_Capture (int fbwidth, int fbheight, int *stride, enum uploadfmt *fmt, qboolean no2d, qboolean hdr) |
void | SCR_Init (void) |
void | SCR_DeInit (void) |
void | SCR_BeginLoadingPlaque (void) |
void | SCR_EndLoadingPlaque (void) |
void | SCR_DrawConsole (qboolean noback) |
void | SCR_SetUpToDrawConsole (void) |
void | SCR_CenterPrint (int pnum, const char *str, qboolean skipgamecode) |
int | R_DrawTextField (int x, int y, int w, int h, const char *text, unsigned int defaultmask, unsigned int fieldflags, struct font_s *font, vec2_t fontscale) |
const char * | Mod_GetEntitiesString (struct model_s *mod) |
void | Mod_SetEntitiesStringLen (struct model_s *mod, const char *str, size_t strsize) |
void | Mod_SetEntitiesString (struct model_s *mod, const char *str, qboolean docopy) |
qboolean | Mod_LoadEntitiesBlob (struct model_s *mod, const char *entdata, size_t entdatasize) |
void | Mod_ParseEntities (struct model_s *mod) |
void | Mod_LoadMapArchive (struct model_s *mod, void *archivedata, size_t archivesize) |
void | Mod_ClearAll (void) |
void | Mod_Purge (enum mod_purge_e type) |
void | Mod_SetModifier (const char *modifier) |
qboolean | Mod_PurgeModel (struct model_s *mod, enum mod_purge_e ptype) |
struct model_s * | Mod_FindName (const char *name) |
struct model_s * | Mod_ForName (const char *name, enum mlverbosity_e verbosity) |
struct model_s * | Mod_LoadModel (struct model_s *mod, enum mlverbosity_e verbose) |
void | Mod_FileWritten (const char *filename) |
void * | Mod_Extradata (struct model_s *mod) |
void | Mod_TouchModel (const char *name) |
const char * | Mod_FixName (const char *modname, const char *worldname) |
const char * | Mod_ParseWorldspawnKey (struct model_s *mod, const char *key, char *buffer, size_t sizeofbuffer) |
qboolean | Mod_GetModelEvent (struct model_s *model, int animation, int eventidx, float *timestamp, int *eventcode, char **eventdata) |
int | Mod_SkinNumForName (struct model_s *model, int surfaceidx, const char *name) |
int | Mod_FrameNumForName (struct model_s *model, int surfaceidx, const char *name) |
float | Mod_GetFrameDuration (struct model_s *model, int surfaceidx, int framenum) |
int | Mod_GetFrameCount (struct model_s *model) |
qboolean | Mod_GetTag (struct model_s *model, int tagnum, framestate_t *framestate, float *transforms) |
int | Mod_TagNumForName (struct model_s *model, const char *name, int firsttag) |
void | Mod_AddSingleSurface (struct entity_s *ent, int surfaceidx, shader_t *shader, int mode) |
int | Mod_GetNumBones (struct model_s *model, qboolean allowtags) |
int | Mod_GetBoneRelations (struct model_s *model, int firstbone, int lastbone, framestate_t *fstate, float *result) |
int | Mod_GetBoneParent (struct model_s *model, int bonenum) |
struct galiasbone_s * | Mod_GetBoneInfo (struct model_s *model, int *numbones) |
const char * | Mod_GetBoneName (struct model_s *model, int bonenum) |
void | Draw_FunString (float x, float y, const void *str) |
void | Draw_FunStringU8 (unsigned int flags, float x, float y, const void *str) |
void | Draw_AltFunString (float x, float y, const void *str) |
void | Draw_FunStringWidthFont (struct font_s *font, float x, float y, const void *str, int width, int rightalign, qboolean highlight) |
texid_t | R2D_RT_Configure (const char *id, int width, int height, uploadfmt_t rtfmt, unsigned int imageflags) |
texid_t | R2D_RT_GetTexture (const char *id, unsigned int *width, unsigned int *height) |
Variables | |
r_qrenderer_t | qrenderer |
char * | q_renderername |
void(* | R2D_Flush )(void) |
void(* | Draw_Init )(void) |
void(* | R_Init )(void) |
void(* | R_DeInit )(void) |
void(* | R_RenderView )(void) |
qboolean(* | VID_Init )(rendererstate_t *info, unsigned char *palette) |
void(* | VID_DeInit )(void) |
char *(* | VID_GetRGBInfo )(int *stride, int *truevidwidth, int *truevidheight, enum uploadfmt *fmt) |
void(* | VID_SetWindowCaption )(const char *msg) |
qboolean(* | SCR_UpdateScreen )(void) |
struct model_s * | mod_known |
char | mod_modifier [] |
int | r_regsequence |
typedef enum backendmode_e backendmode_t |
typedef struct framestate_s framestate_t |
typedef struct rendererinfo_s rendererinfo_t |
typedef struct texid_s texid_t |
typedef struct texid_s texid_tf |
typedef union vboarray_s vboarray_t |
enum backendmode_e |
enum mlverbosity_e |
enum mod_purge_e |
enum skeltype_t |
void Draw_FunStringWidthFont | ( | struct font_s * | font, |
float | x, | ||
float | y, | ||
const void * | str, | ||
int | width, | ||
int | rightalign, | ||
qboolean | highlight | ||
) |
void Mod_FileWritten | ( | const char * | filename | ) |
struct model_s * Mod_FindName | ( | const char * | name | ) |
const char * Mod_FixName | ( | const char * | modname, |
const char * | worldname | ||
) |
struct model_s * Mod_ForName | ( | const char * | name, |
enum mlverbosity_e | verbosity | ||
) |
struct galiasbone_s * Mod_GetBoneInfo | ( | struct model_s * | model, |
int * | numbones | ||
) |
int Mod_GetBoneRelations | ( | struct model_s * | model, |
int | firstbone, | ||
int | lastbone, | ||
framestate_t * | fstate, | ||
float * | result | ||
) |
const char * Mod_GetEntitiesString | ( | struct model_s * | mod | ) |
qboolean Mod_GetModelEvent | ( | struct model_s * | model, |
int | animation, | ||
int | eventidx, | ||
float * | timestamp, | ||
int * | eventcode, | ||
char ** | eventdata | ||
) |
qboolean Mod_GetTag | ( | struct model_s * | model, |
int | tagnum, | ||
framestate_t * | framestate, | ||
float * | transforms | ||
) |
model_t * Mod_LoadModel | ( | struct model_s * | mod, |
enum mlverbosity_e | verbose | ||
) |
const char * Mod_ParseWorldspawnKey | ( | struct model_s * | mod, |
const char * | key, | ||
char * | buffer, | ||
size_t | sizeofbuffer | ||
) |
void Mod_Purge | ( | enum mod_purge_e | type | ) |
qboolean Mod_PurgeModel | ( | struct model_s * | mod, |
enum mod_purge_e | ptype | ||
) |
void Mod_SetModifier | ( | const char * | modifier | ) |
void Mod_TouchModel | ( | const char * | name | ) |
void R2D_FillBlock | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) |
void R2D_Image | ( | float | x, |
float | y, | ||
float | w, | ||
float | h, | ||
float | s1, | ||
float | t1, | ||
float | s2, | ||
float | t2, | ||
mpic_t * | pic | ||
) |
void R2D_Image2dQuad | ( | vec2_t const * | points, |
vec2_t const * | texcoords, | ||
vec4_t const * | rgba, | ||
mpic_t * | pic | ||
) |
void R2D_ImageAtlas | ( | float | x, |
float | y, | ||
float | w, | ||
float | h, | ||
float | s1, | ||
float | t1, | ||
float | s2, | ||
float | t2, | ||
apic_t * | pic | ||
) |
void R2D_ImageColours | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
void R2D_Line | ( | float | x1, |
float | y1, | ||
float | x2, | ||
float | y2, | ||
mpic_t * | pic | ||
) |
apic_t * R2D_LoadAtlasedPic | ( | const char * | name | ) |
texid_t R2D_RT_Configure | ( | const char * | id, |
int | width, | ||
int | height, | ||
uploadfmt_t | rtfmt, | ||
unsigned int | imageflags | ||
) |
mpic_t * R2D_SafeCachePic | ( | const char * | path | ) |
mpic_t * R2D_SafePicFromWad | ( | const char * | name | ) |
void R2D_ScalePic | ( | float | x, |
float | y, | ||
float | width, | ||
float | height, | ||
mpic_t * | pic | ||
) |
void R2D_SubPic | ( | float | x, |
float | y, | ||
float | width, | ||
float | height, | ||
mpic_t * | pic, | ||
float | srcx, | ||
float | srcy, | ||
float | srcwidth, | ||
float | srcheight | ||
) |
void R2D_TileClear | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) |
void R2D_TransPicTranslate | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
qbyte * | pic, | ||
unsigned int * | palette | ||
) |
int R_DrawTextField | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
const char * | text, | ||
unsigned int | defaultmask, | ||
unsigned int | fieldflags, | ||
struct font_s * | font, | ||
vec2_t | fontscale | ||
) |
void * SCR_ScreenShot_Capture | ( | int | fbwidth, |
int | fbheight, | ||
int * | stride, | ||
enum uploadfmt * | fmt, | ||
qboolean | no2d, | ||
qboolean | hdr | ||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |