Lighting system now works and does illumination for the whole map plus entities, but not walls or multiple lights yet.
This commit is contained in:
parent
62f986719d
commit
4ceacecfda
5 changed files with 49 additions and 25 deletions
1
gui.cpp
1
gui.cpp
|
@ -227,6 +227,7 @@ void GUI::run_systems() {
|
|||
auto player = $world.get_the<Player>();
|
||||
System::motion($world, $game_map);
|
||||
System::enemy_pathing($world, $game_map, player);
|
||||
System::lighting($world, $game_map, player);
|
||||
System::collision($world, player);
|
||||
System::death($world);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue