Main Page | Class Hierarchy | Compound List | File List | Compound Members

DLevelSegment.h

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: DTimer.h
00007 */
00008 
00009 #pragma once
00010 
00011 #include "windows.h"
00012 #include "DObject.h"
00013 #include "debris.h"
00014 
00016 #define PATHSIZE 2.0f
00017 #define SEGMENTLENGTH 10.0f
00018 
00020 
00023 class DLevelSegment:DObject {
00024 public:
00025         float x1, y1, z1;
00026         float x2, y2, z2;
00027         float cx, cy, cz;
00028         float rightX, rightY, rightZ;
00029         DLevelSegment *next;
00030         DLevelSegment *previous;
00031         bool addFighter;
00032         DObject3D *tunnelObject;
00033 
00034         // Number of objects in this segment
00035         int countObjects;
00036         // Objects in this segment
00037         DObject3D **objList;
00038 
00039         DLevelSegment(float x1, float y1, float z1, float x2, float y2, float z2);
00040         ~DLevelSegment(void);
00041         void SetObjectList(DObject3D **objList, int listSize);
00042 };

Generated on Thu Jun 19 21:55:39 2003 for Debris by doxygen 1.3.2