The start time of the race is no longer scaled by the race speed scalar.

Changed the prestart time to 30 seconds (was 3 minutes).
Changed the preparatory time to 10 seconds (was 1 minute).
Phases: player list +prestart > warning > race view + preparatory + no more joining > started > finished.
This commit is contained in:
fjc40
2017-09-13 12:59:51 +12:00
parent ab96884dc6
commit 2ad947b57d
4 changed files with 9 additions and 13 deletions
@@ -33,18 +33,20 @@ public class Constants {
* Frame periods are multiplied by this to get the amount of time a single frame represents.
* E.g., frame period = 20ms, scale = 5, frame represents 20 * 5 = 100ms, and so boats are simulated for 100ms, even though only 20ms actually occurred.
*/
public static final int RaceTimeScale = 10;//10;
public static final int RaceTimeScale = 10;
/**
* The race pre-start time, in milliseconds. 3 minutes.
* The race pre-start time, in milliseconds.
* Official time is 3 minutes.
*/
public static final long RacePreStartTime = 3 * 60 * 1000;
public static final long RacePreStartTime = 30 * 1000;
/**
* The race preparatory time, in milliseconds. 1 minute.
* The race preparatory time, in milliseconds. 10 seconds.
* Official time is 1 minute.
*/
public static final long RacePreparatoryTime = 1 * 60 * 1000;
public static final long RacePreparatoryTime = 10 * 1000;