#ifndef IS_PLAYER_H_ #define IS_PLAYER_H_ #include #define PLAYER_INV_SIZE 32 typedef enum { PLAYER_STATE_STAND, PLAYER_STATE_WALK, PLAYER_STATE_JUMP, } player_state_t; typedef struct { uint8_t x; uint8_t y_lo; uint8_t y_hi; uint16_t vy; uint8_t dir; uint8_t state; // TODO: Define inventory if there's time } player_t; extern player_t PLAYER; extern const uint8_t player_map[]; void player_init(void); void player_update(void); #endif