20 lines
514 B
C
20 lines
514 B
C
#ifndef STICKMAN_H_
|
|
#define STICKMAN_H_
|
|
|
|
#define MAX_FIGHTERS 100
|
|
struct playerst
|
|
{
|
|
char comm; //command cell
|
|
char pcomm; //previous command
|
|
int elem; //element power
|
|
float legs[16]; //legs' positions
|
|
float accs[8]; //accelerations
|
|
char spwn; //if stick man was spawned
|
|
unsigned int frames; //frames since last particle spawn - used when spawning LIGH
|
|
bool rocketBoots;
|
|
bool fan;
|
|
int spawnID; //id of the SPWN particle that spawns it
|
|
};
|
|
|
|
#endif
|