Add time multiplier
This commit is contained in:
parent
8040d6755f
commit
ff75390a2a
5 changed files with 19 additions and 22 deletions
4
game.h
4
game.h
|
@ -286,8 +286,8 @@ void LCR_gameSetState(uint8_t state)
|
|||
LCR_GameUnit LCR_carSpeedKMH(void)
|
||||
{
|
||||
return // we use 28/8 as an approximation of 3.6 to convers MPS to KMH
|
||||
(28 * LCR_SETTING_METERS_PER_BLOCK * LCR_racingGetCarSpeedUnsigned() *
|
||||
LCR_RACING_FPS) / (8 * LCR_GAME_UNIT);
|
||||
(28 * LCR_SETTING_CMS_PER_BLOCK * LCR_racingGetCarSpeedUnsigned() *
|
||||
LCR_RACING_FPS) / (800 * LCR_GAME_UNIT);
|
||||
}
|
||||
|
||||
void LCR_gameResetRun(uint8_t replay)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue