- [FIX] Arreglats paths a version.h en el scripts

- [TEST] Tornat a SDL_GetTicks per a probar si te que vore en el mode 'Benny Hill' de Joup
This commit is contained in:
2026-05-01 15:42:13 +02:00
parent d1e8425b09
commit b51ef4ba64
6 changed files with 14 additions and 10 deletions

View File

@@ -91,6 +91,10 @@ namespace backend
SDL_SetClipboardText(value);
}
uint64_t get_time_ms() {
return SDL_GetTicks();
}
}
#endif

View File

@@ -3,12 +3,12 @@
namespace backend
{
uint64_t get_time_ms() {
using namespace std::chrono;
return duration_cast<milliseconds>(
steady_clock::now().time_since_epoch()
).count();
}
// uint64_t get_time_ms() {
// using namespace std::chrono;
// return duration_cast<milliseconds>(
// steady_clock::now().time_since_epoch()
// ).count();
// }
void exit() {
current_state = quitting;

View File

@@ -135,7 +135,7 @@ int main(int argc,char*argv[]){
//#ifdef DEBUG
// SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG);
// log_msg(LOG_UNSALTED, "MINI v%s\n",MINI_VERSION);
log_msg(LOG_UNSALTED, "MINI v%s\n",MINI_VERSION);
//#endif
// Gestió de arguments

View File

@@ -1,3 +1,3 @@
#pragma once
#define MINI_VERSION "1.5.1"
#define MINI_VERSION "1.5.1Test"