#include <rScreen.h>
Public Member Functions | |
rScreenSettings (rResolution r, bool fs=true, rColorDepth cd=ArmageTron_ColorDepth_Desktop, bool sdl=true, bool ce=true) | |
Public Attributes | |
rScreenSize | res |
rScreenSize | windowSize |
bool | fullscreen |
rColorDepth | colorDepth |
rColorDepth | zDepth |
bool | useSDL |
bool | checkErrors |
rVSync | vSync |
REAL | aspect |
Definition at line 71 of file rScreen.h.
rScreenSettings::rScreenSettings | ( | rResolution | r, | |
bool | fs = true , |
|||
rColorDepth | cd = ArmageTron_ColorDepth_Desktop , |
|||
bool | sdl = true , |
|||
bool | ce = true | |||
) |
r | the resolution | |
fs | fullscreen flag | |
cd | color depth | |
sdl | use clean sdl initialization | |
ce | check for errors |
Definition at line 355 of file rScreen.cpp.
References ArmageTron_640_480, ArmageTron_Desktop, and windowSize.
00357 :res(r), windowSize(r), fullscreen(fs), colorDepth(cd), zDepth( ArmageTron_ColorDepth_Desktop ), useSDL(sdl), checkErrors(true), vSync( ArmageTron_VSync_Default ), aspect (1) 00358 { 00359 // special case for desktop resolution: window size of 640x480 00360 if ( r == ArmageTron_Desktop ) 00361 { 00362 windowSize = rScreenSize( ArmageTron_640_480 ); 00363 }
Definition at line 74 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().
Definition at line 75 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), rScreenSettings(), and sg_ScreenModeMenu().
Definition at line 76 of file rScreen.h.
Referenced by Activate(), filter(), lowlevel_sr_InitDisplay(), main(), sg_ScreenModeMenu(), sr_Activate(), sr_InitDisplay(), and toggle_fullscreen_func().
Definition at line 77 of file rScreen.h.
Referenced by rSysDep::InitGL(), lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().
Definition at line 78 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().
Definition at line 79 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), sg_ScreenModeMenu(), and rSysDep::SwapGL().
Definition at line 80 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().
Definition at line 82 of file rScreen.h.
Referenced by lowlevel_sr_InitDisplay(), rViewport::Perspective(), and rViewport::UpDownFOV().