vkdoom_m/src/sound
Zandrewnum c7cd25cbcc Made S_FindSkinnedSound to use GetSoundClass again
- I couldn't simply init SoundClass to NAME_SoundClass, even after converting it to the appropriate type. Probably because NAME_SoundClass hasn't been parsed from decorate yet. Instead, I change it to NAME_SoundClass through GetSoundClass if it's valid and currently "player".
- The skin checker code in GetSoundClass now checks if the SoundClass is equal to NAME_SoundClass. This mechanism exists so that way reverting the SoundClass to NAME_SoundClass processes the skin soundclass code. If it's different, the code is not processed.
- Just returns sclass. This is never null, so there's no need to check if so.
- S_FindSkinnedSound just uses GetSoundClass. This makes sure skins are checked.
2021-05-28 20:22:37 +02:00
..
s_advsound.cpp Made S_FindSkinnedSound to use GetSoundClass again 2021-05-28 20:22:37 +02:00
s_doomsound.cpp - Fix the previous commit 2021-01-18 04:02:12 -05:00
s_doomsound.h - system backend cleanup. 2020-04-22 19:57:14 +02:00
s_sndseq.cpp Raise SNDSEQ limit to 4096 sequences 2020-10-25 15:58:30 +01:00
s_sndseq.h Raise SNDSEQ limit to 4096 sequences 2020-10-25 15:58:30 +01:00
s_sound.h - moved game specific data out of the sound backend. 2020-04-11 20:20:35 +02:00