Added my seq file with an animation for the lighthouse
[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 bool seq_track_empty(int idx);
17 bool seq_track_empty(const char *name);
18
19 void set_seq_value(int idx, long tm, float val);
20 void set_seq_value(const char *name, long tm, float val);
21 float get_seq_value(int idx, long tm);
22 float get_seq_value(const char *name, long tm);
23
24 bool load_seq(const char *fname);
25 bool dump_seq(const char *fname);
26
27 #endif  /* ANIM_H_ */