diff options
Diffstat (limited to 'src/simulation/Player.h')
| -rw-r--r-- | src/simulation/Player.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/simulation/Player.h b/src/simulation/Player.h new file mode 100644 index 0000000..af2b68e --- /dev/null +++ b/src/simulation/Player.h @@ -0,0 +1,23 @@ +// +// Player.h +// The Powder Toy +// +// Created by Simon Robertshaw on 04/06/2012. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#ifndef The_Powder_Toy_Player_h +#define The_Powder_Toy_Player_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 |
