This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
space-war/include/game/global.hpp

18 lines
419 B
C++

#pragma once
#include "tinyengine/tinyengine.hpp"
#include "game/quick_list.hpp"
extern Context ECSContext;
extern SystemManager SystemMgr;
extern Unique<TileSheet> GameTileSheet;
extern std::unordered_map<std::string, Unique<Sound>> Sounds;
extern QuickList<Entity*> Bullets;
extern QuickList<Entity*> Entities;
extern Entity* PlayerSpaceship;
void LoadResources();
Point MapGlobal2PlayerCoord(const Point& pos);