00001 /* 00002 Debris - A 3D-Space-Shooter Game based on OpenGL 00003 Copyright (C) 2002 Daniel Wagner <daniel@kwaxi.org> and 00004 Sebastian Zambal <e9826978@student.tuwien.ac.at> 00005 00006 file: DSystem.h 00007 */ 00008 00009 #pragma once 00010 00011 #include "DTimer.h" 00012 #include "DTextures.h" 00013 #include "DKeyboard.h" 00014 #include "DSound.h" 00015 00017 00020 class DSystem : DObject { 00021 public: 00023 int level; 00025 bool wireFrame; 00027 bool displayLists; 00029 bool vertexArrays; 00031 float fps; 00033 bool showFPS; 00035 int mode; 00037 float *frame; 00039 DKeyboard *keyboard; 00041 DGeometry *geometry; 00043 DTimer *timer; 00045 DSound *sound; 00047 float *spaceShipView; 00049 float *spaceShipPosition; 00051 float spaceShipRotX; 00052 float spaceShipRotY; 00054 float velocity; 00056 void computeVelocity(void); 00058 static void BubbleSort(int size, float *values, int *indices); 00060 DSystem(void); 00062 ~DSystem(void); 00063 };