Rollover Beethoven

This commit is contained in:
MarcEricMartel
2023-12-06 15:37:08 -05:00
parent 6178604d95
commit 7077b617be
4 changed files with 35 additions and 19 deletions

View File

@@ -90,7 +90,7 @@ void Engine::Init() {
RemotePlayer* rt = (RemotePlayer*)m_players[key];
rt->SetPosition(Vector3f(555, 555, 555));
}
m_player.m_username = playname;
seed = 9370707;//m_conn.getSeed();
m_networkgame = true;
}
@@ -659,17 +659,17 @@ void Engine::PrintText(float x, float y, const std::string& t, float charSizeMul
int Engine::GetFps(float elapsedTime) const { return 1 / elapsedTime; }
int Engine::GetCountdown(float elapsedTime) {
if (m_resetcountdown) {
m_nbReductionChunk = 4;
m_timerReductionChunk = 30;
m_countdown = m_time + COUNTDOWN;
m_resetcountdown = false;
}
if (m_countdown < m_time) {}
//Stop();
if (!m_stopcountdown)
m_time += elapsedTime;
return m_countdown - (int)m_time;
//if (m_resetcountdown) {
// m_nbReductionChunk = 4;
// m_timerReductionChunk = 30;
// m_countdown = m_time + COUNTDOWN;
// m_resetcountdown = false;
// }
// if (m_countdown < m_time) {}
// Stop();
//if (!m_stopcountdown)
// m_time += elapsedTime;
return m_countdown;// -(int)m_time;
}
int Engine::GetOptionsChoice() {