6 struct smktxt *create_smktxt(const char *imgname, const char *vfieldname);
7 void destroy_smktxt(struct smktxt *stx);
9 int gen_smktxt_vfield(struct smktxt *stx, int xres, int yres, float xfreq, float yfreq);
10 int dump_smktxt_vfield(struct smktxt *stx, const char *fname);
12 void set_smktxt_wind(struct smktxt *stx, float x, float y, float z);
13 void set_smktxt_plife(struct smktxt *stx, float life);
14 void set_smktxt_pcount(struct smktxt *stx, int count);
15 void set_smktxt_drag(struct smktxt *stx, float drag);
17 void update_smktxt(struct smktxt *stx, float dt);
18 void draw_smktxt(struct smktxt *stx);
21 #endif /* SMOKE_TEXT_ */