Now mostly working with GUECS but shaders are still busted. Have to find out why they stopped working.

This commit is contained in:
Zed A. Shaw 2025-05-10 11:06:38 -04:00
parent a5f6a82611
commit ac22a11c9f
27 changed files with 162 additions and 1210 deletions

19
backend.hpp Normal file
View file

@ -0,0 +1,19 @@
#include "guecs/ui.hpp"
namespace sfml {
using std::string;
class Backend : public guecs::Backend {
int $shaders_version = 0;
public:
Backend();
guecs::SpriteTexture texture_get(const string& name);
void sound_play(const string& name);
void sound_stop(const string& name);
std::shared_ptr<sf::Shader> shader_get(const std::string& name);
bool shader_updated();
guecs::Theme theme();
};
}