| 666 | } |
| 667 | |
| 668 | void DemoRead2DSound(void) { |
| 669 | int soundidx = cf_ReadShort(Demo_cfp); |
| 670 | float volume = cf_ReadFloat(Demo_cfp); |
| 671 | |
| 672 | Sound_system.Play2dSound(soundidx, volume); |
| 673 | } |
| 674 | |
| 675 | void DemoWrite3DSound(int16_t soundidx, uint16_t objnum, int priority, float volume) { |
| 676 | cf_WriteByte(Demo_cfp, DT_3D_SOUND); |
no test coverage detected