StartUpParameters Class Reference

A little class to store gaming user settings. More...

#include <startup.h>

List of all members.

Public Member Functions

 StartUpParameters ()
 StartUpParameters (bool fs, irr::video::E_DRIVER_TYPE dt, irr::core::dimension2d< irr::s32 > dim, irr::u32 cbd)
 ~StartUpParameters ()
 Destructor.

Public Attributes

bool fullScreen
 Public accessible attribute whether user want to start game in fullscreen mode.
irr::video::E_DRIVER_TYPE driverType
 Public accessible attribute whether user want to start game with OpenGL, DirectX or Software driver.
irr::core::dimension2d< irr::s32 > screen
 Public accessible attribute which screen resolution user wants.
irr::u32 colorBitDepth
 Public accessible attribute which color depth user wants.
irr::core::stringc error
 Public accessible attribute whether an error accurred during start up phase. Should be "NO_ERROR" in normal behavior.


Detailed Description

A little class to store gaming user settings.

Its use is be filled by a StartUp object and then passed to the game application.

See also:
StartUp::getStartUpParameters()

Definition at line 11 of file startup.h.


Constructor & Destructor Documentation

StartUpParameters::StartUpParameters  ) 
 

Constructor. Sets up parameters to default: windowed, openGL, 800x600, 16

Definition at line 9 of file startup.cpp.

References colorBitDepth, driverType, error, fullScreen, and screen.

StartUpParameters::StartUpParameters bool  fs,
irr::video::E_DRIVER_TYPE  dt,
irr::core::dimension2d< irr::s32 >  dim,
irr::u32  cbd
 

Constructor.

Parameters:
fs : A boolean defining fullscreen should be used.
dt : An enum (type = E_DRIVER_TYPE) defining video driver.
dim : A dimension2d (type = signed integer) defining screen size.
cbd : An unsigned integer defining used bits per pixel.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:09:58 2007 for Swarm by  doxygen 1.4.6-NO