X-Git-Url: http://git.mutantstargoat.com?p=faros-demo;a=blobdiff_plain;f=src%2Fseq.h;fp=src%2Fseq.h;h=aebd8364df70876a634344555dd02d74c3566aa3;hp=0000000000000000000000000000000000000000;hb=fe6fdd0009d90b8407496fd4efa2e71a19556761;hpb=08dfe45a9c75333375791380ed5ed44ceda1e904 diff --git a/src/seq.h b/src/seq.h new file mode 100644 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_ */