1 #ifndef STICKMAN_H_ 2 #define STICKMAN_H_ 3 4 #define MAX_FIGHTERS 100 5 struct playerst 6 { 7 char comm; //command cell 8 char pcomm; //previous command 9 int elem; //element power 10 float legs[16]; //legs' positions 11 float accs[8]; //accelerations 12 char spwn; //if stick man was spawned 13 unsigned int frames; //frames since last particle spawn - used when spawning LIGH 14 bool rocketBoots; 15 bool fan; 16 int spawnID; //id of the SPWN particle that spawns it 17 }; 18 19 #endif 20