This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation/Stickman.h
2023-01-27 09:26:38 +01:00

17 lines
489 B
C++

#pragma once
constexpr auto 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
};