|
|
@ -264,11 +264,19 @@ pub struct CharacterMaterials { |
|
|
|
pub tp: u32,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
pub struct CharacterKeyboardConfig {
|
|
|
|
pub keyboard_config: [u8; 0x16C],
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Default for CharacterKeyboardConfig {
|
|
|
|
fn default() -> CharacterKeyboardConfig {
|
|
|
|
CharacterKeyboardConfig {
|
|
|
|
keyboard_config: DEFAULT_KEYBOARD_CONFIG1,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl CharacterKeyboardConfig {
|
|
|
|
fn new(preset: usize) -> CharacterKeyboardConfig {
|
|
|
|
match preset {
|
|
|
@ -309,7 +317,7 @@ impl CharacterKeyboardConfig { |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
pub struct CharacterGamepadConfig {
|
|
|
|
pub gamepad_config: [u8; 0x38],
|
|
|
|
}
|
|
|
|