sequencer load/save with treestore
[faros-demo] / src / seq.h
1 #ifndef ANIM_H_
2 #define ANIM_H_
3
4 #include "track.h"
5
6 bool init_seq();
7 void destroy_seq();
8
9 int add_seq_track(const char *name, InterpMode inmode, ExtrapMode exmode, float defval);
10 int find_seq_track(const char *name);
11 Track *get_seq_track(int idx);
12
13 void clear_seq_track(int idx);
14 void clear_seq_track(const char *name);
15
16 void set_seq_value(int idx, long tm, float val);
17 void set_seq_value(const char *name, long tm, float val);
18 float get_seq_value(int idx, long tm);
19 float get_seq_value(const char *name, long tm);
20
21 bool load_seq(const char *fname);
22 bool dump_seq(const char *fname);
23
24 #endif  /* ANIM_H_ */