Remove most of the image/sound managing stuff.
This commit is contained in:
parent
1be770d62d
commit
e78340a0cd
10 changed files with 34 additions and 110 deletions
11
textures.cpp
11
textures.cpp
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue