tidy-fix automàtic (sense naming)

This commit is contained in:
2026-05-14 18:28:23 +02:00
parent 358e91ea30
commit b7a551c158
81 changed files with 1549 additions and 831 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ void JG_QuitSignal() {
quitting = true;
}
bool JG_Quitting() {
auto JG_Quitting() -> bool {
return quitting;
}
@@ -32,7 +32,7 @@ void JG_SetUpdateTicks(Uint32 milliseconds) {
update_ticks = milliseconds;
}
bool JG_ShouldUpdate() {
auto JG_ShouldUpdate() -> bool {
const Uint32 now = SDL_GetTicks();
if (now - update_time > update_ticks) {
update_time = now;
@@ -45,11 +45,11 @@ bool JG_ShouldUpdate() {
return false;
}
Uint32 JG_GetCycleCounter() {
auto JG_GetCycleCounter() -> Uint32 {
return cycle_counter;
}
Uint32 JG_GetDeltaMs() {
auto JG_GetDeltaMs() -> Uint32 {
const Uint32 now = SDL_GetTicks();
const Uint32 delta = now - last_delta_time;
last_delta_time = now;