libpsys

view src/pattr_parser.h @ 13:1b0db53d5b5b

started writting config file for the particle system attributes
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 06 Sep 2012 02:32:58 +0300
parents
children
line source
1 #ifndef PATTR_PARSER_H_
2 #define PATTR_PARSER_H_
4 struct cfg_value {
5 int nelem;
6 float v[4];
7 };
9 struct cfg_node {
10 char *name, *valstr;
12 long tm;
13 struct cfg_value val, range;
15 struct cfg_node *next;
16 };
18 struct cfg_node *psys_parse(const char *buf);
21 #endif /* PATTR_PARSER_H_ */