- [NEW] Nova debug info: flags
- [NEW] Só de caminar i botar funcionant - [NEW] Só de enemics rebotant - [NEW] Menus amb só (MOC MOC!) - [FIX] El so de caminar ja no continua durant el menu ingame
This commit is contained in:
@@ -33,15 +33,19 @@ namespace modules
|
||||
}
|
||||
if (controller::pressed(KEY_DOWN) || input::keyPressed(SDL_SCANCODE_DOWN))
|
||||
{
|
||||
audio::playSound("snd_push.wav", SOUND_BASIC);
|
||||
selected_option++; if (selected_option==5) selected_option=0;
|
||||
}
|
||||
|
||||
if (controller::pressed(KEY_UP) || input::keyPressed(SDL_SCANCODE_UP))
|
||||
{
|
||||
audio::playSound("snd_push.wav", SOUND_BASIC);
|
||||
selected_option--; if (selected_option<0) selected_option=4;
|
||||
}
|
||||
|
||||
if (controller::pressed(KEY_JUMP) || controller::pressed(KEY_PICK) || input::keyPressed(SDL_SCANCODE_SPACE) ) {
|
||||
if (controller::pressed(KEY_JUMP) || controller::pressed(KEY_PICK) || input::keyPressed(SDL_SCANCODE_SPACE) )
|
||||
{
|
||||
audio::playSound("snd_push.wav", SOUND_BASIC);
|
||||
return selected_option;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user