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:
Dav999-v
2023-03-18 22:32:26 +01:00
committed by Misa Elizabeth Kai
parent 620365614d
commit 09365347b6
6 changed files with 101 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ extern "C"
typedef enum
{
//ActionSet_Global,
//ActionSet_Menu,
ActionSet_Menu,
ActionSet_InGame
//ActionSet_Editor
}
@@ -45,6 +45,13 @@ Action_Global;
typedef enum
{
Action_Menu_Accept
}
Action_Menu;
typedef enum
{
Action_InGame_ACTION,
Action_InGame_Interact,
Action_InGame_Map
}
@@ -67,6 +74,7 @@ typedef union
{
int intval;
//Action_Global Global;
Action_Menu Menu;
Action_InGame InGame;
//Action_Editor Editor;
}