move MenuButton alias into GameButton.h
This commit is contained in:
@@ -149,6 +149,17 @@ GameButton StringToGameButton( const InputScheme* pInputs, const RString& s );
|
||||
#define LIGHTS_BUTTON_BASS_RIGHT GAME_BUTTON_CUSTOM_08
|
||||
#define NUM_LIGHTS_BUTTONS GAME_BUTTON_CUSTOM_09
|
||||
|
||||
typedef GameButton MenuButton;
|
||||
#define MENU_BUTTON_LEFT GAME_BUTTON_MENULEFT
|
||||
#define MENU_BUTTON_RIGHT GAME_BUTTON_MENURIGHT
|
||||
#define MENU_BUTTON_UP GAME_BUTTON_MENUUP
|
||||
#define MENU_BUTTON_DOWN GAME_BUTTON_MENUDOWN
|
||||
#define MENU_BUTTON_START GAME_BUTTON_START
|
||||
#define MENU_BUTTON_SELECT GAME_BUTTON_SELECT
|
||||
#define MENU_BUTTON_BACK GAME_BUTTON_BACK
|
||||
#define MENU_BUTTON_COIN GAME_BUTTON_COIN
|
||||
#define MENU_BUTTON_OPERATOR GAME_BUTTON_OPERATOR
|
||||
#define MenuButton_Invalid GameButton_Invalid
|
||||
|
||||
struct GameInput
|
||||
{
|
||||
|
||||
@@ -3,19 +3,6 @@
|
||||
#ifndef MENU_INPUT_H
|
||||
#define MENU_INPUT_H
|
||||
|
||||
#include "GameInput.h"
|
||||
typedef GameButton MenuButton;
|
||||
#define MENU_BUTTON_LEFT GAME_BUTTON_MENULEFT
|
||||
#define MENU_BUTTON_RIGHT GAME_BUTTON_MENURIGHT
|
||||
#define MENU_BUTTON_UP GAME_BUTTON_MENUUP
|
||||
#define MENU_BUTTON_DOWN GAME_BUTTON_MENUDOWN
|
||||
#define MENU_BUTTON_START GAME_BUTTON_START
|
||||
#define MENU_BUTTON_SELECT GAME_BUTTON_SELECT
|
||||
#define MENU_BUTTON_BACK GAME_BUTTON_BACK
|
||||
#define MENU_BUTTON_COIN GAME_BUTTON_COIN
|
||||
#define MENU_BUTTON_OPERATOR GAME_BUTTON_OPERATOR
|
||||
#define MenuButton_Invalid GameButton_Invalid
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "Steps.h"
|
||||
#include "ThemeMetric.h"
|
||||
#include "PlayerState.h"
|
||||
#include "MenuInput.h"
|
||||
#include "GameInput.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user