First commit of the basic game ready to work on.

This commit is contained in:
Zed A. Shaw 2025-05-16 11:06:16 -04:00
parent 801a05d1ab
commit a68cce5cbb
41 changed files with 1815 additions and 0 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();
};
}