- [WIP] Acabant la fase 2

- [NEW] Preparant codi per a la fase 3
This commit is contained in:
2026-04-14 21:45:25 +02:00
parent 380295aed0
commit c0d1b1fecf
12 changed files with 269 additions and 228 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
#include "external/lua/lua.hpp"
#include "mini/win/win.h"
#include <SDL3/SDL.h>
//#include <SDL3/SDL.h>
#include <nlohmann/json.hpp>
#include <stack>
@@ -1136,7 +1136,7 @@ namespace mini
}
}
SDL_Delay(1);
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
}
@@ -1293,7 +1293,7 @@ namespace mini
}
sendLogOutput(lastExceptionMessage);
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Mini Runtime Exception", lastExceptionTraceback.c_str(), NULL);
//SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Mini Runtime Exception", lastExceptionTraceback.c_str(), NULL);
return false;
}
return true;
@@ -1320,7 +1320,7 @@ namespace mini
printf("COMANDO RECIBIDO: %s\n", line.c_str());
}
} else {
SDL_Delay(1);
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
}
});