first commit

This commit is contained in:
saarsena@gmail.com 2026-04-02 03:41:50 -04:00
commit 5c7d1905a9
25 changed files with 4034 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/**
* @file input.hpp
* @brief Input-related components
*/
#pragma once
struct PlayerControlled {
int player_id = 0;
};
struct InputState {
bool move_up = false;
bool move_down = false;
bool move_left = false;
bool move_right = false;
bool action_primary = false;
bool action_secondary = false;
float mouse_x = 0.0f;
float mouse_y = 0.0f;
};