summaryrefslogtreecommitdiffstats
path: root/src/Level.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Level.h')
-rw-r--r--src/Level.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Level.h b/src/Level.h
index 277b6e7..5e32aa1 100644
--- a/src/Level.h
+++ b/src/Level.h
@@ -20,7 +20,7 @@
#ifndef ZOOM_LEVEL_H_
#define ZOOM_LEVEL_H_
-#include "BSPTree.h"
+#include "TriangleRecord.h"
#include <string>
#include <map>
@@ -36,13 +36,13 @@ class Level {
public:
static boost::shared_ptr<Level> loadLevel(const std::string &filename);
- struct WallData : public BSPTree::TriangleData {
+ struct WallData : public TriangleRecord::TriangleData {
std::string texture;
};
struct Room {
std::string id;
- std::list<BSPTree::TriangleRecord> walls;
+ std::list<TriangleRecord> walls;
};
const std::list<Room> &getRooms() const {
@@ -63,7 +63,7 @@ class Level {
void loadRoom(xmlNodePtr roomNode);
void loadTextures(xmlNodePtr texturesNode);
- static BSPTree::TriangleRecord loadWall(xmlNodePtr wallNode);
+ static TriangleRecord loadWall(xmlNodePtr wallNode);
static vmml::vec3f loadVector(xmlNodePtr node);
static bool validateLevel(xmlDocPtr doc);