#pragma once #include "camera.h" struct Game { /*the current map to display*/ struct Map *map; /*the player*/ struct Player *player; /*list of all the characters on the map*/ struct Character **characters; /*the camera*/ struct Camera camera; /*the background color*/ int background; }; /*get the input with a timeout*/ int get_inputs(void); enum direction { DIR_DOWN = 0, DIR_LEFT = 1, DIR_UP = 2, DIR_RIGHT = 3, ACTION_SHIFT = 4, ACTION_ALPHA = 5 };