- [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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user