#ifndef __MAIN_H__
#define __MAIN_H__

#include <darnit/darnit.h>

#define DISPLAY_WIDTH 1280
#define DISPLAY_HEIGHT 720

typedef enum GameState GameState;
enum GameState {
	GAME_STATE_MENU,
	GAME_STATE_SELECT_NAME,
	GAME_STATE_LOBBY,
	GAME_STATE_HOST,
	GAME_STATE_GAMEROOM,
	GAME_STATE_GAME,
	GAME_STATE_GAME_OVER,
	GAME_STATE_QUIT,
	GAME_STATES,
};

typedef struct Gfx Gfx;
struct Gfx {
	struct {
		DARNIT_FONT *small;
		DARNIT_FONT *large;
	} font;
};

extern Gfx gfx;
extern char player_name[];
extern unsigned long sip;

void game_state(GameState state);
void restart_to_menu(const char *name);

#endif
