Xonotic
|
#include "slider_resolution.qh"
Go to the source code of this file.
Functions | |
entity | makeXonoticResolutionSlider () |
float | updateConwidths (float width, float height, float pixelheight) |
void | XonoticResolutionSlider_addResolution (entity me, float w, float h, float pixelheight) |
void | XonoticResolutionSlider_configureXonoticResolutionSlider (entity me) |
void | XonoticResolutionSlider_draw (entity me) |
void | XonoticResolutionSlider_loadCvars (entity me) |
void | XonoticResolutionSlider_loadResolutions (entity me, float fullscreen) |
void | XonoticResolutionSlider_saveCvars (entity me) |
Variables | |
float | autocvar_menu_vid_allowdualscreenresolution |
float | vid_conheight |
float | vid_conwidth |
float | XonoticResolutionSlider_DataHasChanged |
entity makeXonoticResolutionSlider | ( | ) |
Definition at line 83 of file slider_resolution.qc.
Definition at line 8 of file slider_resolution.qc.
References cvar(), cvar_set(), cvar_string(), CVAR_TYPEFLAG_ENGINE, ftos(), height, LOG_TRACE, max(), min(), rint(), vector(), vid_conheight, vid_conwidth, and XonoticResolutionSlider_DataHasChanged.
Referenced by _dumptree_close(), GameCommand(), and UpdateConWidthHeight().
Definition at line 90 of file slider_resolution.qc.
References argv(), fabs(), ftos(), rint(), stof(), strcat(), strzone(), and tokenize_console.
Definition at line 128 of file slider_resolution.qc.
Definition at line 230 of file slider_resolution.qc.
References cvar(), SUPER, and XonoticResolutionSlider_DataHasChanged.
Definition at line 211 of file slider_resolution.qc.
References cvar_string(), and strcat().
Definition at line 134 of file slider_resolution.qc.
References autocvar_menu_vid_allowdualscreenresolution, ftos(), getresolution(), LOG_TRACE, strunzone(), and vector().
Definition at line 215 of file slider_resolution.qc.
References argv(), cvar_set(), fabs(), getresolution(), stof(), tokenize_console, and vector().
float autocvar_menu_vid_allowdualscreenresolution |
Definition at line 127 of file slider_resolution.qc.
Referenced by XonoticResolutionSlider_loadResolutions().
float vid_conheight |
Definition at line 5 of file slider_resolution.qc.
Referenced by AuxiliaryXhair_Draw2D(), CSQC_UpdateView(), Draw_ShowNames(), DrawReticle(), GENERIC_COMMAND(), HUD_Chat(), HUD_Configure_DrawGrid(), HUD_Contents(), HUD_Crosshair(), HUD_Damage(), HUD_Draw(), Hud_Dynamic_Frame(), HUD_Main(), HUD_mouse_over(), HUD_Panel_Arrow_Action(), HUD_Panel_Chat_InputEvent(), HUD_Panel_InputEvent(), HUD_Panel_SetPos(), HUD_Panel_SetPosSize(), HUD_Radar(), HUD_Radar_Mouse(), Hud_Shake_Update(), HUD_Weapons(), MapVote_Draw(), MapVote_Init(), NET_HANDLE(), project_3d_to_2d(), projected_on_screen(), Scoreboard_AccuracyStats_WouldDraw(), Scoreboard_ItemStats_WouldDraw(), Scoreboard_MakeTable(), turret_draw2d(), update_mousepos(), updateConwidths(), Vehicles_drawCrosshair(), Vehicles_drawHUD(), and ViewLocation_Mouse().
float vid_conwidth |
Definition at line 4 of file slider_resolution.qc.
Referenced by AuxiliaryXhair_Draw2D(), CSQC_UpdateView(), Draw_ShowNames(), DrawReticle(), HUD_Chat(), HUD_Configure_DrawGrid(), HUD_Contents(), HUD_Crosshair(), HUD_Damage(), HUD_Draw(), Hud_Dynamic_Frame(), HUD_Main(), HUD_mouse_over(), HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), HUD_Panel_SetPos(), HUD_Panel_SetPosSize(), HUD_Radar(), HUD_Radar_Mouse(), Hud_Shake_Update(), HUD_Weapons(), MapVote_Draw(), MapVote_Init(), NET_HANDLE(), project_3d_to_2d(), projected_on_screen(), Scoreboard_Draw(), Scoreboard_FixColumnWidth(), turret_draw2d(), update_mousepos(), updateConwidths(), Vehicles_drawCrosshair(), Vehicles_drawHUD(), and ViewLocation_Mouse().
float XonoticResolutionSlider_DataHasChanged |
Definition at line 3 of file slider_resolution.qc.
Referenced by updateConwidths(), and XonoticResolutionSlider_draw().