1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Configure all death, spawn, and garage bay skins for #3

This commit is contained in:
NG (Graham)
2025-05-26 21:30:28 -04:00
parent 956bb2149d
commit ab19c723cd
14 changed files with 584 additions and 143 deletions

View File

@@ -64,6 +64,17 @@ pub enum ControlType {
Count = 2,
}
impl std::convert::From<crate::persist::user::ControlType> for ControlType {
#[inline]
fn from(value: crate::persist::user::ControlType) -> Self {
match value {
crate::persist::user::ControlType::Camera => Self::Camera,
crate::persist::user::ControlType::Keyboard => Self::Keyboard,
crate::persist::user::ControlType::Count => Self::Count,
}
}
}
pub struct ControlOptions {
pub vertical_strafing: bool,
pub sideways_driving: bool,