|
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. More... | |
| void | SCR_DrawLoading (int percent) |
| Draws the current loading pic of the map from base/pics/maps/loading. More... | |
| void | SCR_BeginLoadingPlaque (void) |
| void | SCR_EndLoadingPlaque (void) |
| void | SCR_RunConsole (void) |
| Scroll it up or down. More... | |
| void | SCR_DrawLoadingScreen (bool string, int percent) |
| Precache and loading screen at startup. More... | |
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, client_static_t::downloadName, R_BeginFrame(), R_EndFrame(), SCR_DrawDownloading(), SCR_DrawLoadingBar(), UI_Draw(), viddef, viddef_t::virtualHeight, and viddef_t::virtualWidth.
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, viddef_t::virtualHeight, viddef_t::virtualWidth, 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(), cvar_t::flags, 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, client_static_t::frametime, key_console, client_static_t::keyDest, scr_con_current, scr_conlines, scr_consize, scr_conspeed, and cvar_t::value.
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 rendererData_t::aliasCount, rendererData_t::batchCount, rendererData_t::brushCount, cl_fps, CL_Milliseconds(), CL_OnBattlescape(), CL_ViewRender(), cls, Com_Printf(), con_fontHeight, con_fontWidth, viddef_t::context, client_static_t::disableScreen, rendererData_t::FFPToShaderCount, client_static_t::framerate, cvar_t::integer, R_BeginFrame(), R_EndFrame(), r_programs, rendererData_t::ready, refdef, SCR_DrawConsole(), SCR_DrawCursor(), SCR_DrawString(), scr_rspeed, screenInitialized, rendererData_t::shaderToFFPCount, rendererData_t::shaderToShaderCount, UI_Draw(), va(), viddef, client_static_t::waitingForStart, and viddefContext_t::width.
Referenced by CL_Frame().