#pragma once #include "assets.hpp" #include "collision.hpp" #include "config.hpp" #include "player.hpp" #include struct GlobalState { SDL_Window *window; SDL_Renderer *renderer; SDL_Rect camera; PPlayer player; PCollisionDatabase collisionDb; std::vector collisions; PhoenixAssets assets; int scale = 20; }; extern GlobalState state;