Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-10-22 10:42:01 +0000
committerStijn Buys <ingar@osirion.org>2011-10-22 10:42:01 +0000
commit01b98a40b9c6d8ace96538342ccdd6ac46fbbbe7 (patch)
tree56cec894282f9c06a916753f258a330cbb3d1d6b /src/model/mapfile.h
parent04ea97c5057f65c6e276c6c8b71f7c2ba32bab53 (diff)
Initial support for the Material::Origin surface flag
Diffstat (limited to 'src/model/mapfile.h')
-rw-r--r--src/model/mapfile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/model/mapfile.h b/src/model/mapfile.h
index 011c01d..551943e 100644
--- a/src/model/mapfile.h
+++ b/src/model/mapfile.h
@@ -174,7 +174,6 @@ private:
/// list of planes for the current brush
std::vector<Face *> planes;
-
std::string classname_current;
std::string key_current;
std::string value_current;
@@ -203,6 +202,10 @@ private:
float class_distance;
bool class_engine;
+
+ /// list of vertices with the origin material within the current map class
+ std::vector<math::Vector3f *> class_origin_vertices;
+
Materials map_materials;
TriangleList map_collisiontriangles;