cConfiguration Class Reference

#include <cerberus.h>

List of all members.

Public Member Functions

bool loadFromFile (lua_State *L, const char *filename)
 load settings from lua file

Public Attributes

bool fullscreen
 true for fullscreen mode
s32 width
 width of screen/window
s32 height
 height of screen/window
bool vsync
 true for vertical synchronisation
u32 screenDepth
 bits per pixel if fullscreen mode
size_t driverType
 driver type (OpenGL, ...)
double max_fps
double fps_period


Detailed Description

Definition at line 24 of file cerberus.h.


Member Function Documentation

bool cConfiguration::loadFromFile ( lua_State *  L,
const char *  filename 
)

load settings from lua file

Definition at line 281 of file main.cpp.


Member Data Documentation

driver type (OpenGL, ...)

Definition at line 35 of file cerberus.h.

Definition at line 38 of file cerberus.h.

true for fullscreen mode

Definition at line 30 of file cerberus.h.

height of screen/window

Definition at line 32 of file cerberus.h.

Definition at line 37 of file cerberus.h.

bits per pixel if fullscreen mode

Definition at line 34 of file cerberus.h.

true for vertical synchronisation

Definition at line 33 of file cerberus.h.

width of screen/window

Definition at line 31 of file cerberus.h.


The documentation for this class was generated from the following files:

Generated on Thu Jul 30 07:18:40 2009 for Cerberus by  doxygen 1.5.9