Merge branch 'foo'
[faros-demo] / src / seq.h
diff --git a/src/seq.h b/src/seq.h
new file mode 100644 (file)
index 0000000..aebd836
--- /dev/null
+++ b/src/seq.h
@@ -0,0 +1,23 @@
+#ifndef ANIM_H_
+#define ANIM_H_
+
+#include "track.h"
+
+bool init_seq();
+void destroy_seq();
+
+int add_seq_track(const char *name, InterpMode inmode, ExtrapMode exmode, float defval);
+int find_seq_track(const char *name);
+Track *get_seq_track(int idx);
+
+void clear_seq_track(int idx);
+void clear_seq_track(const char *name);
+
+void set_seq_value(int idx, long tm, float val);
+void set_seq_value(const char *name, long tm, float val);
+float get_seq_value(int idx, long tm);
+float get_seq_value(const char *name, long tm);
+
+bool load_seq(const char *fname);
+
+#endif /* ANIM_H_ */