1 #ifndef PARTICLE_H_ 2 #define PARTICLE_H_ 3 4 #include <vector> 5 #include "StructProperty.h" 6 7 struct Particle 8 { 9 int type; 10 int life, ctype; 11 float x, y, vx, vy; 12 float temp; 13 float pavg[2]; 14 int flags; 15 int tmp; 16 int tmp2; 17 unsigned int dcolour; 18 /** Returns a list of properties, their type and offset within the structure that can be changed 19 by higher-level processes referring to them by name such as Lua or the property tool **/ 20 static std::vector<StructProperty> const &GetProperties(); 21 }; 22 23 #endif 24