Cleanup.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* GameInput - An input event specific to a Game definied by an instrument and a button space. */
|
||||
|
||||
#ifndef GAMEINPUT_H
|
||||
#define GAMEINPUT_H
|
||||
#ifndef GAME_INPUT_H
|
||||
#define GAME_INPUT_H
|
||||
|
||||
#include "EnumHelper.h"
|
||||
|
||||
@@ -245,7 +245,7 @@ struct GameInput
|
||||
GameInput( GameController c, GameButton b ): controller(c), button(b) { }
|
||||
|
||||
GameController controller;
|
||||
GameButton button;
|
||||
GameButton button;
|
||||
|
||||
bool operator==( const GameInput &other ) const { return controller == other.controller && button == other.button; };
|
||||
bool operator<( const GameInput &other ) const
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* InputFilter - Checks RageInput and generates a list of InputEvents, representing button presses, releases, and repeats. */
|
||||
|
||||
#ifndef INPUTFILTER_H
|
||||
#define INPUTFILTER_H
|
||||
#ifndef INPUT_FILTER_H
|
||||
#define INPUT_FILTER_H
|
||||
|
||||
#include "RageInputDevice.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* InputMapper - Holds user-chosen input preferences and saves it between sessions. */
|
||||
|
||||
#ifndef INPUTMAPPER_H
|
||||
#define INPUTMAPPER_H
|
||||
#ifndef INPUT_MAPPER_H
|
||||
#define INPUT_MAPPER_H
|
||||
|
||||
#include "RageInputDevice.h"
|
||||
#include "GameInput.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* InputQueue - Stores a list of the most recently pressed MenuInputs for each player. */
|
||||
|
||||
#ifndef INPUTQUEUE_H
|
||||
#define INPUTQUEUE_H
|
||||
#ifndef INPUT_QUEUE_H
|
||||
#define INPUT_QUEUE_H
|
||||
|
||||
#include "GameConstantsAndTypes.h"
|
||||
#include "GameInput.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MenuInput - An input event specific to a menu navigation. This is generated based on a Game. */
|
||||
|
||||
#ifndef MENUINPUT_H
|
||||
#define MENUINPUT_H
|
||||
#ifndef MENU_INPUT_H
|
||||
#define MENU_INPUT_H
|
||||
|
||||
#include "PlayerNumber.h"
|
||||
|
||||
@@ -30,7 +30,7 @@ struct MenuInput
|
||||
MenuInput( PlayerNumber pn, MenuButton b ) { player = pn; button = b; };
|
||||
|
||||
PlayerNumber player;
|
||||
MenuButton button;
|
||||
MenuButton button;
|
||||
|
||||
bool operator==( const MenuInput &other ) const { return player == other.player && button == other.button; };
|
||||
bool operator!=( const MenuInput &other ) const { return !operator==(other); };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef STEPMANIA_H
|
||||
#define STEPMANIA_H
|
||||
#ifndef STEP_MANIA_H
|
||||
#define STEP_MANIA_H
|
||||
|
||||
class Game;
|
||||
class RageTimer;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* StyleInput - An input event specific to a style that is defined by a player number and the player's note column. */
|
||||
|
||||
#ifndef STYLEINPUT_H
|
||||
#define STYLEINPUT_H
|
||||
#ifndef STYLE_INPUT_H
|
||||
#define STYLE_INPUT_H
|
||||
|
||||
#include "PlayerNumber.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user