Moved to SFML 3.0 now.

This commit is contained in:
Zed A. Shaw 2025-01-29 12:55:33 -05:00
parent 7c56f350ab
commit e05b2c304c
12 changed files with 167 additions and 173 deletions

12
gui.hpp
View file

@ -36,17 +36,6 @@ struct ActionLog {
}
};
struct UnDumbTSS {
sf::Texture texture;
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");
return shader;
}
};
class DeathUI : public Panel {
public:
@ -143,7 +132,6 @@ class GUI {
Component $test_button;
SoundManager $sounds;
SFMLRender $renderer;
UnDumbTSS $paused;
std::vector<Panel*> $active_panels;
public: