]> Dogcows Code - chaz/yoink/blobdiff - src/moof/sound.hh
mesh and other random adjustments
[chaz/yoink] / src / moof / sound.hh
index 7fdfd0948b49c68fea6600660567eb3c08af8807..f920f49daf16804e735424fea855b4b207b38a03 100644 (file)
 namespace moof {
 
 
+class script;
+
+
 class sound
 {
 public:
 
        sound();
-       explicit sound(const std::string& path);
+       explicit sound(const std::string& name);
 
-       void sample(const std::string& path);
-       void enqueue(const std::string& path);
+       void sample(const std::string& name);
+       void enqueue(const std::string& name);
 
        void play();
-       void stream();
        void stop();
        void pause();
        void rewind();
@@ -58,6 +60,7 @@ public:
        static void listener_orientation(const vector3& forward,
                                                                         const vector3& up);
 
+       static void import(script& script, const std::string& nspace = "");
 
 private:
 
This page took 0.020132 seconds and 4 git commands to generate.