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