00001
00002
00003
00004
00005
00006
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
00035 int countObjects;
00036
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 };