miuu_replay 0.1.1

Parse .replay files from the game Marble It Up! Ultra
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{RewindCurveFitter, Rewindable, field};

/// A wrapper type for [`Rewindable`] that comes from [`ReplayBuffer::get_elevators`](crate::ReplayBuffer::get_elevators).  
#[derive(Debug, Clone)]
pub struct Elevator {
    pub inner: Rewindable,
}

impl Elevator {
    field!(t, &RewindCurveFitter<i32>, "T", Int);
    field!(collapsing, &RewindCurveFitter<bool>, "Collapsing", Bool);
    field!(stop_time, &RewindCurveFitter<f32>, "StopTime", Float);
    field!(enable_bob, &RewindCurveFitter<bool>, "EnableBob", Bool);
    field!(global_time, &RewindCurveFitter<i32>, "GlobalTime", Int);
}