21 lines
431 B
C++
21 lines
431 B
C++
#pragma once
|
|
#include <SDL3/SDL.h>
|
|
|
|
void JG_Init();
|
|
|
|
void JG_Finalize();
|
|
|
|
void JG_QuitSignal();
|
|
|
|
auto JG_Quitting() -> bool;
|
|
|
|
void JG_SetUpdateTicks(Uint32 milliseconds);
|
|
|
|
auto JG_ShouldUpdate() -> bool;
|
|
|
|
auto JG_GetCycleCounter() -> Uint32;
|
|
|
|
// Temps transcorregut (en ms) des de l'última crida a JG_GetDeltaMs.
|
|
// Helper per a la migració progressiva a time-based (Fase 4+).
|
|
auto JG_GetDeltaMs() -> Uint32;
|