Brought over a bunch of code from the roguelike and now will use it to generate a random map.
This commit is contained in:
parent
8d3d3b4ec3
commit
2daa1c9bd5
59 changed files with 4303 additions and 411 deletions
18
systems.hpp
Normal file
18
systems.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include "components.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
|
||||
|
||||
namespace System {
|
||||
using namespace components;
|
||||
|
||||
void lighting(GameLevel &level);
|
||||
void motion(GameLevel &level);
|
||||
void collision(GameLevel &level);
|
||||
void death(GameLevel &level);
|
||||
void enemy_pathing(GameLevel &level);
|
||||
|
||||
void init_positions(DinkyECS::World &world, SpatialMap &collider);
|
||||
void pickup(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
|
||||
void device(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue