- [WIP] Acabant la fase 2
- [NEW] Preparant codi per a la fase 3
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user