smarter sound scheduling algorithm, tweaked priorities

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2703 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-09-18 22:46:31 +00:00
parent 1cbb6a7969
commit d718f48704
6 changed files with 48 additions and 68 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ void menuselect(void *menu, int sel)
{
m.items[oldsel]->focus(false);
m.items[sel]->focus(true);
playsound(S_MENUSELECT, SP_HIGH);
playsound(S_MENUSELECT, SP_HIGHEST);
}
}
}
@@ -651,7 +651,7 @@ bool menukey(int code, bool isdown, int unicode)
if(code==SDLK_RETURN || code==SDLK_SPACE || code==-1 || code==-2)
{
m.select();
playsound(S_MENUENTER, SP_HIGH);
playsound(S_MENUENTER, SP_HIGHEST);
return true;
}
return false;