OpenTTD
Macros | Functions
sdl.h File Reference

SDL support. More...

Go to the source code of this file.

Functions

const char * SdlOpen (uint32 x)
 Open the SDL library. More...
 
void SdlClose (uint32 x)
 Close the SDL library. More...
 

Detailed Description

SDL support.

Definition in file sdl.h.

Function Documentation

◆ SdlClose()

void SdlClose ( uint32  x)

Close the SDL library.

Parameters
xThe subsystem to close.

Definition at line 109 of file sdl.cpp.

Referenced by VideoDriver_SDL::Stop().

◆ SdlOpen()

const char* SdlOpen ( uint32  x)

Open the SDL library.

Parameters
xThe subsystem to load.

Definition at line 88 of file sdl.cpp.

Referenced by SoundDriver_SDL::Start().