A retro style homage to 80s dungeon crawlers hand crafted in C++.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
#include "guecs/ui.hpp"
|
|
|
|
|
|
|
|
namespace sfml {
|
|
|
|
using std::string;
|
|
|
|
|
|
|
|
class Backend : public guecs::Backend {
|
|
|
|
int $shaders_version = 0;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Backend();
|
|
|
|
guecs::SpriteTexture get_sprite(const string& name);
|
|
|
|
guecs::SpriteTexture get_icon(const string& name);
|
|
|
|
void sound_play(const string& name);
|
|
|
|
void sound_stop(const string& name);
|
|
|
|
std::shared_ptr<sf::Shader> get_shader(const std::string& name);
|
|
|
|
bool shader_updated();
|
|
|
|
guecs::Theme theme();
|
|
|
|
};
|
|
|
|
}
|