1
0
mirror of synced 2025-02-08 22:59:41 +01:00

Update TODO.md

This commit is contained in:
Stepland 2020-02-10 00:31:56 +01:00
parent 2afc22d483
commit 2d0cf1558e
3 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,8 @@
## TODO
- Preference persistency system
- cereal ? https://github.com/USCiLab/cereal
- handling previous schema versions ?
### Music Select Screen
- Handling Resolution changes

7
src/Data/Preferences.hpp Normal file
View File

@ -0,0 +1,7 @@
#pragma once
namespace Data {
struct Preferences {
};
}

View File

@ -37,7 +37,9 @@ namespace Textures {
class Autoloader {
public:
Autoloader() = default;
// Triggers async loading and returns empty if not already loaded
std::optional<AutoloadedTexture> async_get(const fs::path& path);
// Does not trigger loading
std::optional<AutoloadedTexture> get(const fs::path& path);
void load(const fs::path& path);
void async_load(const fs::path& path);