Update TODO.md
This commit is contained in:
parent
2afc22d483
commit
2d0cf1558e
2
TODO.md
2
TODO.md
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
- Preference persistency system
|
- Preference persistency system
|
||||||
|
- cereal ? https://github.com/USCiLab/cereal
|
||||||
|
- handling previous schema versions ?
|
||||||
|
|
||||||
### Music Select Screen
|
### Music Select Screen
|
||||||
- Handling Resolution changes
|
- Handling Resolution changes
|
||||||
|
7
src/Data/Preferences.hpp
Normal file
7
src/Data/Preferences.hpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace Data {
|
||||||
|
struct Preferences {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
@ -37,7 +37,9 @@ namespace Textures {
|
|||||||
class Autoloader {
|
class Autoloader {
|
||||||
public:
|
public:
|
||||||
Autoloader() = default;
|
Autoloader() = default;
|
||||||
|
// Triggers async loading and returns empty if not already loaded
|
||||||
std::optional<AutoloadedTexture> async_get(const fs::path& path);
|
std::optional<AutoloadedTexture> async_get(const fs::path& path);
|
||||||
|
// Does not trigger loading
|
||||||
std::optional<AutoloadedTexture> get(const fs::path& path);
|
std::optional<AutoloadedTexture> get(const fs::path& path);
|
||||||
void load(const fs::path& path);
|
void load(const fs::path& path);
|
||||||
void async_load(const fs::path& path);
|
void async_load(const fs::path& path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user