equal
deleted
inserted
replaced
23 hedgehogs_number: u8, |
23 hedgehogs_number: u8, |
24 land: *const u8, |
24 land: *const u8, |
25 } |
25 } |
26 |
26 |
27 #[no_mangle] |
27 #[no_mangle] |
28 pub extern "C" fn protocol_version() -> u32 { |
28 pub extern "C" fn hedgewars_engine_protocol_version() -> u32 { |
29 56 |
29 58 |
30 } |
30 } |
31 |
31 |
32 #[no_mangle] |
32 #[no_mangle] |
33 pub extern "C" fn start_engine() -> *mut EngineInstance { |
33 pub extern "C" fn start_engine() -> *mut EngineInstance { |
34 let engine_state = Box::new(EngineInstance::new()); |
34 let engine_state = Box::new(EngineInstance::new()); |