|
UFO: Alien Invasion
|

Go to the source code of this file.
Functions | |
| void | R_Transform (const vec3_t transform, const vec3_t rotate, const vec3_t scale) |
| Perform translate, rotate and scale operations on the current matrix. | |
| void | R_PopMatrix (void) |
| Removes the current matrix from the stack. | |
| void | R_PushMatrix (void) |
| Push a new matrix to the stack. | |
| void | R_InitMiscTexture (void) |
| void | R_ScreenShot_f (void) |
| void | R_ScreenShot (int x, int y, int width, int height, const char *filename, const char *ext) |
| void | R_DumpOpenGlState (void) |
| Dumps OpenGL state for debugging - typically every capability set with glEnable(). | |
| void | R_ReinitOpenglContext (void) |
| Re-initializes OpenGL state machine, all textures and renderer variables, this needed when application is put to background on Android. | |
Dumps OpenGL state for debugging - typically every capability set with glEnable().
Definition at line 256 of file r_misc.cpp.
References CAPABILITY, Com_Printf(), GLenum, GLint, i, lengthof, and Q_strcat().
Definition at line 46 of file r_misc.cpp.
References data, dummytexture, gridtexture, it_effect, it_pic, MISC_TEXTURE_SIZE, OBJZERO, r_dummyTexture, R_LoadImageData(), r_noTexture, r_warpTexture, VID_NORM_HEIGHT, and VID_NORM_WIDTH.
Referenced by R_Init(), and R_ReinitOpenglContext().
Removes the current matrix from the stack.
Definition at line 248 of file r_misc.cpp.
Referenced by uiSequenceNode::draw(), SEQ_Render3D(), and UI_Transform().
Push a new matrix to the stack.
Definition at line 240 of file r_misc.cpp.
Referenced by uiSequenceNode::draw(), SEQ_Render3D(), and UI_Transform().
Re-initializes OpenGL state machine, all textures and renderer variables, this needed when application is put to background on Android.
Definition at line 349 of file r_misc.cpp.
References model_t::bsp, i, mBspModel_t::index_buffer, mBspModel_t::indexes, mBspModel_t::lmtexcoord_buffer, mBspModel_t::lmtexcoords, mBspModel_t::normal_buffer, mBspModel_t::normals, mBspSurface_t::numedges, mBspModel_t::numIndexes, mBspModel_t::numsurfaces, R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_EndBuildingLightmaps(), R_FontCleanCache(), R_InitFBObjects(), R_InitMiscTexture(), R_InitPrograms(), r_mapTiles, r_numMapTiles, R_ReloadImages(), R_ResetArrayState(), R_SetDefaultState(), R_ShutdownFBObjects(), R_ShutdownPrograms(), R_UpdateDefaultMaterial(), mBspModel_t::surfaces, mBspModel_t::tangent_buffer, mBspModel_t::tangents, mBspModel_t::texcoord_buffer, mBspModel_t::texcoords, mBspModel_t::vertex_buffer, and mBspModel_t::verts.
Take a screenshot of the frame buffer
| [in] | x | |
| [in] | y | |
| [in] | width | |
| [in] | height | |
| [in] | filename | Force to use a filename. Else nullptr to autogen a filename |
| [in] | ext | Force to use an image format (tga/png/jpg). Else nullptr to use value of r_screenshot_format |
Definition at line 101 of file r_misc.cpp.
References Cmd_Argc(), Cmd_Argv(), Com_Printf(), Com_sprintf(), f, FILE_WRITE, FS_CheckFile(), FS_Gamedir(), FS_OpenFile(), MAX_OSPATH, Mem_Free, Mem_PoolAllocTypeN, Q_strcasecmp, R_CheckError, r_screenshot_format, r_screenshot_jpeg_quality, R_WriteCompressedTGA(), R_WriteJPG(), R_WritePNG(), SSHOTTYPE_JPG, SSHOTTYPE_PNG, SSHOTTYPE_TGA_COMP, type, and vid_imagePool.
Referenced by CL_BattlescapeRadarGenerate_f(), and R_ScreenShot_f().
Definition at line 203 of file r_misc.cpp.
References Cmd_Argc(), Cmd_Argv(), R_ScreenShot(), and viddef.
Perform translate, rotate and scale operations on the current matrix.
nullptr and is ignored then | [in] | transform | Translation vector |
| [in] | rotate | Rotation vector |
| [in] | scale | Scale vector (keep in mind to not set this to vec3_origin or zero) |
Definition at line 220 of file r_misc.cpp.
References scale.
Referenced by UI_DrawNode(), and UI_Transform().