icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
153 int a,
x,
y,
w,
i, h;
167 for (a=0 ; a<
w ; a++)
224 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");
230 for (l=0 ; l<40 ; l++)
231 if (
s[l] ==
'\n' || !
s[l])
233 for (
i=0 ;
i<(40-l)/2 ;
i++)
236 for (
j=0 ;
j<l ;
j++)
246 while (*
s && *
s !=
'\n')
253 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");
280 for (l=0 ; l<40 ; l++)
281 if (start[l] ==
'\n' || !start[l])
285 for (
j=0 ;
j<l ;
j++,
x+=8)
299 while (*start && *start !=
'\n')
389 Com_Printf (
"Usage: sky <basename> <rotate> <axis x y z>\n");
646 for (
i=0 ;
i<128 ;
i++)
655 for (
i=0 ;
i<128 ;
i++)
666 time = (stop-start)/1000.0;
667 Com_Printf (
"%f seconds (%f fps)\n", time, 128/time);
719 for (
i=0 ;
i<2 ;
i++)
744 if (clear.
y2 <= clear.
y1)
756 clear.
x2 - clear.
x1 + 1,
i - clear.
y1+1,
"backtile");
763 clear.
x2-clear.
x1+1, clear.
y2-
i+1,
"backtile");
768 i = clear.
x2 < left-1 ? clear.
x2 : left-1;
770 i-clear.
x1+1, clear.
y2 - clear.
y1 + 1,
"backtile");
777 clear.
x2-
i+1, clear.
y2 - clear.
y1 + 1,
"backtile");
787 #define STAT_MINUS 10 // num frame for '-' stats digit
790 {
"num_0",
"num_1",
"num_2",
"num_3",
"num_4",
"num_5",
791 "num_6",
"num_7",
"num_8",
"num_9",
"num_minus"},
792 {
"anum_0",
"anum_1",
"anum_2",
"anum_3",
"anum_4",
"anum_5",
793 "anum_6",
"anum_7",
"anum_8",
"anum_9",
"anum_minus"}
796 #define ICON_WIDTH 24
797 #define ICON_HEIGHT 24
798 #define CHAR_WIDTH 16
851 while (*
string && *
string !=
'\n')
852 line[
width++] = *
string++;
856 x = margin + (centerwidth -
width*8)/2;
932 for (
i=0 ;
i<2 ;
i++)
933 for (
j=0 ;
j<11 ;
j++)
981 if (!strcmp(token,
"xl"))
987 if (!strcmp(token,
"xr"))
993 if (!strcmp(token,
"xv"))
1000 if (!strcmp(token,
"yt"))
1006 if (!strcmp(token,
"yb"))
1012 if (!strcmp(token,
"yv"))
1019 if (!strcmp(token,
"pic"))
1034 if (!strcmp(token,
"client"))
1036 int score, ping, time;
1046 value = atoi(token);
1052 score = atoi(token);
1072 if (!strcmp(token,
"ctf"))
1085 value = atoi(token);
1091 score = atoi(token);
1098 sprintf(block,
"%3d %3d %-12.12s", score, ping, ci->
name);
1107 if (!strcmp(token,
"picn"))
1116 if (!strcmp(token,
"num"))
1119 width = atoi(token);
1126 if (!strcmp(token,
"hnum"))
1146 if (!strcmp(token,
"anum"))
1154 else if (
value >= 0)
1166 if (!strcmp(token,
"rnum"))
1185 if (!strcmp(token,
"stat_string"))
1188 index = atoi(token);
1198 if (!strcmp(token,
"cstring"))
1205 if (!strcmp(token,
"string"))
1212 if (!strcmp(token,
"cstring2"))
1219 if (!strcmp(token,
"string2"))
1226 if (!strcmp(token,
"if"))
1232 while (
s && strcmp(token,
"endif") )
1266 #define STAT_LAYOUTS 13
1289 float separation[2] = { 0, 0 };
1341 for (
i = 0;
i < numframes;
i++ )
GLdouble GLdouble GLdouble y2
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 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 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
GLdouble GLdouble GLdouble top
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)