-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Livesplit - Provide a TimeCalc URL for Season/Trilogy speedruns (#42)
* wip(livesplit): store individual times for timecalc sheet * feat(livesplit): generate timecalc link at run end * chore: move livesplit typings in its own types file * feat(livesplit): complete timecalc feature - Return 2 URLs if there is not enough lines to fit all the resets - Print time as mm:ss when time is over 60s - Include resetMinimum and time under 1s logics in TimeCalc output - Handle unsplit logic in TimeCalc * feat(livesplit): couple of changes over pr comments - Updated _addMissionTime to always return a floored time - Updated _formatSecondsToTime to better match other code patterns in module - Removed debug logs entries
- Loading branch information
Showing
3 changed files
with
171 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* LiveSplit-related types | ||
*/ | ||
|
||
import { Seconds } from "./types" | ||
|
||
export interface LiveSplitTimeCalcEntry { | ||
contractId: string | ||
time: Seconds | ||
location: string | ||
isCompleted: boolean | ||
} |