[BROKEN] This build is totally broken. DONOT USE.

This commit is contained in:
Zed A. Shaw 2025-05-08 01:12:12 -04:00
parent 8dc70ad1ed
commit f3f2e90cd2
15 changed files with 123 additions and 81 deletions

View file

@ -1,10 +1,11 @@
#pragma once
#include <SFML/Graphics.hpp>
#include "dbc.hpp"
#include "sfml/color.hpp"
#include "lel.hpp"
#include <string>
#include <memory>
#include <SFML/Graphics.hpp>
#include <functional>
#include <any>
@ -48,6 +49,12 @@ namespace guecs {
};
struct Sprite {
// either you set a filename here,
// or some kind of config,
// or a callback that does the loading,
// or a virtual function and you subclass
// or there's a static config function you call once,
// that's passed an object with all the necessary gear
string name;
int padding = PADDING;
std::shared_ptr<sf::Sprite> sprite = nullptr;