Very simple items system to get into the inventory work.
This commit is contained in:
parent
1962b0c24e
commit
3d461bce6d
15 changed files with 94 additions and 32 deletions
1
gui.hpp
1
gui.hpp
|
@ -40,7 +40,6 @@ struct UnDumbTSS {
|
|||
sf::Sprite sprite;
|
||||
sf::Shader shader;
|
||||
|
||||
|
||||
sf::Shader& load_shader(string filename) {
|
||||
bool good = shader.loadFromFile(filename, sf::Shader::Fragment);
|
||||
dbc::check(good, "shader could not be loaded");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue