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: DShot.h 00007 */ 00008 00009 #pragma once 00010 00011 #include "DGeometry.h" 00012 #include "DSystem.h" 00013 #include "debris.h" 00014 00016 00019 class DShot:public DObject3D { 00020 private: 00022 GLuint texFireType0; 00023 GLuint texFireType1; 00024 00025 public: 00027 bool active; 00029 int type; 00031 int counter; 00033 int geometryIDType1; 00034 00036 DShot(DSystem *system); 00038 virtual void DrawType0(void); 00040 virtual void DrawType1(void); 00042 virtual void Draw(void); 00044 virtual void DrawWireFrameType0(void); 00046 virtual void DrawWireFrameType1(void); 00048 virtual void DrawWireFrame(void); 00049 }; 00050 00051 typedef DShot* DShotPtr;