- [FIX] Arreglat un warning en Windows, coses de les putes llibreries STL, que son de tot menos estandar

- [WIP] En Windows, després de redimensionar finestra, es veu mal, treballant en ello, pero a Windows li ha pegat per actualiztar-se a Windows 11 i a vore qui li diu que no
This commit is contained in:
2025-11-19 10:10:06 +01:00
parent 33d72f8990
commit c83aa61162
2 changed files with 15 additions and 5 deletions

View File

@@ -50,14 +50,14 @@ void game::init()
draw::init("DILEMMAKER v0.1", 800, 600);
game::setState(loop);
font::load("font/8bithud");
draw::cls(0x00000000);
draw::cls(0xffff0000);
tilemap::init();
std::vector<std::string> room_names;
for (const auto& entry : fs::directory_iterator("./data/room")) {
if (entry.is_regular_file() && entry.path().extension() == ".yaml") {
room_names.emplace_back(entry.path().stem());
room_names.emplace_back(entry.path().stem().string());
}
}
std::sort(room_names.begin(), room_names.end(), [](const fs::path& a, const fs::path& b) {