Logo Search packages:      
Sourcecode: parsec47 version File versions  Download package

abagames::p47::P47Screen::P47Screen Class Reference

Inheritance diagram for abagames::p47::P47Screen::P47Screen:

abagames::util::sdl::Screen3D::Screen3D abagames::util::sdl::Screen::Screen

List of all members.

Detailed Description

Initialize an OpenGL and set the caption.

Definition at line 18 of file P47Screen.d.

Public Member Functions

override void clear ()
override void closeSDL ()
void drawLuminous ()
void endRenderToTexture ()
override void flip ()
void handleError ()
override void initSDL ()
void resized (int width, int height)
void startRenderToTexture ()
void viewOrthoFixed ()
void viewPerspective ()

Static Public Member Functions

static void drawBoxLine (float x, float y, float width, float height)
static void drawBoxRetro (float x, float y, float width, float height, float deg)
static void drawBoxSolid (float x, float y, float width, float height)
static void drawLineRetro (float x1, float y1, float x2, float y2)
static void setColor (float r, float g, float b, float a)
static void setRetroColor (float r, float g, float b, float a)
static void setRetroParam (float r, float sz)
static void setRetroZ (float z)

Static Public Attributes

static float brightness = 1
static const char[] CAPTION = "PARSEC47"
static float farPlane = 1000
static int height = 480
static bool lowres = false
static float luminous = 0
static float nearPlane = 0.1
static float retroA
static float retroB
static float retroG
static float retroR
static int width = 640
static bool windowMode = false

Protected Member Functions

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

Private Attributes

LuminousScreen luminousScreen

Static Private Attributes

static Rand rand
static float retro
static float retroSize
static float retroZ = 0

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

Generated by  Doxygen 1.6.0   Back to index