Logo Search packages:      
Sourcecode: val-and-rick version File versions  Download package

abagames::vr::screen::Screen Class Reference

Inheritance diagram for abagames::vr::screen::Screen:

abagames::util::sdl::screen3d::Screen3D abagames::util::sdl::screen::Screen

List of all members.


Detailed Description

Initialize an OpenGL and set the caption. Handle a luminous screen and a viewpoint.

Definition at line 19 of file screen.d.


Public Member Functions

override void clear ()
override void close ()
void closeSDL ()
void drawLuminous ()
void endRenderToLuminousScreen ()
void flip ()
void handleError ()
int height ()
int height (int v)
void initSDL ()
float luminosity (float v)
void move ()
void resized (int width, int height)
void screenResized ()
void setEyepos ()
void setScreenShake (int cnt, float its)
bool startRenderToLuminousScreen ()
int width ()
int width (int v)
bool windowMode ()
bool windowMode (bool v)

Static Public Member Functions

static float brightness (float v)
static void glTranslate (Vector3 v)
static void glTranslate (Vector v)
static void glVertex (Vector3 v)
static void setClearColor (float r, float g, float b, float a=1)
static void setColor (float r, float g, float b, float a=1)
static void setColorForced (float r, float g, float b, float a=1)
static void setRandSeed (long seed)
static void viewOrthoFixed ()
static void viewPerspective ()

Protected Member Functions

override void init ()
void setCaption (char[] name)

Private Attributes

float _luminosity = 0
const char[] CAPTION = "Val & Rick"
LuminousScreen luminousScreen
int screenShakeCnt
float screenShakeIntense

Static Private Attributes

static Rand rand

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

Generated by  Doxygen 1.6.0   Back to index