#include <DSystem.h>
Inheritance diagram for DSystem:
TODO: Detailed Class Description
Public Member Functions | |
void | computeVelocity (void) |
Computes the current velocity of objects to correct change in FPS. | |
DSystem (void) | |
Constructor; Creates a new DSystem Object. | |
~DSystem (void) | |
Destructor; Destroys the DSystem Object. | |
Static Public Member Functions | |
void | BubbleSort (int size, float *values, int *indices) |
Sort. | |
Public Attributes | |
int | level |
Current level. | |
bool | wireFrame |
Show objects as wire-frame? | |
bool | displayLists |
Use display-lists? | |
bool | vertexArrays |
Use vertex-arrays? | |
float | fps |
current Frames Per Second (FPS) | |
bool | showFPS |
Show FPS. | |
int | mode |
Mode. | |
float * | frame |
Times of last 5 frames. | |
DKeyboard * | keyboard |
The keyboard handler. | |
DGeometry * | geometry |
The object that stores all geometry data. | |
DTimer * | timer |
The timer. | |
DSound * | sound |
The Sound-Subsystem. | |
float * | spaceShipView |
viewingDirection | |
float * | spaceShipPosition |
position of spaceShip | |
float | spaceShipRotX |
Rotations of spaceShip. | |
float | spaceShipRotY |
float | velocity |
Current velocity of objects. |
|
Constructor; Creates a new DSystem Object. TODO: detailed description. |
|
Destructor; Destroys the DSystem Object. TODO: detailed description. |
|
Sort. Sort with Bubble-Sort |
|
Computes the current velocity of objects to correct change in FPS. TODO: detailed description. |