|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | draw_beginBoldFont() |
| #define | draw_endBoldFont() |
| #define | drawcharacter(position, character, scale, rgb, alpha, flag) |
| #define | drawcolorcodedstring(position, text, scale, alpha, flag) |
| #define | drawcolorcodedstring2(position, text, scale, rgb, alpha, flag) |
| #define | drawfill(position, size, rgb, alpha, flag) |
| #define | drawpic(position, pic, 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) |
| #define | drawstring(position, text, scale, rgb, alpha, flag) |
Variables | |
| float | _drawpic_imgaspect |
| vector | _drawpic_imgsize |
| float | _drawpic_oldsz |
| string | _drawpic_picpath |
| vector | _drawpic_sz |
| vector | drawfontscale |
| #define draw_beginBoldFont | ( | ) |
Definition at line 4 of file draw.qh.
Referenced by Draw_WaypointSprite(), HUD_Ammo(), HUD_CenterPrint(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_ModIcons(), HUD_Physics(), HUD_Powerups(), HUD_RaceTimer(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), Label_draw(), Label_recalcPositionWithText(), MapVote_Draw(), Scoreboard_Draw(), Scoreboard_Spectators_Draw(), and XonoticPlayerModelSelector_draw().
| #define draw_endBoldFont | ( | ) |
Definition at line 5 of file draw.qh.
Referenced by CSQC_Init(), draw_reset(), Draw_WaypointSprite(), HUD_CenterPrint(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_ModIcons(), HUD_Physics(), HUD_Powerups(), HUD_RaceTimer(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), Label_draw(), Label_recalcPositionWithText(), MapVote_Draw(), Scoreboard_Draw(), Scoreboard_Spectators_Draw(), and XonoticPlayerModelSelector_draw().
Definition at line 30 of file draw.qh.
Referenced by Checkpoints_drawstring(), Draw_ShowNames(), draw_Text(), drawcolorcodedstring_aspect(), drawcolorcodedstring_expanding(), float(), GameTypeVote_DrawGameTypeItem(), HUD_CenterPrint(), HUD_Chat(), HUD_Notify(), HUD_Quickmenu_DrawEntry(), HUD_RaceTimer(), HUD_Score_Rankings(), InfoMessages_drawstring(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), minigame_drawcolorcodedstring_trunc(), minigame_drawcolorcodedstring_wrapped(), Scoreboard_Draw(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), and Scoreboard_Rankings_Draw().
Definition at line 36 of file draw.qh.
Referenced by cl_notice_run(), draw_Fill(), Draw_ShowNames(), drawborderlines(), float(), GameTypeVote_DrawGameTypeItem(), HUD_CenterPrint(), HUD_Configure_DrawGrid(), HUD_Configure_PostDraw(), HUD_Contents(), HUD_Damage(), HUD_DarkBlinking(), HUD_Draw(), HUD_MinigameMenu(), HUD_Panel_HlBorder(), HUD_Panel_HlCenterLine(), HUD_Panel_Mouse(), HUD_Physics(), HUD_QuickMenu(), HUD_Score_Rankings(), MapVote_DrawMapItem(), MapVote_DrawMapPicture(), orb_draw2d(), QuickMenu_Mouse(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_Rankings_Draw(), StrafeHUD_DrawAngleIndicatorLine(), StrafeHUD_DrawDirectionIndicator(), StrafeHUD_DrawSlickDetector(), StrafeHUD_DrawSoftGradient(), StrafeHUD_DrawStrafeHUD(), StrafeHUD_DrawStrafeMeter(), View_NightVision(), and Weapons_Draw().
Definition at line 21 of file draw.qh.
Referenced by AuxiliaryXhair_Draw2D(), draw_cursor(), draw_drawMousePointer(), draw_Picture(), DrawReticle(), drawsprite_TextOrIcon(), float(), GameTypeVote_DrawGameTypeItem(), HUD_Damage(), HUD_Main(), HUD_MinigameMenu(), HUD_Pickup(), HUD_Quickmenu_DrawEntry(), MapVote_DrawMapPicture(), minigame_drawpic_centered(), minigame_hud_simpleboard(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_MakeTable(), turret_draw2d(), Vehicles_drawCrosshair(), and Vehicles_drawHUD().
| #define drawpic_aspect | ( | pos, | |
| pic, | |||
| mySize, | |||
| color, | |||
| theAlpha, | |||
| drawflag ) |
Definition at line 57 of file draw.qh.
| #define drawpic_aspect_skin | ( | pos, | |
| pic, | |||
| sz, | |||
| color, | |||
| theAlpha, | |||
| drawflag ) |
Definition at line 78 of file draw.qh.
Referenced by DrawAmmoItem(), DrawAmmoNades(), DrawCAItem(), DrawDomItem(), DrawItemsTimeItem(), DrawNumIcon_expanding(), drawpic_aspect_skin_expanding(), HUD_HealthArmor(), HUD_Mod_Keepaway(), HUD_Mod_KH(), HUD_Mod_LMS_Draw(), HUD_Mod_NexBall(), HUD_Mod_Race(), HUD_Mod_TeamKeepaway(), HUD_Notify(), HUD_PressedKeys(), Scoreboard_AccuracyStats_Draw(), Scoreboard_ItemStats_Draw(), and Weapons_Draw().
| #define drawpic_skin | ( | pos, | |
| pic, | |||
| sz, | |||
| color, | |||
| theAlpha, | |||
| drawflag ) |
Definition at line 88 of file draw.qh.
Referenced by drawpic_aspect_skin_expanding_two(), HUD_Vote(), and Vehicles_drawHUD().
| #define drawsetcliparea | ( | xposition, | |
| yposition, | |||
| w, | |||
| h ) |
Definition at line 39 of file draw.qh.
Referenced by _draw_SetClip(), draw_ClearClip(), DrawDomItem(), HUD_Radar(), HUD_Vote(), Vehicles_drawHUD(), void(), and Weapons_Draw().
Definition at line 27 of file draw.qh.
Referenced by draw_Text(), drawsprite_TextOrIcon(), drawstring_aspect(), drawstring_expanding(), float(), GameTypeVote_DrawGameTypeItem(), HUD_CenterPrint(), HUD_Pickup(), HUD_RaceTimer(), HUD_Score_Rankings(), MapStats_DrawKeyValue(), MapVote_Draw(), MapVote_DrawAbstain(), minigame_drawstring_trunc(), minigame_drawstring_wrapped(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_ItemStats_Draw(), Scoreboard_MapStats_Draw(), Scoreboard_Rankings_Draw(), Scoreboard_Spectators_Draw(), Vehicles_drawHUD(), and Weapons_Draw().
| void drawborderlines | ( | float | thickness, |
| vector | pos, | ||
| vector | dim, | ||
| vector | color, | ||
| float | theAlpha, | ||
| float | drawflag ) |
Definition at line 5 of file draw.qc.
References color, 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 190 of file draw.qc.
References cos(), fabs(), HUD_Scale(), HUD_Shift(), M_PI, sin(), 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 116 of file draw.qc.
References drawcolorcodedstring, DRAWSTRING_ASPECT_SCALE, and vector.
Referenced by HUD_Mod_Race(), and HUD_Vote().
| void drawcolorcodedstring_aspect_expanding | ( | vector | pos, |
| string | text, | ||
| vector | sz, | ||
| float | theAlpha, | ||
| float | drawflag, | ||
| float | fadelerp ) |
Definition at line 155 of file draw.qc.
References drawcolorcodedstring_expanding(), DRAWSTRING_ASPECT_SCALE, and vector.
| void drawcolorcodedstring_expanding | ( | vector | position, |
| string | text, | ||
| vector | theScale, | ||
| float | theAlpha, | ||
| float | flag, | ||
| float | fadelerp ) |
Definition at line 144 of file draw.qc.
References drawcolorcodedstring, drawfontscale, expandingbox_resize_centered_box_offset(), expandingbox_sizefactor_from_fadelerp(), hud_scale, and vector.
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(), expandingbox_sizefactor_from_fadelerp(), and vector.
Referenced by DrawAmmoNades(), DrawItemsTimeItem(), DrawNumIcon_expanding(), drawpic_aspect_skin_expanding_two(), HUD_Mod_Keepaway(), and HUD_Mod_TeamKeepaway().
| 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(), drawpic_skin, and vector.
| 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 color, drawsubpic(), HUD_Scale(), HUD_Shift(), min(), and vector.
Referenced by HUD_Panel_HlBorder(), Scoreboard_AccuracyStats_Draw(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_MapStats_Draw(), and Scoreboard_Rankings_Draw().
| void drawstring_aspect | ( | vector | pos, |
| string | text, | ||
| vector | sz, | ||
| vector | color, | ||
| float | theAlpha, | ||
| float | drawflag ) |
Definition at line 110 of file draw.qc.
References color, drawstring, DRAWSTRING_ASPECT_SCALE, and vector.
Referenced by DrawAmmoItem(), DrawAmmoNades(), DrawCAItem(), DrawDomItem(), DrawItemsTimeItem(), DrawNumIcon_expanding(), HUD_Draw(), HUD_EngineInfo(), HUD_Mod_LMS_Draw(), HUD_Mod_Race(), HUD_Mod_Survival(), HUD_Physics(), HUD_Score(), HUD_Score_Rankings(), HUD_Timer(), HUD_Vote(), race_showTime(), StrafeHUD_DrawTextIndicator(), and Weapons_Draw().
| void drawstring_aspect_expanding | ( | vector | pos, |
| string | text, | ||
| vector | sz, | ||
| vector | color, | ||
| float | theAlpha, | ||
| float | drawflag, | ||
| float | fadelerp ) |
Definition at line 139 of file draw.qc.
References color, DRAWSTRING_ASPECT_SCALE, drawstring_expanding(), and vector.
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 121 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(), and HUD_RaceTimer().
Definition at line 55 of file draw.qc.
References vector.
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 182 of file draw.qc.
References entity(), and PolyDrawModelSurface().
Referenced by DrawDebugModel().
Definition at line 161 of file draw.qc.
References entity(), SPA_TEXCOORDS0, and vector.
Referenced by PolyDrawModel().
Definition at line 75 of file draw.qc.
| vector drawfontscale |
Definition at line 3 of file draw.qh.
Referenced by DamageText::DamageText_draw2d(), Draw_ShowNames(), drawcolorcodedstring_expanding(), drawstring_expanding(), HUD_CenterPrint(), HUD_Scale_Disable(), HUD_Scale_Enable(), Scoreboard_DrawHeader(), and stringwidth().