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
16
17
use crate::{RewindCurveFitter, Rewindable, field};

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

impl Powerup {
    field!(
        available_for_pickup,
        &RewindCurveFitter<bool>,
        "AvailableForPickup",
        Bool
    );
    field!(point_value, &RewindCurveFitter<u16>, "PointValue", UShort);
}