Moved spritesheet texture handling to anm2 instead of resources; added undoing for spritesheet texture changes; refactoring

This commit is contained in:
2025-08-27 00:28:41 -04:00
parent c9056ce707
commit 3546f27655
22 changed files with 376 additions and 391 deletions

View File

@@ -10,10 +10,7 @@ struct Resources
{
GLuint shaders[SHADER_COUNT];
Texture atlas;
std::map<s32, Texture> textures;
};
void resources_init(Resources* self);
void resources_texture_init(Resources* self, const std::string& path, s32 id);
void resources_free(Resources* self);
void resources_textures_free(Resources* self);