levelmanager.* is now gone, but the code is just moved over to game_level. Now to clean up the api and give it a new name.
This commit is contained in:
parent
5aca2fb56a
commit
a83ee77eea
17 changed files with 147 additions and 178 deletions
|
@ -3,7 +3,7 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <SFML/System/Clock.hpp>
|
||||
#include "spatialmap.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include "game_level.hpp"
|
||||
#include "textures.hpp"
|
||||
#include "camera.hpp"
|
||||
|
||||
|
@ -62,7 +62,7 @@ struct Raycaster {
|
|||
void update_level(GameLevel level);
|
||||
void update_sprite(DinkyECS::Entity ent, components::Sprite& sprite);
|
||||
void init_shaders();
|
||||
void apply_sprite_effect(shared_ptr<sf::Shader> effect, float width, float height);
|
||||
void apply_sprite_effect(std::shared_ptr<sf::Shader> effect, float width, float height);
|
||||
|
||||
// camera things?
|
||||
void position_camera(float player_x, float player_y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue