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

19 lines
438 B
C++

#pragma once
#include "tinyengine/tinyengine.hpp"
#include "game/quick_list.hpp"
extern Context ECSContext;
extern SystemManager SystemMgr;
extern std::unordered_map<std::string, Unique<TileSheet>> TileSheets;
extern std::unordered_map<std::string, Unique<Sound>> Sounds;
extern std::string TileSheetName;
extern QuickList<Entity*> Bullets;
using EntityList = std::vector<Entity*>;
extern EntityList Entities;
void LoadResources();