Mercurial > touhou
comparison src/th06/ecl_vm.rs @ 692:a35df65e0d57
ecl_vm: stub PlaySound.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 17 Aug 2019 14:09:39 +0200 |
parents | f5d85a646975 |
children | 14fddc27e6f5 |
comparison
equal
deleted
inserted
replaced
691:f5d85a646975 | 692:a35df65e0d57 |
---|---|
860 let mut enemy = self.enemy.borrow_mut(); | 860 let mut enemy = self.enemy.borrow_mut(); |
861 enemy.damageable = (damageable&1) != 0; | 861 enemy.damageable = (damageable&1) != 0; |
862 } | 862 } |
863 | 863 |
864 // 106 | 864 // 106 |
865 /* | |
866 SubInstruction::PlaySound(index) => { | 865 SubInstruction::PlaySound(index) => { |
867 let mut enemy = self.enemy.borrow_mut(); | 866 let mut enemy = self.enemy.borrow_mut(); |
868 enemy.play_sound(index); | 867 enemy.play_sound(index); |
869 } | 868 } |
870 */ | |
871 | 869 |
872 // 107 | 870 // 107 |
873 SubInstruction::SetDeathFlags(death_flags) => { | 871 SubInstruction::SetDeathFlags(death_flags) => { |
874 let mut enemy = self.enemy.borrow_mut(); | 872 let mut enemy = self.enemy.borrow_mut(); |
875 enemy.death_flags = death_flags; | 873 enemy.death_flags = death_flags; |