#ifndef IS_PLAYER_H_
|
|
#define IS_PLAYER_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#define PLAYER_INV_SIZE 32
|
|
|
|
typedef struct {
|
|
uint8_t x;
|
|
uint16_t y;
|
|
uint16_t vy;
|
|
uint8_t dir;
|
|
uint8_t state;
|
|
// TODO: Define inventory if there's time
|
|
} player_t;
|
|
|
|
extern player_t PLAYER;
|
|
|
|
#endif
|