| 29455 | } |
| 29456 | |
| 29457 | void CalloutRadialMenu::closeCalloutMenuGUI() |
| 29458 | { |
| 29459 | if ( calloutMenuIsOpen() ) |
| 29460 | { |
| 29461 | players[gui_player]->worldUI.reset(); |
| 29462 | } |
| 29463 | bOpen = false; |
| 29464 | lockOnEntityUid = 0; |
| 29465 | selectMoveTo = false; |
| 29466 | menuX = -1; |
| 29467 | menuY = -1; |
| 29468 | moveToX = -1; |
| 29469 | moveToY = -1; |
| 29470 | menuToggleClick = false; |
| 29471 | holdWheel = false; |
| 29472 | optionSelected = -1; |
| 29473 | if ( calloutFrame ) |
| 29474 | { |
| 29475 | calloutFrame->setDisabled(true); |
| 29476 | for ( auto f : calloutFrame->getFrames() ) |
| 29477 | { |
| 29478 | f->removeSelf(); |
| 29479 | } |
| 29480 | } |
| 29481 | animTitle = 0.0; |
| 29482 | animWheel = 0.0; |
| 29483 | openedThisTick = 0; |
| 29484 | animInvalidAction = 0.0; |
| 29485 | animInvalidActionTicks = 0; |
| 29486 | } |
| 29487 | |
| 29488 | std::string& CalloutRadialMenu::WorldIconEntry_t::getPlayerIconPath(const int playernum) |
| 29489 | { |
no test coverage detected