diff --git a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp index 74c5542da..616d66a1c 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp @@ -42,7 +42,6 @@ extern bool Render; extern bool WantProfiling; // Do we want a CPU profile? extern bool WantProfilingVBLock; // Do we want a VBLock profile? extern bool PACSBorders; -extern bool ARKPACSBorders; extern bool DebugClusters; extern bool SoundBox; extern uint8 ShowInfos; @@ -93,21 +92,6 @@ REGISTER_ACTION_HANDLER (CAHDisplayInfos, "display_infos"); * * ***********************************************************************************************************/ -// ------------------------------------------------------------------------------------------------ -class CAHToggleARKPACSBorders : public IActionHandler -{ - virtual void execute (CCtrlBase * /* pCaller */, const string &Params) - { - if (!getParam(Params, "on").empty()) - ARKPACSBorders = true; - else if (!getParam(Params, "off").empty()) - ARKPACSBorders = false; - else ARKPACSBorders = !ARKPACSBorders; - - } -}; -REGISTER_ACTION_HANDLER (CAHToggleARKPACSBorders, "ark_pacs_borders"); - #if !FINAL_VERSION // ------------------------------------------------------------------------------------------------ class CAHProfile : public IActionHandler diff --git a/code/ryzom/client/src/interface_v3/group_map.cpp b/code/ryzom/client/src/interface_v3/group_map.cpp index 7ebac6614..85d11305c 100644 --- a/code/ryzom/client/src/interface_v3/group_map.cpp +++ b/code/ryzom/client/src/interface_v3/group_map.cpp @@ -4010,33 +4010,11 @@ class CAHWorldMapRightClick : public IActionHandler if (gm->isIsland()) { - if (gm->getArkPowoMode() == "editor") - menu = gm->getArkPowoMapMenu(); - else - menu = "ui:interface:map_menu_island"; + menu = "ui:interface:map_menu_island"; } else { -<<<<<<< HEAD CAHManager::getInstance()->runActionHandler("active_menu", pCaller, "menu=ui:interface:map_menu_island"); -======= - if (menu.empty()) - menu = "ui:interface:map_menu"; - - // update menu with closest landmarks - NLMISC::CVector2f pos(NLMISC::CVector2f::Null); - CCtrlButton *button = dynamic_cast(pCaller); - if (button) - gm->getLandmarkPosition(button, pos); - - if(pos == NLMISC::CVector2f::Null) - { - pos = gm->getRightClickLastPos(); - gm->mapToWorld(pos, pos); - } - - gm->updateClosestLandMarkMenu(menu, pos); ->>>>>>> origin/develop } CAHManager::getInstance()->runActionHandler("active_menu", pCaller, "menu=" + menu); diff --git a/code/ryzom/client/src/main_loop.cpp b/code/ryzom/client/src/main_loop.cpp index 981bc7c72..bcd6097e0 100644 --- a/code/ryzom/client/src/main_loop.cpp +++ b/code/ryzom/client/src/main_loop.cpp @@ -275,7 +275,6 @@ CTimedFXManager::TDebugDisplayMode ShowTimedFXMode = CTimedFXManager::NoText; // DEBUG bool PACSBorders = false; -bool ARKPACSBorders = false; bool DebugClusters = false; CVector LastDebugClusterCameraThirdPersonStart= CVector::Null; CVector LastDebugClusterCameraThirdPersonEnd= CVector::Null; @@ -1800,12 +1799,6 @@ bool mainLoop() displayPACSPrimitive(); } - // Display PACS borders only (for ARK). - if (ARKPACSBorders) - { - displayPACSPrimitive(); - } - // display Sound box if (SoundBox) { diff --git a/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp b/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp index 29cd11892..63e19c8a2 100644 --- a/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp +++ b/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp @@ -560,11 +560,6 @@ NLMISC_COMMAND(addMission,"Add mission to character","