SQC-15_online #1

Merged
memartel_loc merged 349 commits from SQC-15_online into master 2023-12-10 17:41:26 -05:00
Showing only changes of commit 06a5bb67d3 - Show all commits

View File

@ -1241,12 +1241,16 @@ void Engine::Render(float elapsedTime) {
Sync sync;
uint64_t id = m_conn.getId();
static std::vector<char*> lsPck;
static uint64_t sync_acc = 0;
sync_acc += tstamp;
if (false) { // TODO: Faire un checkup pour chaque ~1000ms.
if (sync_acc >= 1000) {
sync_acc -= 1000;
sync.sid = id;
sync.timestamp = tstamp;
sync.position = m_player.GetPosition();
sync.hp = m_player.GetHP();
// TODO: Garrocher ca quelque-part.
}