ac audio architecture refactoring

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3760 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-11-25 22:50:35 +00:00
parent f515200c37
commit 74e1468ee3
25 changed files with 4519 additions and 4184 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ void menuselect(void *menu, int sel)
{
m.items[oldsel]->focus(false);
m.items[sel]->focus(true);
playsound(S_MENUSELECT, SP_HIGHEST);
audiomgr.playsound(S_MENUSELECT, SP_HIGHEST);
}
}
}
@@ -725,7 +725,7 @@ bool menukey(int code, bool isdown, int unicode, SDLMod mod)
if(code==SDLK_RETURN || code==SDLK_SPACE || code==-1 || code==-2)
{
m.select();
playsound(S_MENUENTER, SP_HIGHEST);
audiomgr.playsound(S_MENUENTER, SP_HIGHEST);
return true;
}
return false;