#include <i_sdlvideo.h>
Data Structures |
| class | cChain |
| struct | vidMode_t |
Public Member Functions |
| | SDLVideo (int parm) |
| virtual | ~SDLVideo (void) |
| virtual std::string | GetVideoDriverName () |
| virtual bool | CanBlit (void) |
| virtual EDisplayType | GetDisplayType (void) |
| virtual bool | FullscreenChanged (bool fs) |
| virtual void | SetWindowedScale (float scale) |
| virtual bool | SetOverscan (float scale) |
| virtual bool | SetMode (int width, int height, int bits, bool fs) |
| virtual void | SetPalette (DWORD *palette) |
| virtual void | SetOldPalette (byte *doompalette) |
| virtual void | UpdateScreen (DCanvas *canvas) |
| virtual void | ReadScreen (byte *block) |
| virtual int | GetModeCount (void) |
| virtual void | StartModeIterator (int bits) |
| virtual bool | NextMode (int *width, int *height) |
| virtual DCanvas * | AllocateSurface (int width, int height, int bits, bool primary=false) |
| virtual void | ReleaseSurface (DCanvas *scrn) |
| virtual void | LockSurface (DCanvas *scrn) |
| virtual void | UnlockSurface (DCanvas *scrn) |
| virtual bool | Blit (DCanvas *src, int sx, int sy, int sw, int sh, DCanvas *dst, int dx, int dy, int dw, int dh) |
Static Protected Member Functions |
| static bool | bp_vm_uni_cmp (vidMode_t first, vidMode_t second) |
Protected Attributes |
| std::vector< vidMode_t > | vidModeList |
| size_t | vidModeIterator |
| int | vidModeIteratorBits |
| SDL_Surface * | sdlScreen |
| bool | infullscreen |
| int | screenw |
| int | screenh |
| int | screenbits |
| SDL_Color | newPalette [256] |
| SDL_Color | palette [256] |
| bool | palettechanged |
| cChain * | chainHead |
Constructor & Destructor Documentation
| SDLVideo::SDLVideo |
( |
int |
parm | ) |
|
| SDLVideo::~SDLVideo |
( |
void |
| ) |
[virtual] |
Member Function Documentation
| DCanvas * SDLVideo::AllocateSurface |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
bits, |
|
|
bool |
primary = false |
|
) |
| [virtual] |
| bool SDLVideo::Blit |
( |
DCanvas * |
src, |
|
|
int |
sx, |
|
|
int |
sy, |
|
|
int |
sw, |
|
|
int |
sh, |
|
|
DCanvas * |
dst, |
|
|
int |
dx, |
|
|
int |
dy, |
|
|
int |
dw, |
|
|
int |
dh |
|
) |
| [virtual] |
| static bool SDLVideo::bp_vm_uni_cmp |
( |
vidMode_t |
first, |
|
|
vidMode_t |
second |
|
) |
| [inline, static, protected] |
| virtual bool SDLVideo::CanBlit |
( |
void |
| ) |
[inline, virtual] |
| bool SDLVideo::FullscreenChanged |
( |
bool |
fs | ) |
[virtual] |
| virtual EDisplayType SDLVideo::GetDisplayType |
( |
void |
| ) |
[inline, virtual] |
| int SDLVideo::GetModeCount |
( |
void |
| ) |
[virtual] |
| void SDLVideo::LockSurface |
( |
DCanvas * |
scrn | ) |
[virtual] |
| bool SDLVideo::NextMode |
( |
int * |
width, |
|
|
int * |
height |
|
) |
| [virtual] |
| void SDLVideo::ReadScreen |
( |
byte * |
block | ) |
[virtual] |
| void SDLVideo::ReleaseSurface |
( |
DCanvas * |
scrn | ) |
[virtual] |
| bool SDLVideo::SetMode |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
bits, |
|
|
bool |
fs |
|
) |
| [virtual] |
| void SDLVideo::SetOldPalette |
( |
byte * |
doompalette | ) |
[virtual] |
| bool SDLVideo::SetOverscan |
( |
float |
scale | ) |
[virtual] |
| void SDLVideo::SetPalette |
( |
DWORD * |
palette | ) |
[virtual] |
| void SDLVideo::SetWindowedScale |
( |
float |
scale | ) |
[virtual] |
HAHA FIXME
Reimplemented from IVideo.
| void SDLVideo::StartModeIterator |
( |
int |
bits | ) |
[virtual] |
| void SDLVideo::UnlockSurface |
( |
DCanvas * |
scrn | ) |
[virtual] |
| void SDLVideo::UpdateScreen |
( |
DCanvas * |
canvas | ) |
[virtual] |
Field Documentation
The documentation for this class was generated from the following files: