Remove most of the image/sound managing stuff.

This commit is contained in:
Zed A. Shaw 2025-04-22 01:22:33 -04:00
parent 1be770d62d
commit e78340a0cd
10 changed files with 34 additions and 110 deletions

View file

@ -26,9 +26,6 @@ namespace textures {
TMGR.sprite_textures.try_emplace(name, name, sprite, texture);
}
TMGR.floor = load_image(assets["sprites"]["floor"]["path"]);
TMGR.ceiling = load_image(assets["sprites"]["ceiling"]["path"]);
}
void load_tiles() {
@ -88,12 +85,4 @@ namespace textures {
return result;
}
const uint32_t* get_floor() {
return (const uint32_t *)TMGR.floor.getPixelsPtr();
}
const uint32_t* get_ceiling() {
return (const uint32_t *)TMGR.ceiling.getPixelsPtr();
}
};