init
This commit is contained in:
commit
2f372ede93
212 changed files with 50289 additions and 0 deletions
13
include/state.hpp
Normal file
13
include/state.hpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
#include "assets.hpp"
|
||||
#include "config.hpp"
|
||||
#include <SDL.h>
|
||||
|
||||
struct GlobalState {
|
||||
SDL_Window *window;
|
||||
SDL_Renderer *renderer;
|
||||
PhoenixAssets assets;
|
||||
int scale = 20;
|
||||
};
|
||||
|
||||
extern GlobalState state;
|
Loading…
Add table
Add a link
Reference in a new issue