Now systems.cpp is disconnected from levelmanager. That leaves the GUIs and then to completely remove it and clean up the api.

This commit is contained in:
Zed A. Shaw 2025-08-19 11:05:32 -04:00
parent 81e25f73bb
commit d5ff57e025
9 changed files with 106 additions and 89 deletions

View file

@ -196,7 +196,7 @@ void Raycaster::sprite_casting(sf::RenderTarget &target) {
float level = lights[sprite_pos.location.y][sprite_pos.location.x] * PERCENT;
shared_ptr<sf::Shader> effect = System::sprite_effect($level, rec.entity);
shared_ptr<sf::Shader> effect = System::sprite_effect(rec.entity);
if(effect) {
apply_sprite_effect(effect, sprite_width, sprite_height);