Can you tell me please, how can I add a new sounds(for example, enemy sight/die sound) in the Wolf4SDL that everything works properly?
I used before an old Wolf3D source code and there was no problem with adding sounds in the game(change NUMSOUNDS and NUMSNDCHUNKS value, add sound names in audiowl6.h list and wl_main.c list, compile and that's all, and of course add sounds in mapeditor).
Now, I see that new code(Wolf4SDL) requires another way to add sounds...
I do the same with Wolf4SDL code as I did with Wolf3D code. Of course that I didnt change NUMSOUNDS and NUMSNDCHUNKS value(instead of numbers there is due with LASTSOUNDS), so I searched for SOMETHING to change in id_ca.h, id_ca.cpp, id_sd.h, id_sd.cpp, wl_inter.h, but I dont know exactly what to do..
So whats happening, where is the problem? When game starts, instead of start screen music(NAZI_NOR_MUS), VICTORS_MUS plays right until menu screen...and then.. ta-da, game crashes..
So, what can cause this problem, and again how can it be fixed that everything works properly, what I need to change and where, or its something more to do, to rewrite etc. ?
Btw I use Code::Blocks for compiling and Chaos editor for making maps, adding sprites, sounds, music etc.
Thank you for helping me.
Last edited by Josip_2P2 on Wed Feb 06, 2019 1:29 pm; edited 1 time in total