Start the level manager for tomorrow.
This commit is contained in:
parent
3a16595ca7
commit
193f5f915e
4 changed files with 39 additions and 0 deletions
10
levelmanager.cpp
Normal file
10
levelmanager.cpp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#include "levelmanager.hpp"
|
||||||
|
|
||||||
|
LevelManager::LevelManager() {
|
||||||
|
// does nothing yet
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void LevelManager::create_level() {
|
||||||
|
// does nothing yet
|
||||||
|
}
|
9
levelmanager.hpp
Normal file
9
levelmanager.hpp
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
class LevelManager {
|
||||||
|
|
||||||
|
LevelManager();
|
||||||
|
|
||||||
|
void create_level();
|
||||||
|
};
|
|
@ -22,6 +22,7 @@ source=[
|
||||||
'matrix.cpp',
|
'matrix.cpp',
|
||||||
'tilemap.cpp',
|
'tilemap.cpp',
|
||||||
'map.cpp',
|
'map.cpp',
|
||||||
|
'levelmanager.cpp',
|
||||||
'gui.cpp',
|
'gui.cpp',
|
||||||
'rand.cpp',
|
'rand.cpp',
|
||||||
'sound.cpp',
|
'sound.cpp',
|
||||||
|
@ -59,6 +60,7 @@ runtests = executable('runtests',
|
||||||
'tests/sound.cpp',
|
'tests/sound.cpp',
|
||||||
'tests/pathing.cpp',
|
'tests/pathing.cpp',
|
||||||
'tests/lighting.cpp',
|
'tests/lighting.cpp',
|
||||||
|
'tests/levelmanager.cpp',
|
||||||
'tests/gui.cpp',
|
'tests/gui.cpp',
|
||||||
'tests/worldbuilder.cpp',
|
'tests/worldbuilder.cpp',
|
||||||
'tests/inventory.cpp',
|
'tests/inventory.cpp',
|
||||||
|
|
18
tests/levelmanager.cpp
Normal file
18
tests/levelmanager.cpp
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#include <catch2/catch_test_macros.hpp>
|
||||||
|
#include <fmt/core.h>
|
||||||
|
#include "gui.hpp"
|
||||||
|
#include "map.hpp"
|
||||||
|
#include "dinkyecs.hpp"
|
||||||
|
#include "worldbuilder.hpp"
|
||||||
|
#include "save.hpp"
|
||||||
|
#include "systems.hpp"
|
||||||
|
#include "spatialmap.hpp"
|
||||||
|
#include "levelmanager.hpp"
|
||||||
|
|
||||||
|
using namespace fmt;
|
||||||
|
using namespace components;
|
||||||
|
using std::string;
|
||||||
|
|
||||||
|
TEST_CASE("", "[levelmanager]") {
|
||||||
|
// empty test to get setup
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue