Added the ability to hide\show map legends
For NX
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
// Game has colors inlined in code.
|
||||
// For easier modification we collect them here:
|
||||
const CRGBA LABEL_COLOR(255, 150, 225, 255);
|
||||
const CRGBA SELECTIONBORDER_COLOR(25, 130, 70, 255);
|
||||
const CRGBA SELECTIONBORDER_COLOR(82, 203, 239, 255);
|
||||
const CRGBA MENUOPTION_COLOR = LABEL_COLOR;
|
||||
const CRGBA SELECTEDMENUOPTION_COLOR = LABEL_COLOR;
|
||||
const CRGBA HEADER_COLOR = LABEL_COLOR;
|
||||
@@ -3689,16 +3689,16 @@ CMenuManager::AdditionalOptionInput(bool &goBack)
|
||||
m_bShowMouse = true;
|
||||
}
|
||||
|
||||
static bool pressedL = false;
|
||||
static bool pressedSquare = false;
|
||||
|
||||
if (!CPad::GetPad(0)->GetChar('L') && !CPad::GetPad(0)->GetChar('l')) {
|
||||
pressedL = false;
|
||||
if (!CPad::GetPad(0)->GetSquare()) {
|
||||
pressedSquare = false;
|
||||
}
|
||||
|
||||
if (!pressedL) {
|
||||
if (CPad::GetPad(0)->GetChar('L') || CPad::GetPad(0)->GetChar('l')) {
|
||||
if (!pressedSquare) {
|
||||
if (CPad::GetPad(0)->GetSquare()) {
|
||||
m_PrefsShowLegends = !m_PrefsShowLegends;
|
||||
pressedL = true;
|
||||
pressedSquare = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user