[−][src]Module livesplit_core::analysis::state_helper
Provides different helper functions.
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. |
comparison_segment_time | Calculates the comparison's segment time of the segment with the timing method specified. This is not calculating the current attempt's segment times. |
last_delta | Gets the last non-live delta in the run starting from |
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. |