summaryrefslogtreecommitdiff
path: root/src/simulation/Stickman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/Stickman.h')
-rw-r--r--src/simulation/Stickman.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/simulation/Stickman.h b/src/simulation/Stickman.h
new file mode 100644
index 0000000..0e9cd3c
--- /dev/null
+++ b/src/simulation/Stickman.h
@@ -0,0 +1,15 @@
+#ifndef STICKMAN_H_
+#define STICKMAN_H_
+
+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
+};
+
+#endif