Go to the documentation of this file.
151 int a,
x,
y,
w,
i, h;
165 for (a=0 ; a<
w ; a++)
222 Com_Printf(
"\n\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n\n");
228 for (l=0 ; l<40 ; l++)
229 if (
s[l] ==
'\n' || !
s[l])
231 for (
i=0 ;
i<(40-l)/2 ;
i++)
234 for (
j=0 ;
j<l ;
j++)
244 while (*
s && *
s !=
'\n')
251 Com_Printf(
"\n\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n\n");
278 for (l=0 ; l<40 ; l++)
279 if (start[l] ==
'\n' || !start[l])
293 while (*start && *start !=
'\n')
380 Com_Printf (
"Usage: sky <basename> <rotate> <axis x y z>\n");
618 return ( ( intptr_t ) a->
skin - ( intptr_t ) b->
skin );
622 return ( (intptr_t) a->
model - (intptr_t) b->
model );
640 for (
i=0 ;
i<128 ;
i++)
649 for (
i=0 ;
i<128 ;
i++)
660 time = (stop-start)/1000.0;
661 Com_Printf (
"%f seconds (%f fps)\n", time, 128/time);
726 #define STAT_MINUS 10 // num frame for '-' stats digit
729 {
"num_0",
"num_1",
"num_2",
"num_3",
"num_4",
"num_5",
730 "num_6",
"num_7",
"num_8",
"num_9",
"num_minus"},
731 {
"anum_0",
"anum_1",
"anum_2",
"anum_3",
"anum_4",
"anum_5",
732 "anum_6",
"anum_7",
"anum_8",
"anum_9",
"anum_minus"}
735 #define ICON_WIDTH 24
736 #define ICON_HEIGHT 24
737 #define CHAR_WIDTH 16 * vid_hudscale->value
790 while (*
string && *
string !=
'\n')
791 line[
width++] = *
string++;
835 l = (
int)strlen(num);
867 for (
i=0 ;
i<2 ;
i++)
868 for (
j=0 ;
j<11 ;
j++)
911 if (!strcmp(token,
"xl"))
917 if (!strcmp(token,
"xr"))
923 if (!strcmp(token,
"xv"))
930 if (!strcmp(token,
"yt"))
936 if (!strcmp(token,
"yb"))
942 if (!strcmp(token,
"yv"))
949 if (!strcmp(token,
"pic"))
964 if (!strcmp(token,
"client"))
966 int score, ping, time;
1002 if (!strcmp(token,
"ctf"))
1015 value = atoi(token);
1021 score = atoi(token);
1028 sprintf(block,
"%3d %3d %-12.12s", score, ping, ci->
name);
1037 if (!strcmp(token,
"picn"))
1046 if (!strcmp(token,
"num"))
1049 width = atoi(token);
1056 if (!strcmp(token,
"hnum"))
1076 if (!strcmp(token,
"anum"))
1084 else if (
value >= 0)
1096 if (!strcmp(token,
"rnum"))
1115 if (!strcmp(token,
"stat_string"))
1118 index = atoi(token);
1128 if (!strcmp(token,
"cstring"))
1135 if (!strcmp(token,
"string"))
1142 if (!strcmp(token,
"cstring2"))
1149 if (!strcmp(token,
"string2"))
1156 if (!strcmp(token,
"if"))
1162 while (
s && strcmp(token,
"endif") )
1196 #define STAT_LAYOUTS 13
1219 float separation[2] = { 0, 0 };
1258 for (
i = 0;
i < numframes;
i++ )
char scr_centerstring[1024]
void SCR_DrawConsole(void)
int incoming_acknowledged
CONST PIXELFORMATDESCRIPTOR int
void SCR_CheckDrawCenterString(void)
int entitycmpfnc(const entity_t *a, const entity_t *b)
void SCR_SizeDown_f(void)
void SCR_DrawDebugGraph(void)
void SCR_EndLoadingPlaque(void)
void SCR_TimeRefresh_f(void)
void SCR_BeginLoadingPlaque(void)
struct image_s *(* RegisterPic)(char *name)
void(* DrawFill)(int x, int y, int w, int h, int c)
void V_RenderView(float stereo_separation)
void CL_DrawInventory(void)
void SCR_DirtyScreen(void)
void Con_DrawConsole(float frac)
void SCR_DrawField(int x, int y, int color, int width, int value)
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void DrawString(int x, int y, char *s)
clientinfo_t clientinfo[MAX_CLIENTS]
char * va(char *format,...)
void SCR_RunConsole(void)
void SCR_UpdateScreen(void)
void SCR_DrawLayout(void)
float scr_centertime_start
qboolean SCR_DrawCinematic(void)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
cvar_t * cl_stereo_separation
void Con_CheckResize(void)
void Cvar_SetValue(char *var_name, float value)
void SCR_DebugGraph(float value, int color)
void(* DrawGetPicSize)(int *w, int *h, char *name)
void(* CinematicSetPalette)(const unsigned char *palette)
void Miniaudio_Stop(void)
void Com_Error(int code, char *fmt,...)
void Con_ClearNotify(void)
void SCR_DrawCenterString(void)
void(* DrawPic)(int x, int y, char *name)
clientinfo_t baseclientinfo
void DrawAltString(int x, int y, char *s)
#define MAX_CONFIGSTRINGS
qboolean cinematicpalette_active
void SCR_AddDirtyPoint(int x, int y)
player_state_t playerstate
void(* BeginFrame)(float camera_separation)
char crosshair_pic[MAX_QPATH]
void(* EndWorldRenderpass)(void)
void Con_DrawNotify(void)
void(* SetSky)(char *name, float rotate, vec3_t axis)
static void SCR_CalcVrect(void)
void CL_AddNetgraph(void)
void SCR_CenterPrint(char *str)
char * COM_Parse(char **data_p)
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
cvar_t * Cvar_Set(char *var_name, char *value)
void S_StopAllSounds(void)
static graphsamp_t values[1024]
void(* DrawTileClear)(int x, int y, int w, int h, char *name)
void(* DrawChar)(int x, int y, int c)
GLdouble GLdouble GLdouble w
void Com_Printf(char *fmt,...)
int Sys_Milliseconds(void)
void SizeHUDString(char *string, int *w, int *h)
void DrawHUDString(char *string, int x, int y, int centerwidth, int xor)
void Com_sprintf(char *dest, int size, char *fmt,...)
void(* RenderFrame)(refdef_t *fd)
void SCR_ExecuteLayoutString(char *s)
void SCR_DrawLoading(void)