Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
soundinit(); // to init the sound
soundbgstart("./Sound/BGM/1.ogg",-1); //to play an background music
soundplay("Sound/Effect/bell.wav"); // to play a normal sound
yu can play any format ogg,mp3,wav
yu dont have to worry about mixing chanelle they are automaticely mixed
yu have to get sdl at http://www.libsdl.org/index.php
No we have to say thx to you Sull! Good work I'ltry it for the Win32 client.
Now we can play bgm! I was thinking that in this way we are disabling masking sound (which uses allegro routines), but it's not a problem in my opiniion we don't need gui sound. Elsewhere if you think gui sound it's necessary we have to recompile the entire masking lib...