36 lines
463 B
C
36 lines
463 B
C
//Troy Rosin
|
|
|
|
#ifndef __game_h__
|
|
#define __game_h__
|
|
|
|
void init_start_game();
|
|
void render_start_game();
|
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
extern SDL_Point mouse_pos;
|
|
|
|
#define TITLE 0
|
|
#define START 1
|
|
#define HOST 2
|
|
#define JOIN 3
|
|
#define OPTIONS 4
|
|
#define BATTLE 5
|
|
#define OVERWORLD 6
|
|
extern int state;
|
|
|
|
void start_battle();
|
|
|
|
#define GRAB_NEW 2
|
|
#define GRAB_OLD 1
|
|
#define LETGO 3
|
|
#define NOT_DRAG 0
|
|
extern int dragging;
|
|
|
|
|
|
#define MAX_NAMESZ 64
|
|
#define MAX_PLAYERS 4
|
|
|
|
|
|
#endif
|