cl_screen.h File Reference

Header for certain screen operations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SCR_Init (void)
void SCR_UpdateScreen (void)
 This is called every frame, and can also be called explicitly to flush text to the screen.
void SCR_BeginLoadingPlaque (void)
void SCR_EndLoadingPlaque (void)
void SCR_RunConsole (void)
 Scroll it up or down.
void SCR_DrawPrecacheScreen (qboolean string)
 Precache and loading screen at startup.

Detailed Description

Header for certain screen operations.

Definition in file cl_screen.h.


Function Documentation

void SCR_BeginLoadingPlaque ( void   ) 
void SCR_DrawPrecacheScreen ( qboolean  string  ) 

Precache and loading screen at startup.

See also:
CL_InitAfter
Parameters:
[in] string Draw the loading string - if the scripts are not parsed, this is not possible, so use qfalse for very early calls

Definition at line 106 of file cl_screen.c.

References ALIGN_UC, cls, image_s::height, it_pic, client_static_s::loadingPercent, qfalse, R_BeginFrame(), R_DrawImage(), R_EndFrame(), R_FindImage(), SCR_DrawLoadingBar(), UI_DrawString(), viddef, viddef_t::virtualHeight, viddef_t::virtualWidth, and image_s::width.

Referenced by CL_PrecacheCharacterModels(), and CL_ViewPrecacheModels().

void SCR_EndLoadingPlaque ( void   ) 
See also:
SCR_BeginLoadingPlaque

Definition at line 359 of file cl_screen.c.

void SCR_Init ( void   ) 
See also:
CL_Init

Definition at line 470 of file cl_screen.c.

References Cmd_AddCommand(), CVAR_ARCHIVE, Cvar_Get(), qtrue, SCR_TimeRefresh_f(), SCR_TouchPics(), and screenInitialized.

Referenced by CL_Init().

void SCR_RunConsole ( void   ) 

Scroll it up or down.

Definition at line 288 of file cl_screen.c.

References cls, client_static_s::frametime, key_console, client_static_s::keyDest, scr_con_current, scr_conlines, and cvar_s::value.

Referenced by CL_Frame().

void SCR_UpdateScreen ( void   ) 

Generated by  doxygen 1.6.2