]> Dogcows Code - chaz/yoink/blobdiff - src/Scene.hh
big batch of changes
[chaz/yoink] / src / Scene.hh
index b858c642abde7cc28b156eafd83956511fb6cb5a..f9963e85dd0ea1e7567a5fd7e63f08daec01e47f 100644 (file)
@@ -36,6 +36,7 @@
 #include <Moof/Cullable.hh>
 #include <Moof/Drawable.hh>
 #include <Moof/Resource.hh>
+#include <Moof/Script.hh>
 
 
 class Character;
@@ -51,16 +52,20 @@ class Scene : public Mf::Cullable, public Mf::Drawable, public Mf::Resource
 
 public:
 
-       Scene(const std::string& name);
+       explicit Scene(const std::string& name);
 
        static SceneP alloc(const std::string& name)
        {
                return SceneP(new Scene(name));
        }
 
+       Mf::Script::Status load(Mf::Script& script);
+
        void draw(Mf::Scalar alpha) const;
        void drawIfVisible(Mf::Scalar alpha, const Mf::Frustum& frustum) const;
 
+       Mf::Scalar getZCoord(const Mf::Vector2& position) const;
+
        bool checkForCollision(Character& character);
 
        static std::string getPath(const std::string& name);
This page took 0.019698 seconds and 4 git commands to generate.