Xonotic
|
Go to the source code of this file.
Macros | |
#define | draw_beginBoldFont() drawfont = FONT_USER + 2 |
#define | draw_endBoldFont() drawfont = FONT_USER + 1 |
#define | drawcharacter(position, character, scale, rgb, alpha, flag) drawcharacter_builtin(HUD_Shift(position), text, scale, rgb, alpha, flag) |
#define | drawcolorcodedstring(position, text, scale, alpha, flag) drawcolorcodedstring_builtin(HUD_Shift(position), text, scale, alpha, flag) |
#define | drawcolorcodedstring2(position, text, scale, rgb, alpha, flag) drawcolorcodedstring2_builtin(HUD_Shift(position), text, scale, rgb, alpha, flag) |
#define | drawfill(position, size, rgb, alpha, flag) drawfill_builtin(HUD_Shift(position), HUD_Scale(size), rgb, alpha, flag) |
#define | drawpic(position, pic, size, rgb, alpha, flag) drawpic_builtin(HUD_Shift(position), pic, HUD_Scale(size), rgb, alpha, flag) |
#define | drawpic_aspect(pos, pic, mySize, color, theAlpha, drawflag) |
#define | drawpic_aspect_skin(pos, pic, sz, color, theAlpha, drawflag) |
#define | drawpic_skin(pos, pic, sz, color, theAlpha, drawflag) |
#define | drawsetcliparea(xposition, yposition, w, h) drawsetcliparea_builtin(HUD_ShiftX(xposition), HUD_ShiftY(yposition), HUD_ScaleX(w), HUD_ScaleY(h)) |
#define | drawstring(position, text, scale, rgb, alpha, flag) drawstring_builtin(HUD_Shift(position), text, scale, rgb, alpha, flag) |
Variables | |
float | _drawpic_imgaspect |
vector | _drawpic_imgsize |
float | _drawpic_oldsz |
string | _drawpic_picpath |
vector | _drawpic_sz |
vector | drawfontscale |
Definition at line 4 of file draw.qh.
Referenced by HUD_Ammo(), HUD_HealthArmor(), HUD_ModIcons(), HUD_Physics(), HUD_Powerups(), HUD_RaceTimer(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), Label_draw(), Label_recalcPositionWithText(), MapVote_Draw(), and Scoreboard_Draw().
Definition at line 5 of file draw.qh.
Referenced by CSQC_Init(), draw_reset(), HUD_Ammo(), HUD_HealthArmor(), HUD_ModIcons(), HUD_Physics(), HUD_Powerups(), HUD_RaceTimer(), HUD_Score(), HUD_StrafeHUD(), Label_draw(), Label_recalcPositionWithText(), and Scoreboard_Draw().
#define drawpic_aspect | ( | pos, | |
pic, | |||
mySize, | |||
color, | |||
theAlpha, | |||
drawflag | |||
) |
#define drawpic_aspect_skin | ( | pos, | |
pic, | |||
sz, | |||
color, | |||
theAlpha, | |||
drawflag | |||
) |
Definition at line 78 of file draw.qh.
Referenced by DrawAmmoItem(), DrawCAItem(), DrawDomItem(), DrawNumIcon_expanding(), drawpic_aspect_skin_expanding(), HUD_HealthArmor(), HUD_Mod_Keepaway(), HUD_Mod_KH(), HUD_Mod_NexBall(), HUD_PressedKeys(), HUD_Weapons(), and Item_ItemsTime_Allow().
#define drawpic_skin | ( | pos, | |
pic, | |||
sz, | |||
color, | |||
theAlpha, | |||
drawflag | |||
) |
Definition at line 89 of file draw.qh.
Referenced by drawpic_aspect_skin_expanding_two().
#define drawsetcliparea | ( | xposition, | |
yposition, | |||
w, | |||
h | |||
) | drawsetcliparea_builtin(HUD_ShiftX(xposition), HUD_ShiftY(yposition), HUD_ScaleX(w), HUD_ScaleY(h)) |
void drawborderlines | ( | float | thickness, |
vector | pos, | ||
vector | dim, | ||
vector | color, | ||
float | theAlpha, | ||
float | drawflag | ||
) |
Definition at line 5 of file draw.qc.
References drawfill(), and vector().
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_DrawMapItem().
void DrawCircleClippedPic | ( | vector | centre, |
float | radi, | ||
string | pic, | ||
float | f, | ||
vector | rgb, | ||
float | a, | ||
float | drawflag | ||
) |
Definition at line 182 of file draw.qc.
References cos(), fabs(), HUD_Scale(), HUD_Shift(), M_PI, sin(), v, and vector().
Referenced by HUD_Crosshair(), and HUD_Draw().
void drawcolorcodedstring_aspect | ( | vector | pos, |
string | text, | ||
vector | sz, | ||
float | theAlpha, | ||
float | drawflag | ||
) |
Definition at line 108 of file draw.qc.
References drawcolorcodedstring(), and SET_POS_AND_SZ_Y_ASPECT.
void drawcolorcodedstring_aspect_expanding | ( | vector | pos, |
string | text, | ||
vector | sz, | ||
float | theAlpha, | ||
float | drawflag, | ||
float | fadelerp | ||
) |
Definition at line 147 of file draw.qc.
References drawcolorcodedstring_expanding(), and SET_POS_AND_SZ_Y_ASPECT.
void drawcolorcodedstring_expanding | ( | vector | position, |
string | text, | ||
vector | theScale, | ||
float | theAlpha, | ||
float | flag, | ||
float | fadelerp | ||
) |
Definition at line 136 of file draw.qc.
References drawcolorcodedstring(), drawfontscale, expandingbox_resize_centered_box_offset(), expandingbox_sizefactor_from_fadelerp(), and hud_scale.
Referenced by drawcolorcodedstring_aspect_expanding().
void drawpic_aspect_skin_expanding | ( | vector | position, |
string | pic, | ||
vector | theScale, | ||
vector | rgb, | ||
float | theAlpha, | ||
float | flag, | ||
float | fadelerp | ||
) |
Definition at line 61 of file draw.qc.
References drawpic_aspect_skin, expandingbox_resize_centered_box_offset(), and expandingbox_sizefactor_from_fadelerp().
Referenced by DrawNumIcon_expanding(), drawpic_aspect_skin_expanding_two(), HUD_Mod_Keepaway(), and Item_ItemsTime_Allow().
void drawpic_aspect_skin_expanding_two | ( | vector | position, |
string | pic, | ||
vector | theScale, | ||
vector | rgb, | ||
float | theAlpha, | ||
float | flag, | ||
float | fadelerp | ||
) |
Definition at line 69 of file draw.qc.
References drawpic_aspect_skin_expanding(), and drawpic_skin.
void drawpic_tiled | ( | vector | pos, |
string | pic, | ||
vector | sz, | ||
vector | area, | ||
vector | color, | ||
float | theAlpha, | ||
float | drawflag | ||
) |
Definition at line 24 of file draw.qc.
References drawsubpic(), HUD_Scale(), HUD_Shift(), min(), and vector().
Referenced by HUD_Panel_HlBorder(), Scoreboard_MakeTable(), and Scoreboard_Rankings_Draw().
void drawstring_aspect | ( | vector | pos, |
string | text, | ||
vector | sz, | ||
vector | color, | ||
float | theAlpha, | ||
float | drawflag | ||
) |
Definition at line 102 of file draw.qc.
References drawstring(), and SET_POS_AND_SZ_Y_ASPECT.
Referenced by DrawAmmoItem(), DrawCAItem(), DrawDomItem(), DrawNumIcon_expanding(), HUD_Draw(), HUD_EngineInfo(), HUD_Physics(), HUD_Score(), HUD_Score_Rankings(), HUD_StrafeHUD(), Item_ItemsTime_Allow(), and race_showTime().
void drawstring_aspect_expanding | ( | vector | pos, |
string | text, | ||
vector | sz, | ||
vector | color, | ||
float | theAlpha, | ||
float | drawflag, | ||
float | fadelerp | ||
) |
Definition at line 131 of file draw.qc.
References drawstring_expanding(), and SET_POS_AND_SZ_Y_ASPECT.
Referenced by DrawNumIcon_expanding(), and race_showTime().
void drawstring_expanding | ( | vector | position, |
string | text, | ||
vector | theScale, | ||
vector | rgb, | ||
float | theAlpha, | ||
float | flag, | ||
float | fadelerp | ||
) |
Definition at line 113 of file draw.qc.
References drawfontscale, drawstring(), expandingbox_resize_centered_box_offset(), expandingbox_sizefactor_from_fadelerp(), HUD_Scale(), hud_scale, and vector().
Referenced by drawstring_aspect_expanding().
Definition at line 55 of file draw.qc.
Referenced by drawcolorcodedstring_expanding(), drawpic_aspect_skin_expanding(), and drawstring_expanding().
Definition at line 50 of file draw.qc.
Referenced by drawcolorcodedstring_expanding(), drawpic_aspect_skin_expanding(), and drawstring_expanding().
Definition at line 174 of file draw.qc.
References PolyDrawModelSurface().
Referenced by DrawDebugModel().
Definition at line 153 of file draw.qc.
References SPA_TEXCOORDS0, and vector().
Referenced by PolyDrawModel().
vector drawfontscale |
Definition at line 3 of file draw.qh.
Referenced by DamageText::DamageText_draw2d(), Draw_ShowNames(), drawcolorcodedstring_expanding(), drawstring_expanding(), HUD_Scale_Disable(), HUD_Scale_Enable(), and stringwidth().