]> Dogcows Code - chaz/yoink/blobdiff - src/Scene.hh
sockets documentation and cleanup
[chaz/yoink] / src / Scene.hh
index 85a6716953109c9739c7b0c6ba97108c18a01912..d92784a2a0e2e7babc76f0054d893af25ac8ab50 100644 (file)
 class Character;
 
 
+namespace Mf {
+class Settings;
+}
+
 class Scene;
 typedef boost::shared_ptr<Scene> SceneP;
 
@@ -43,7 +47,7 @@ public:
                return SceneP(new Scene(name));
        }
 
-       Mf::Script::Result load(Mf::Script& script);
+       Mf::Script::Result load(Mf::Settings& settings, Mf::Script& script);
 
        void draw(Mf::Scalar alpha) const;
        void drawIfVisible(Mf::Scalar alpha, const Mf::Frustum& frustum) const;
@@ -51,10 +55,10 @@ public:
        Mf::Scalar getZCoord(const Mf::Vector2& position) const;
 
        bool castRay(const Mf::Ray<2>& ray,
-                       std::list<Mf::Ray<2>::Intersection>& hits) const;
+                       std::list<Mf::Ray<2>::Contact>& hits) const;
        bool checkForCollision(Character& character);
 
-       static std::string getPath(const std::string& name);
+       static bool getPath(std::string& name);
 };
 
 
This page took 0.022289 seconds and 4 git commands to generate.