]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Scene.hh
new level-based controllers
[chaz/yoink] / src / Moof / Scene.hh
index 107e9938ca3131b18315e18c59894a5145f8f082..ce57bcd7d2a92332ba9a8ea54314b86d8c4b875a 100644 (file)
@@ -53,16 +53,21 @@ class Quad : public Entity
        
        Tilemap         tilemap_;
 
-       long            detail_;
        bool            blending_;
        bool            fog_;
 
 public:
 
+       enum SURFACE_TYPE
+       {
+               LEFT    = 1,
+               RIGHT   = 2,
+               TOP             = 3
+       };
+
        Quad(const Vector3 vertices[4], const std::string& texture,
                        Tilemap::Index tileIndex) :
                tilemap_(texture),
-               detail_(0),
                blending_(false),
                fog_(false)
        {
@@ -90,11 +95,6 @@ public:
                sphere_.radius = (aabb_.min - sphere_.point).length();
        }
 
-       void setDetail(long detail)
-       {
-               detail_ = detail;
-       }
-
        void setBlending(bool blending)
        {
                blending_ = blending;
This page took 0.019988 seconds and 4 git commands to generate.