player controller + renderer
This commit is contained in:
parent
4913fc7667
commit
a1f8e26d9a
21 changed files with 348 additions and 279 deletions
|
@ -1,11 +1,13 @@
|
|||
#pragma once
|
||||
#include "assets.hpp"
|
||||
#include "config.hpp"
|
||||
#include "player.hpp"
|
||||
#include <SDL.h>
|
||||
|
||||
struct GlobalState {
|
||||
SDL_Window *window;
|
||||
SDL_Renderer *renderer;
|
||||
PPlayer player;
|
||||
PhoenixAssets assets;
|
||||
int scale = 20;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue