bve 0.0.1

Remaking OpenBVE using a modern architecture, using Unity and Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
use bve_derive::FromKVPSection;

#[derive(Debug, Default, Clone, PartialEq, FromKVPSection)]
pub struct DelaySection {
    #[kvp(bare, variadic)]
    pub delay_power_up: Vec<f32>,
    #[kvp(bare, variadic)]
    pub delay_power_down: Vec<f32>,
    #[kvp(bare, variadic)]
    pub delay_brake_up: Vec<f32>,
    #[kvp(bare, variadic)]
    pub delay_brake_down: Vec<f32>,
}