// // 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