| 4400 | } |
| 4401 | |
| 4402 | int getContextMenuOptionOrder(const int player, ItemContextMenuPrompts prompt) |
| 4403 | { |
| 4404 | std::string bindingName = getContextMenuOptionBindingName(player, prompt); |
| 4405 | if ( bindingName == "MenuAlt1" ) |
| 4406 | { |
| 4407 | return 2; |
| 4408 | //#ifdef NINTENDO |
| 4409 | // return 1; |
| 4410 | //#else |
| 4411 | //#endif |
| 4412 | } |
| 4413 | else if ( bindingName == "MenuAlt2" ) |
| 4414 | { |
| 4415 | return 1; |
| 4416 | //#ifdef NINTENDO |
| 4417 | // return 2; |
| 4418 | //#else |
| 4419 | //#endif |
| 4420 | } |
| 4421 | else if ( bindingName == "MenuConfirm" ) |
| 4422 | { |
| 4423 | return 4; |
| 4424 | //#ifdef NINTENDO |
| 4425 | // return 3; |
| 4426 | //#else |
| 4427 | //#endif |
| 4428 | } |
| 4429 | else if ( bindingName == "MenuCancel" ) |
| 4430 | { |
| 4431 | return 3; |
| 4432 | //#ifdef NINTENDO |
| 4433 | // return 4; |
| 4434 | //#else |
| 4435 | //#endif |
| 4436 | } |
| 4437 | return 5; |
| 4438 | } |
| 4439 | |
| 4440 | void Player::HUD_t::updateFrameTooltip(Item* item, const int x, const int y, int justify, Frame* parentFrame) |
| 4441 | { |
no test coverage detected