Rollover Beethoven
This commit is contained in:
		| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user