removed old (nade) projectile code, menu sounds

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1812 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-04-20 17:34:30 +00:00
parent f024ed3166
commit 7d9b73887c
8 changed files with 91 additions and 170 deletions
+2
View File
@@ -44,6 +44,7 @@ void menuselect(void *menu, int sel)
{
m.items[oldsel]->focus(false);
m.items[sel]->focus(true);
playsound(S_MENUSELECT, SP_HIGH);
}
}
}
@@ -601,6 +602,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);
return true;
}
return false;