Most files moved, now the stragglers.
This commit is contained in:
parent
f460add0af
commit
ebe84c4d78
20 changed files with 0 additions and 0 deletions
|
|
@ -1,35 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "dinkyecs.hpp"
|
||||
#include "boss/ui.hpp"
|
||||
#include "graphics/lights.hpp"
|
||||
#include "map.hpp"
|
||||
#include <memory>
|
||||
#include "algos/spatialmap.hpp"
|
||||
|
||||
namespace components {
|
||||
struct Position;
|
||||
}
|
||||
|
||||
namespace GameDB {
|
||||
struct Level {
|
||||
size_t index = 0;
|
||||
DinkyECS::Entity player = DinkyECS::NONE;
|
||||
std::shared_ptr<Map> map = nullptr;
|
||||
std::shared_ptr<DinkyECS::World> world = nullptr;
|
||||
std::shared_ptr<lighting::LightRender> lights = nullptr;
|
||||
std::shared_ptr<SpatialMap> collision = nullptr;
|
||||
};
|
||||
|
||||
Level& create_level();
|
||||
|
||||
void init();
|
||||
Level ¤t_level();
|
||||
std::shared_ptr<DinkyECS::World> current_world();
|
||||
components::Position& player_position();
|
||||
DinkyECS::Entity the_player();
|
||||
|
||||
std::shared_ptr<DinkyECS::World> clone_load_world(std::shared_ptr<DinkyECS::World> prev_world);
|
||||
void load_configs(DinkyECS::World &world);
|
||||
void register_level(Level level);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue