Skip to content

Commit

Permalink
one day I'll remember to run clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Aug 15, 2021
1 parent 500e7dd commit 2fa478f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/game_api/state_structs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,22 @@ struct PlayerSlotSettings

struct PlayerInputs
{
union {
union
{
std::array<PlayerSlot, MAX_PLAYERS> player_slots;
struct {
struct
{
PlayerSlot player_slot_1;
PlayerSlot player_slot_2;
PlayerSlot player_slot_3;
PlayerSlot player_slot_4;
};
};
union {
union
{
std::array<PlayerSlotSettings, MAX_PLAYERS> player_settings;
struct {
struct
{
PlayerSlotSettings player_slot_1_settings;
PlayerSlotSettings player_slot_2_settings;
PlayerSlotSettings player_slot_3_settings;
Expand Down

0 comments on commit 2fa478f

Please sign in to comment.