]> Dogcows Code - chaz/yoink/blobdiff - src/Animation.cc
testing new non-autotools build system
[chaz/yoink] / src / Animation.cc
index ba34bc5d9f95cae0bc86fa0aba1242cf73cf4626..503f77a47c2eecf21a24a2986d082061358af829 100644 (file)
@@ -139,7 +139,7 @@ public:
                        moof::script script;
                        std::string path(name);
                        
-                       if (!Animation::find_path(path))
+                       if (!resource::find(path))
                        {
                                throw std::runtime_error("cannot find resource " + name);
                        }
@@ -306,14 +306,3 @@ unsigned Animation::getFrame() const
        return impl_->mFrameIndex;
 }
 
-
-/**
- * Specialized search location for animation files.  They can be found in
- * the "animations" subdirectory of any of the search directories.
- */
-
-bool Animation::find_path(std::string& name)
-{
-       return moof::resource::find_path(name, "animations/", "lua");
-}
-
This page took 0.019095 seconds and 4 git commands to generate.