Moved to SFML 3.0 now.
This commit is contained in:
parent
7c56f350ab
commit
e05b2c304c
12 changed files with 167 additions and 173 deletions
12
gui.hpp
12
gui.hpp
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue