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.
Functions | |
static void | R_SetSDLIcon (void) |
bool | Rimp_Init (void) |
bool | R_InitGraphics (const viddefContext_t *context) |
Init the SDL window. More... | |
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.
bool R_InitGraphics | ( | const viddefContext_t * | context | ) |
Init the SDL window.
Definition at line 218 of file r_sdl.cpp.
References cls, Com_Printf(), viddefContext_t::fullscreen, GAME_TITLE_LONG, viddefContext_t::height, i, viddefContext_t::multisample, viddefContext_t::swapinterval, and viddefContext_t::width.
Referenced by R_SetMode().
Definition at line 34 of file r_sdl.cpp.
References cls, i, ufoicon_height, and ufoicon_width.
Referenced by Rimp_Init().
bool Rimp_Init | ( | void | ) |
Definition at line 72 of file r_sdl.cpp.
References Com_Error(), Com_Printf(), r_sdl_config_s::desktopHeight, r_sdl_config_s::desktopWidth, ERR_FATAL, GAME_TITLE, GAME_TITLE_LONG, i, MAX_VAR, Mem_AllocTypeN, r_sdl_config_s::modes, name, r_sdl_config_s::numModes, OBJZERO, Q_strcat(), r_config, r_driver, R_SetMode(), R_SetSDLIcon(), cvar_s::string, Sys_Setenv(), and rconfig_t::videoMemory.
Referenced by R_Init().
r_sdl_config_t r_sdl_config |
Definition at line 32 of file r_sdl.cpp.
Referenced by VID_GetModeInfo(), and VID_GetModeNums().