![Wink ;)](./images/smilies/icon_wink.gif)
Code: Select all
SEE BELOW! UPDATED VERSION!
![Razz :P](./images/smilies/icon_razz.gif)
I put this in this forum because it is more to do with Audiere than Irrlicht but it would be more used with Irrlicht and Audiere doesn't have a forum!
![Razz :P](./images/smilies/icon_razz.gif)
Make modifications as you like.
Thanks~ John DiSanti
PS. If I ever include this h file with a file that includes Irrlicht, I get the XSTRING error again.
![Razz :P](./images/smilies/icon_razz.gif)
Code: Select all
#include "titlescreen.h"
#include "audio.h"
#include "defines.h"
#include <windows.h>
#pragma comment(exestr, "Project Space Squad 4086")
#pragma comment(exestr, "Version 0.2")
#pragma comment(exestr, "Copyright ? 2004 by Santi Productions. All Rights Reserved.")
pss_audio game_sound;
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
{
titlescreen* pss4ts = 0;
pss4ts->run();
delete pss4ts;
return 0;
}
void play_sound(int snumber)
{
game_sound.playsound(snumber);
}
void play_sound3d(int snumber, float distance,float px, float sx, float pz, float sz)
{
game_sound.playsound3d(snumber,distance,px,sx,pz,sz);
}
________
Lolol