|
UFO: Alien Invasion
|
Header for certain screen operations. More...

Go to the source code of this file.
Functions | |
| void | SCR_Init (void) |
| void | SCR_Shutdown (void) |
| void | SCR_ChangeCursor (int cursor) |
| void | SCR_UpdateScreen (void) |
| This is called every frame, and can also be called explicitly to flush text to the screen. | |
| void | SCR_DrawLoading (int percent) |
| Draws the current loading pic of the map from base/pics/maps/loading. | |
| void | SCR_BeginLoadingPlaque (void) |
| void | SCR_EndLoadingPlaque (void) |
| void | SCR_RunConsole (void) |
| Scroll it up or down. | |
| void | SCR_DrawLoadingScreen (bool string, int percent) |
| Precache and loading screen at startup. | |
Header for certain screen operations.
Definition in file cl_screen.h.
Definition at line 269 of file cl_screen.cpp.
Definition at line 370 of file cl_screen.cpp.
References Cvar_SetValue().
Referenced by CL_ActorMouseTrace(), IN_SetMouseSpace(), and SCR_TouchPics().
Draws the current loading pic of the map from base/pics/maps/loading.
Definition at line 140 of file cl_screen.cpp.
References cls, R_BeginFrame(), R_EndFrame(), SCR_DrawDownloading(), SCR_DrawLoadingBar(), UI_Draw(), and viddef.
Referenced by CL_SendCommand(), and CL_ViewLoadMedia().
Precache and loading screen at startup.
| [in] | string | Draw the loading string - if the scripts are not parsed, this is not possible, so use false for very early calls |
| percent | Progress value for the status bar |
Definition at line 100 of file cl_screen.cpp.
References ALIGN_UC, image_t::height, it_pic, R_BeginFrame(), R_DrawImage(), R_EndFrame(), R_FindImage(), SCR_DrawLoadingBar(), UI_DrawString(), viddef, and image_t::width.
Referenced by CL_Init(), CL_ParseClientData(), CL_PrecacheCharacterModels(), CL_ViewPrecacheModels(), and R_ReloadImages().
Definition at line 277 of file cl_screen.cpp.
Definition at line 379 of file cl_screen.cpp.
References Cmd_AddCommand(), CVAR_ARCHIVE, Cvar_Get(), scr_consize, scr_conspeed, scr_cursor, scr_rspeed, scr_showcursor, SCR_TimeRefresh_f(), SCR_TouchPics(), and screenInitialized.
Referenced by CL_Init().
Scroll it up or down.
Definition at line 222 of file cl_screen.cpp.
References cls, key_console, scr_con_current, scr_conlines, scr_consize, and scr_conspeed.
Referenced by CL_Frame().
Definition at line 397 of file cl_screen.cpp.
References screenInitialized.
Referenced by CL_Shutdown().
This is called every frame, and can also be called explicitly to flush text to the screen.
Definition at line 320 of file cl_screen.cpp.
References cl_fps, CL_Milliseconds(), CL_OnBattlescape(), CL_ViewRender(), cls, Com_Printf(), con_fontHeight, con_fontWidth, R_BeginFrame(), R_EndFrame(), r_programs, refdef, SCR_DrawConsole(), SCR_DrawCursor(), SCR_DrawString(), scr_rspeed, screenInitialized, UI_Draw(), va(), and viddef.
Referenced by CL_Frame().