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, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0
|
|
|
|
];
|
|
|
|
|
|
|
|
pub const DEFAULT_TECH_MENU: [u8; 40] = [
|
|
|
|
0x00, 0x00,
|
|
|
|
0x06, 0x00,
|
|
|
|
0x03, 0x00,
|
|
|
|
0x01, 0x00,
|
|
|
|
0x07, 0x00,
|
|
|
|
0x04, 0x00,
|
|
|
|
0x02, 0x00,
|
|
|
|
0x08, 0x00,
|
|
|
|
0x05, 0x00,
|
|
|
|
0x09, 0x00,
|
|
|
|
0x12, 0x00,
|
|
|
|
0x0f, 0x00,
|
|
|
|
0x10, 0x00,
|
|
|
|
0x11, 0x00,
|
|
|
|
0x0d, 0x00,
|
|
|
|
0x0a, 0x00,
|
|
|
|
0x0b, 0x00,
|
|
|
|
0x0c, 0x00,
|
|
|
|
0x0e, 0x00,
|
|
|
|
0x00, 0x00,
|
|
|
|
];
|
|
|
|
|
|
|
|
#[repr(u32)]
|
|
|
|
#[derive(Copy, Clone, Hash, PartialEq, Eq)]
|
|
|
@ -313,7 +396,7 @@ pub struct FullCharacter { |
|
|
|
pub section_id: u8,
|
|
|
|
pub char_class: u8,
|
|
|
|
pub _unknown2: u32,
|
|
|
|
pub symbol_chats: [u8; 1248],
|
|
|
|
pub symbol_chats: [u8; 0x4E0],
|
|
|
|
pub shortcuts: [u8; 2624],
|
|
|
|
pub autoreply: [u16; 172],
|
|
|
|
pub info_board: [u16; 172],
|
|
|
|