|
UFO: Alien Invasion
|
This file contains SDL specific stuff having to do with the OpenGL refresh. More...
#include "r_local.h"#include "r_main.h"#include "r_sdl.h"#include "../../ports/system.h"#include "../client.h"#include "../../ports/linux/ufoicon.xbm"
Go to the source code of this file.
Macros | |
| #define | ufoicon_width 32 |
| #define | ufoicon_height 32 |
Functions | |
| static void | R_SetSDLIcon (void) |
| bool | Rimp_Init (void) |
| bool | R_InitGraphics (const viddefContext_t *context) |
| Init the SDL window. | |
| void | Rimp_Shutdown (void) |
Variables | |
| r_sdl_config_t | r_sdl_config |
This file contains SDL specific stuff having to do with the OpenGL refresh.
Definition in file r_sdl.cpp.
| #define ufoicon_height 32 |
Referenced by R_SetSDLIcon().
| #define ufoicon_width 32 |
Referenced by R_SetSDLIcon().
| bool R_InitGraphics | ( | const viddefContext_t * | context | ) |
Init the SDL window.
Definition at line 179 of file r_sdl.cpp.
References cls, Com_Printf(), client_static_t::context, viddefContext_t::fullscreen, GAME_TITLE_LONG, viddefContext_t::height, i, viddefContext_t::left, viddefContext_t::multisample, R_InitGraphics(), viddefContext_t::swapinterval, viddefContext_t::top, VID_POS_UNSET, viddefContext_t::width, and client_static_t::window.
Referenced by R_InitGraphics(), and R_SetMode().
Definition at line 34 of file r_sdl.cpp.
References cls, i, R_SetSDLIcon(), ufoicon_height, ufoicon_width, and client_static_t::window.
Referenced by R_SetSDLIcon(), and Rimp_Init().
| bool Rimp_Init | ( | void | ) |
Definition at line 56 of file r_sdl.cpp.
References Com_Error(), Com_Printf(), Cvar_GetValue(), r_sdl_config_t::desktopHeight, r_sdl_config_t::desktopWidth, ERR_FATAL, i, Mem_AllocTypeN, r_sdl_config_t::modes, name, r_sdl_config_t::numModes, OBJZERO, Q_strcat(), r_driver, r_sdl_config, R_SetMode(), R_SetSDLIcon(), Rimp_Init(), cvar_t::string, and Sys_Setenv().
Referenced by R_Init(), and Rimp_Init().
Definition at line 230 of file r_sdl.cpp.
References cls, client_static_t::context, Rimp_Shutdown(), and client_static_t::window.
Referenced by R_Shutdown(), and Rimp_Shutdown().
| r_sdl_config_t r_sdl_config |
Definition at line 32 of file r_sdl.cpp.
Referenced by Rimp_Init(), VID_GetModeInfo(), and VID_GetModeNums().