comparison src/th06/ecl.rs @ 728:414f8611f344

ecl: Add support for bullet sounds, instruction 84.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 30 Oct 2019 16:27:43 +0100
parents 5016c09e5d7c
children fc937d93a57c
comparison
equal deleted inserted replaced
727:eea03c9ca604 728:414f8611f344
269 79 => fn NoDelayAttack(), 269 79 => fn NoDelayAttack(),
270 81 => fn SetBulletLaunchOffset(x: f32, y: f32, z: f32), 270 81 => fn SetBulletLaunchOffset(x: f32, y: f32, z: f32),
271 82 => fn SetExtendedBulletAttributes(a: i32, b: i32, c: i32, d: i32, e: f32, f: f32, g: f32, h: f32), 271 82 => fn SetExtendedBulletAttributes(a: i32, b: i32, c: i32, d: i32, e: f32, f: f32, g: f32, h: f32),
272 83 => fn ChangeBulletsInStarBonus(), 272 83 => fn ChangeBulletsInStarBonus(),
273 // TODO: Found in stage 4 onward. 273 // TODO: Found in stage 4 onward.
274 84 => fn UNK_ins84(param: i32), 274 84 => fn SetBulletSound(sound: i32),
275 85 => fn NewLaser(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32), 275 85 => fn NewLaser(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32),
276 86 => fn NewLaserTowardsPlayer(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32), 276 86 => fn NewLaserTowardsPlayer(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32),
277 87 => fn SetUpcomingLaserId(id: u32), 277 87 => fn SetUpcomingLaserId(id: u32),
278 88 => fn AlterLaserAngle(id: u32, delta: f32), 278 88 => fn AlterLaserAngle(id: u32, delta: f32),
279 90 => fn RepositionLaser(id: u32, ox: f32, oy: f32, oz: f32), 279 90 => fn RepositionLaser(id: u32, ox: f32, oy: f32, oz: f32),