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

abagames::a7xpg::A7xScreen::A7xScreen Class Reference

Inheritance diagram for abagames::a7xpg::A7xScreen::A7xScreen:

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 14 of file A7xScreen.d.


Public Member Functions

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

Static Public Member Functions

static void drawBoxLine (float x, float y, float width, float height)
static void drawBoxSolid (float x, float y, float width, float height)
static void setColor (float r, float g, float b, float a)

Public Attributes

float farPlane = 1000
bool lowres = false
float nearPlane = 0.1
bool windowMode = false

Static Public Attributes

static float brightness = 1
static const char[] CAPTION = "A7Xpg"
static int height = 480
static float luminous = 0.5
static int width = 640

Protected Member Functions

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

Private Attributes

int lmOfs [5][2] = [[0, 0], [1, 0], [-1, 0], [0, 1], [0, -1]]
const float lmOfsBs = 5
const int LUMINOUS_TEXTURE_HEIGHT_MAX = 128
const int LUMINOUS_TEXTURE_WIDTH_MAX = 128
GLuint luminousTexture
int luminousTextureHeight = 128
int luminousTextureWidth = 128
GLuint td [LUMINOUS_TEXTURE_WIDTH_MAX *LUMINOUS_TEXTURE_HEIGHT_MAX *4 *uint.size]

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

Generated by  Doxygen 1.6.0   Back to index