All of the UIs should be cleared out, and that just leaves the tests.
This commit is contained in:
parent
d5ff57e025
commit
564f9842a2
23 changed files with 126 additions and 145 deletions
|
@ -4,7 +4,8 @@
|
|||
#include <fstream>
|
||||
#include "map.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include "systems.hpp"
|
||||
#include "game_level.hpp"
|
||||
#include "systems.hpp."
|
||||
|
||||
using namespace fmt;
|
||||
using namespace nlohmann;
|
||||
|
@ -84,9 +85,9 @@ TEST_CASE("dijkstra algo test", "[map]") {
|
|||
TEST_CASE("map image test", "[map]") {
|
||||
components::init();
|
||||
textures::init();
|
||||
Game::init();
|
||||
|
||||
LevelManager levels;
|
||||
GameLevel level = levels.current();
|
||||
GameLevel level = Game::current();
|
||||
Matrix map_tiles = matrix::make(7,7);
|
||||
EntityGrid entity_map;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include <fmt/core.h>
|
||||
#include <string>
|
||||
#include "sound.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
|
||||
using namespace fmt;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue