Mercurial > touhou
diff src/th06/ecl.rs @ 716:5016c09e5d7c
Fix some warnings.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 23 Sep 2019 13:49:07 +0200 |
parents | fcc8f736c746 |
children | 414f8611f344 |
line wrap: on
line diff
--- a/src/th06/ecl.rs +++ b/src/th06/ecl.rs @@ -284,7 +284,7 @@ declare_sub_instructions!{ 95 => fn SpawnEnemy(sub: i32, x: f32, y: f32, z: f32, life: i16, bonus_dropped: i16, die_score: i32), 96 => fn KillAllEnemies(), 97 => fn SetAnim(script: i32), - 98 => fn SetMultipleAnims(default: i16, end_left: i16, end_right: i16, left: i16, right: i16, UNUSED: i16), + 98 => fn SetMultipleAnims(default: i16, end_left: i16, end_right: i16, left: i16, right: i16, _unused: i16), 99 => fn SetAuxAnm(number: i32, script: i32), 100 => fn SetDeathAnim(sprite_index: i32), 101 => fn SetBossMode(value: i32), @@ -314,17 +314,17 @@ declare_sub_instructions!{ 125 => fn UNK_ins125(), 126 => fn SetRemainingLives(lives: i32), // TODO: Found in stage 4. - 127 => fn UNK_ins127(TODO: i32), + 127 => fn UNK_ins127(UNK1: i32), 128 => fn Interrupt(event: i32), 129 => fn InterruptAux(number: i32, event: i32), // TODO: Found in stage 4. - 130 => fn UNK_ins130(TODO: i32), + 130 => fn UNK_ins130(UNK1: i32), 131 => fn SetDifficultyCoeffs(speed_a: f32, speed_b: f32, nb_a: i32, nb_b: i32, shots_a: i32, shots_b: i32), 132 => fn SetInvisible(invisible: i32), 133 => fn CopyCallbacks(), // TODO: Found in stage 4. 134 => fn UNK_ins134(), - 135 => fn EnableSpellcardBonus(UNKNOW: i32), + 135 => fn EnableSpellcardBonus(UNK1: i32), } fn parse_sub_instruction(input: &[u8]) -> IResult<&[u8], CallSub> {