Module livesplit_core::state_helper [] [src]

Functions

check_best_segment

Calculates whether or not the Split Times for the indicated split qualify as a Best Segment.

check_live_delta

Checks whether the live segment should now be shown.

last_delta

Gets the last non-live delta in the run starting from split_number.

live_segment_delta

Gets the amount of time lost or gained on a certain split, using the live segment delta if the split is not completed yet.

live_segment_time

Gets the length of the last segment that leads up to a certain split, using the live segment time if the split is not completed yet.

previous_segment_delta

Gets the amount of time lost or gained on a certain split.

previous_segment_time

Gets the length of the last segment that leads up to a certain split.

split_color

Chooses a split color from the Layout Settings based on the current run.