|
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(), viddefContext_t::fullscreen, GAME_TITLE_LONG, viddefContext_t::height, i, viddefContext_t::left, viddefContext_t::multisample, viddefContext_t::swapinterval, viddefContext_t::top, VID_POS_UNSET, 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 56 of file r_sdl.cpp.
References Com_Error(), Com_Printf(), Cvar_GetValue(), ERR_FATAL, i, Mem_AllocTypeN, name, OBJZERO, Q_strcat(), r_driver, r_sdl_config, R_SetMode(), R_SetSDLIcon(), and Sys_Setenv().
Referenced by R_Init().
| 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().