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:
2026-01-24 19:12:36 -06:00
parent a698c0eb41
commit 3aaf5021cc
468 changed files with 262023 additions and 59 deletions

29
include/main.h Normal file
View 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