|
UFO: Alien Invasion
|
Video driver defs. More...


Go to the source code of this file.
Data Structures | |
| struct | viddefContext_t |
| Contains the game screen context, everything that is needed to create the graphic context. These value are stored to allow to restore the old context. More... | |
| struct | viddef_t |
| Contains the game screen size and drawing scale. More... | |
| struct | vidmode_t |
Macros | |
| #define | VID_NORM_WIDTH 1024 |
| #define | VID_NORM_HEIGHT 768 |
| #define | VID_POS_UNSET -99999 |
Functions | |
| void | VID_Init (void) |
| void | VID_Minimize (void) |
| int | VID_GetModeNums (void) |
| Returns the amount of available video modes. | |
| bool | VID_GetModeInfo (int modeIndex, vidmode_t *modeInfo) |
Video driver defs.
Definition in file cl_video.h.
| #define VID_NORM_HEIGHT 768 |
Definition at line 36 of file cl_video.h.
| #define VID_NORM_WIDTH 1024 |
Definition at line 35 of file cl_video.h.
| #define VID_POS_UNSET -99999 |
Definition at line 37 of file cl_video.h.
Referenced by R_InitGraphics(), and VID_Init().
Definition at line 91 of file cl_video.cpp.
References Com_Printf(), vidmode_t::height, r_sdl_config, VID_GetModeNums(), vid_height, vid_modes, vid_width, and vidmode_t::width.
Referenced by CL_VideoInitMenu(), and R_SetMode().
Returns the amount of available video modes.
Definition at line 84 of file cl_video.cpp.
References lengthof, r_sdl_config, and vid_modes.
Referenced by CL_CvarCheckVidMode(), CL_VideoInitMenu(), and VID_GetModeInfo().
Definition at line 158 of file cl_video.cpp.
References CL_CvarCheckVidGamma(), CL_CvarCheckVidMode(), Cmd_AddCommand(), CVAR_ARCHIVE, Cvar_Get(), CVAR_R_CONTEXT, Cvar_SetCheckFunction(), Mem_CreatePool, R_Init(), va(), vid_fullscreen, vid_gamma, vid_genericPool, vid_grabmouse, vid_height, vid_ignoregamma, vid_imagePool, vid_left, vid_lightPool, VID_Minimize(), vid_mode, vid_modelPool, VID_POS_UNSET, VID_Restart_f(), vid_stretch, vid_top, and vid_width.
Referenced by CL_Init().
Definition at line 150 of file cl_video.cpp.
References cls.
Referenced by CL_OpenURL_f(), and VID_Init().
|
extern |
Definition at line 37 of file cl_video.cpp.
Referenced by IN_Frame(), R_SetMode(), R_UpdateVidDef(), and VID_Init().
|
extern |
Definition at line 40 of file cl_video.cpp.
Referenced by R_EndFrame(), and VID_Init().
|
extern |
also holds all the static models
Definition at line 87 of file cl_main.cpp.
Referenced by CIN_OGM_OpenCinematic(), CIN_ROQ_OpenCinematic(), R_SphereGenerate(), and VID_Init().
|
extern |
Definition at line 39 of file cl_video.cpp.
Referenced by IN_Frame(), and VID_Init().
|
extern |
Definition at line 41 of file cl_video.cpp.
Referenced by R_EndFrame(), and VID_Init().
|
extern |
Definition at line 88 of file cl_main.cpp.
Referenced by main(), R_LoadImage(), R_LoadImageData(), R_LoadMaterials(), R_LoadShader(), R_PreprocessShaderR(), R_RenderToTexture(), R_ScreenShot(), R_SoftenTexture(), R_UploadData(), R_UploadTexture(), CampaignTest::SetUpTestCase(), FootStepTest::SetUpTestCase(), MapDefMassRMATest::SetUpTestCase(), MapDefStatsTest::SetUpTestCase(), MapDefTest::SetUpTestCase(), ParticleTest::SetUpTestCase(), ScriptTest::SetUpTestCase(), UILevel2Test::SetUpTestCase(), UI_MaterialEditorNewStage_f(), and VID_Init().
|
extern |
lightmap - wiped with every new map
Definition at line 89 of file cl_main.cpp.
Referenced by R_BeginBuildingLightmaps(), R_BuildDefaultLightmap(), R_BuildLightmap(), R_ModLoadLighting(), R_ShutdownModels(), and VID_Init().
|
extern |
Definition at line 38 of file cl_video.cpp.
Referenced by IN_Frame(), R_SetMode(), R_UpdateVidDef(), and VID_Init().
|
extern |
modeldata - wiped with every new map
Definition at line 90 of file cl_main.cpp.
Referenced by LoadModel(), main(), R_CreateSurfaceFlare(), R_LoadActorSkinsFromModel(), R_LoadBspVertexArrays(), R_LoadObjModel(), R_LoadObjModelVertexArrays(), R_LoadObjSkin(), R_LoadSurfacesArrays_(), R_ModCalcUniqueNormalsAndTangents(), R_ModLoadAliasMD2Mesh(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD3Model(), R_ModLoadAnims(), R_ModLoadArrayData(), R_ModLoadEdges(), R_ModLoadLeafs(), R_ModLoadMDX(), R_ModLoadNodes(), R_ModLoadPlanes(), R_ModLoadSubmodels(), R_ModLoadSurfaces(), R_ModLoadSurfedges(), R_ModLoadTags(), R_ModLoadTexinfo(), R_ModLoadVertexes(), R_ShutdownModels(), R_SortSurfacesArrays(), R_SwitchModelMemPoolTag(), TEST_F(), TEST_F(), and VID_Init().
|
extern |
Definition at line 36 of file cl_video.cpp.
Referenced by R_SetMode(), R_UpdateVidDef(), and VID_Init().
|
extern |
Definition at line 34 of file cl_video.cpp.
Referenced by CIN_SetParameters(), CL_BattlescapeRadarGenPreview_f(), CL_BattlescapeRadarMapInFrameBuffer(), CL_CameraMove(), CL_GetKeyMouseState(), CL_GetWorldCoordsUnderMouse(), CL_ViewRender(), CL_ViewUpdateRenderData(), Con_CheckResize(), Con_DrawConsole(), uiWindowNode::doLayout(), uiWindowNode::draw(), HUD_DrawMouseCursorText(), HUD_UpdateCursor(), IN_Frame(), IN_JoystickMove(), IN_Parse(), MYgluPerspective(), uiControlNode::onCapturedMouseMove(), uiWindowNode::onLoading(), uiWindowNode::onSizeChanged(), R_CleanupDepthBuffer(), R_Draw2DArray(), R_Draw2DMapMarkers(), R_Draw3DGlobe(), R_Draw3DMapMarkers(), R_DrawBloom(), R_DrawFill(), R_DrawFlatGeoscape(), R_DrawImage(), R_DrawModelDirect(), R_DrawRect(), R_DrawStretchImage(), R_FontDrawTexture(), R_InitFBObjects(), R_InitializeShader(), R_PushClipRect(), R_ScreenShot_f(), R_SetMode(), R_Setup2D(), R_Setup3D(), R_SetupFrustum(), R_SphereRender(), R_UpdateVidDef(), SCR_DrawConsole(), SCR_DrawDownloading(), SCR_DrawLoading(), SCR_DrawLoadingScreen(), SCR_UpdateScreen(), SEQ_Render3D(), UI_DrawNode(), UI_DrawNormImage(), UI_DrawNotice(), UI_InvalidateStack(), UI_SetRenderRect(), and UI_Transform().