mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Replace ACTION in texts by {button} placeholders
Gamepads and the Steam Deck need "ACTION" to be replaced by a controller glyph, so that's now possible.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
620365614d
commit
09365347b6
@@ -109,9 +109,19 @@ const char* BUTTONGLYPHS_get_button(const ActionSet actionset, const Action acti
|
||||
* to fill into strings like "Press {button} to activate terminal". */
|
||||
switch (actionset)
|
||||
{
|
||||
case ActionSet_Menu:
|
||||
switch (action.Menu)
|
||||
{
|
||||
case Action_Menu_Accept:
|
||||
return loc::gettext("ACTION");
|
||||
}
|
||||
break;
|
||||
case ActionSet_InGame:
|
||||
switch (action.InGame)
|
||||
{
|
||||
case Action_InGame_ACTION:
|
||||
return loc::gettext("ACTION");
|
||||
|
||||
case Action_InGame_Interact:
|
||||
if (game.separate_interact)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user