Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)

This commit is contained in:
Matt Atlas
2020-08-28 20:47:00 +02:00
committed by GitHub
parent db1b0cece0
commit 0dd08df5b2
125 changed files with 629 additions and 557 deletions
+3 -3
View File
@@ -21,17 +21,17 @@
'sound/misc/nymphchirp.ogg',
'sound/machines/twobeep.ogg',
'sound/machines/windowdoor.ogg',
"glass_break",
/decl/sound_category/glass_break_sound,
'sound/weapons/railgun.ogg',
'sound/effects/phasein.ogg',
"sparks",
/decl/sound_category/spark_sound,
'sound/effects/stealthoff.ogg',
'sound/misc/zapsplat/chitter1.ogg',
'sound/misc/zapsplat/chitter2.ogg',
'sound/effects/squelch1.ogg',
'sound/items/wrench.ogg',
'sound/items/welder.ogg',
"crowbar",
/decl/sound_category/crowbar_sound,
'sound/items/screwdriver.ogg',
'sound/items/drill_use.ogg',
'sound/items/air_wrench.ogg')