UFO: Alien Invasion
Loading...
Searching...
No Matches
r_sdl.cpp File Reference

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"
Include dependency graph for r_sdl.cpp:

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

Detailed Description

This file contains SDL specific stuff having to do with the OpenGL refresh.

Definition in file r_sdl.cpp.

Macro Definition Documentation

◆ ufoicon_height

#define ufoicon_height   32

Referenced by R_SetSDLIcon().

◆ ufoicon_width

#define ufoicon_width   32

Referenced by R_SetSDLIcon().

Function Documentation

◆ R_InitGraphics()

◆ R_SetSDLIcon()

void R_SetSDLIcon ( void )
static

Definition at line 34 of file r_sdl.cpp.

References cls, i, ufoicon_height, and ufoicon_width.

Referenced by Rimp_Init().

◆ Rimp_Init()

bool Rimp_Init ( void )

◆ Rimp_Shutdown()

void Rimp_Shutdown ( void )

Definition at line 230 of file r_sdl.cpp.

References cls.

Referenced by R_Shutdown().

Variable Documentation

◆ r_sdl_config

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().