added new screens and getting ready for networking, looking at SDL_net for cross platfrom networking so i dont have to touch windows
This commit is contained in:
29
include/main.h
Normal file
29
include/main.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//Troy Rosin
|
||||
|
||||
#ifndef __main_h__
|
||||
#define __main_h__
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#define DEF_WINDOW_WIDTH 1920
|
||||
#define DEF_WINDOW_HEIGHT 1080
|
||||
|
||||
|
||||
|
||||
extern int running;
|
||||
extern int state;
|
||||
|
||||
#define START_GAME 0
|
||||
#define HOST_GAME 1
|
||||
#define JOIN_GAME 2
|
||||
#define OPTIONS_MENU 3
|
||||
#define EXIT_GAME 4
|
||||
#define MAIN_SELECTIONS 5
|
||||
extern int selected_index;
|
||||
|
||||
|
||||
extern SDL_Window* window;
|
||||
extern SDL_Renderer* renderer;
|
||||
extern SDL_Event event;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user