25 lines
464 B
C++
25 lines
464 B
C++
#pragma once
|
|
#include <SDL3/SDL.h>
|
|
|
|
namespace Jg {
|
|
|
|
void init();
|
|
|
|
void finalize();
|
|
|
|
void quitSignal();
|
|
|
|
auto quitting() -> bool;
|
|
|
|
void setUpdateTicks(Uint32 milliseconds);
|
|
|
|
auto shouldUpdate() -> bool;
|
|
|
|
auto 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 getDeltaMs() -> Uint32;
|
|
|
|
} // namespace Jg
|