rScreenSettings Class Reference

#include <rScreen.h>

Collaboration diagram for rScreenSettings:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 71 of file rScreen.h.


Constructor & Destructor Documentation

rScreenSettings::rScreenSettings ( rResolution  r,
bool  fs = true,
rColorDepth  cd = ArmageTron_ColorDepth_Desktop,
bool  sdl = true,
bool  ce = true 
)

Parameters:
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     }


Member Data Documentation

rScreenSize rScreenSettings::res

Definition at line 74 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().

rScreenSize rScreenSettings::windowSize

Definition at line 75 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), rScreenSettings(), and sg_ScreenModeMenu().

bool rScreenSettings::fullscreen

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

rColorDepth rScreenSettings::colorDepth

Definition at line 77 of file rScreen.h.

Referenced by rSysDep::InitGL(), lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().

rColorDepth rScreenSettings::zDepth

Definition at line 78 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().

bool rScreenSettings::useSDL

Definition at line 79 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), sg_ScreenModeMenu(), and rSysDep::SwapGL().

bool rScreenSettings::checkErrors

Definition at line 80 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), and sg_ScreenModeMenu().

rVSync rScreenSettings::vSync

Definition at line 81 of file rScreen.h.

Referenced by sg_ScreenModeMenu(), and sr_MotionBlur().

REAL rScreenSettings::aspect

Definition at line 82 of file rScreen.h.

Referenced by lowlevel_sr_InitDisplay(), rViewport::Perspective(), and rViewport::UpDownFOV().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:53:39 2008 for Armagetron Advanced by  doxygen 1.5.4