Decouple <vector>

This commit is contained in:
Martin Natano
2023-04-21 22:13:41 +02:00
parent aa87f85eef
commit bacecae1f7
422 changed files with 2326 additions and 1295 deletions
+2
View File
@@ -7,6 +7,8 @@
#include "PlayerOptions.h" #include "PlayerOptions.h"
#include "PlayerState.h" #include "PlayerState.h"
#include <vector>
ActiveAttackList::ActiveAttackList() ActiveAttackList::ActiveAttackList()
{ {
} }
+1
View File
@@ -17,6 +17,7 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <typeinfo> #include <typeinfo>
#include <vector>
static Preference<bool> g_bShowMasks("ShowMasks", false); static Preference<bool> g_bShowMasks("ShowMasks", false);
static const float default_effect_period= 1.0f; static const float default_effect_period= 1.0f;
+2 -1
View File
@@ -6,7 +6,6 @@
#include "RageUtil_AutoPtr.h" #include "RageUtil_AutoPtr.h"
#include "LuaReference.h" #include "LuaReference.h"
#include "EnumHelper.h" #include "EnumHelper.h"
#include <map>
class XNode; class XNode;
struct lua_State; struct lua_State;
class LuaClass; class LuaClass;
@@ -14,6 +13,8 @@ class LuaClass;
#include "Tween.h" #include "Tween.h"
#include <cstddef> #include <cstddef>
#include <map>
#include <vector>
typedef AutoPtrCopyOnWrite<LuaReference> apActorCommands; typedef AutoPtrCopyOnWrite<LuaReference> apActorCommands;
+1 -1
View File
@@ -11,7 +11,7 @@
#include "ScreenDimensions.h" #include "ScreenDimensions.h"
#include <cstdint> #include <cstdint>
#include <vector>
/* Tricky: We need ActorFrames created in Lua to auto delete their children. /* Tricky: We need ActorFrames created in Lua to auto delete their children.
* We don't want classes that derive from ActorFrame to auto delete their * We don't want classes that derive from ActorFrame to auto delete their
+2
View File
@@ -3,6 +3,8 @@
#include "Actor.h" #include "Actor.h"
#include <vector>
/** @brief A container for other Actors. */ /** @brief A container for other Actors. */
class ActorFrame : public Actor class ActorFrame : public Actor
{ {
+2
View File
@@ -6,6 +6,8 @@
#include "Actor.h" #include "Actor.h"
#include "RageDisplay.h" #include "RageDisplay.h"
#include <vector>
class RageTexture; class RageTexture;
class ActorMultiTexture: public Actor class ActorMultiTexture: public Actor
+1
View File
@@ -16,6 +16,7 @@
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>
#include <numeric> #include <numeric>
#include <vector>
const float min_state_delay= 0.0001f; const float min_state_delay= 0.0001f;
+1
View File
@@ -7,6 +7,7 @@
#include "RageTextureID.h" #include "RageTextureID.h"
#include <cstddef> #include <cstddef>
#include <vector>
enum DrawMode enum DrawMode
{ {
+1
View File
@@ -9,6 +9,7 @@
#include "LuaBinding.h" #include "LuaBinding.h"
#include <cmath> #include <cmath>
#include <vector>
/* Tricky: We need ActorFrames created in Lua to auto delete their children. /* Tricky: We need ActorFrames created in Lua to auto delete their children.
* We don't want classes that derive from ActorFrame to auto delete their * We don't want classes that derive from ActorFrame to auto delete their
+2
View File
@@ -16,6 +16,8 @@
#include "arch/Dialog/Dialog.h" #include "arch/Dialog/Dialog.h"
#include <vector>
// Actor registration // Actor registration
static std::map<RString,CreateActorFn> *g_pmapRegistrees = nullptr; static std::map<RString,CreateActorFn> *g_pmapRegistrees = nullptr;
+2
View File
@@ -4,6 +4,8 @@
#include "Actor.h" #include "Actor.h"
#include "RageTexture.h" #include "RageTexture.h"
#include <vector>
class XNode; class XNode;
typedef Actor* (*CreateActorFn)(); typedef Actor* (*CreateActorFn)();
+1
View File
@@ -44,6 +44,7 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
std::vector<TimingData> AdjustSync::s_vpTimingDataOriginal; std::vector<TimingData> AdjustSync::s_vpTimingDataOriginal;
+2
View File
@@ -1,6 +1,8 @@
#ifndef AdjustSync_H #ifndef AdjustSync_H
#define AdjustSync_H #define AdjustSync_H
#include <vector>
class TimingData; class TimingData;
/** /**
* @brief Allows for adjusting the sync of a song. * @brief Allows for adjusting the sync of a song.
+3
View File
@@ -3,7 +3,10 @@
#include "RageLog.h" #include "RageLog.h"
#include "RageUtil.h" #include "RageUtil.h"
#include "RageFile.h" #include "RageFile.h"
#include <cstring> #include <cstring>
#include <vector>
AnnouncerManager* ANNOUNCER = nullptr; // global and accessible from anywhere in our program AnnouncerManager* ANNOUNCER = nullptr; // global and accessible from anywhere in our program
+4
View File
@@ -2,6 +2,10 @@
#define ANNOUNCER_MANAGER_H #define ANNOUNCER_MANAGER_H
#include "RageTypes.h" #include "RageTypes.h"
#include <vector>
/** @brief The commentators who say seemlingly random things during gameplay. */ /** @brief The commentators who say seemlingly random things during gameplay. */
class AnnouncerManager class AnnouncerManager
{ {
+2
View File
@@ -16,6 +16,8 @@
#include <cfloat> #include <cfloat>
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
static char const dimension_names[4]= "XYZ"; static char const dimension_names[4]= "XYZ";
+2
View File
@@ -7,6 +7,8 @@
#include "PlayerState.h" #include "PlayerState.h"
#include <cmath> #include <cmath>
#include <vector>
void Attack::GetAttackBeats( const Song *pSong, float &fStartBeat, float &fEndBeat ) const void Attack::GetAttackBeats( const Song *pSong, float &fStartBeat, float &fEndBeat ) const
{ {
+4
View File
@@ -5,6 +5,10 @@
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include <vector>
class Song; class Song;
class PlayerState; class PlayerState;
/** @brief An action made against a Player to make things more difficult. */ /** @brief An action made against a Player to make things more difficult. */
+2
View File
@@ -31,6 +31,8 @@
#include "RageLog.h" #include "RageLog.h"
#include "RageSoundReader_FileReader.h" #include "RageSoundReader_FileReader.h"
#include <vector>
void AutoKeysounds::Load( PlayerNumber pn, const NoteData& ndAutoKeysoundsOnly ) void AutoKeysounds::Load( PlayerNumber pn, const NoteData& ndAutoKeysoundsOnly )
{ {
+3
View File
@@ -5,6 +5,9 @@
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include "RageSound.h" #include "RageSound.h"
#include <vector>
class RageSoundReader; class RageSoundReader;
class RageSoundReader_Chain; class RageSoundReader_Chain;
class Song; class Song;
+3
View File
@@ -8,6 +8,9 @@
#include "LuaManager.h" #include "LuaManager.h"
#include "PrefsManager.h" #include "PrefsManager.h"
#include <vector>
REGISTER_ACTOR_CLASS(BGAnimation); REGISTER_ACTOR_CLASS(BGAnimation);
BGAnimation::BGAnimation() BGAnimation::BGAnimation()
+3
View File
@@ -3,7 +3,10 @@
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "ActorFrame.h" #include "ActorFrame.h"
#include <map> #include <map>
#include <vector>
class XNode; class XNode;
+3 -1
View File
@@ -12,7 +12,9 @@
#include "Steps.h" #include "Steps.h"
#include <cmath> #include <cmath>
#include <limits.h> #include <climits>
#include <vector>
REGISTER_ACTOR_CLASS( BPMDisplay ); REGISTER_ACTOR_CLASS( BPMDisplay );
+4
View File
@@ -5,6 +5,10 @@
#include "AutoActor.h" #include "AutoActor.h"
#include "ThemeMetric.h" #include "ThemeMetric.h"
#include "LocalizedString.h" #include "LocalizedString.h"
#include <vector>
class Song; class Song;
class Steps; class Steps;
class Course; class Course;
+2
View File
@@ -24,6 +24,8 @@
#include "AutoActor.h" #include "AutoActor.h"
#include <cfloat> #include <cfloat>
#include <vector>
static ThemeMetric<float> LEFT_EDGE ("Background","LeftEdge"); static ThemeMetric<float> LEFT_EDGE ("Background","LeftEdge");
static ThemeMetric<float> TOP_EDGE ("Background","TopEdge"); static ThemeMetric<float> TOP_EDGE ("Background","TopEdge");
+3
View File
@@ -6,6 +6,9 @@
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include "BackgroundUtil.h" #include "BackgroundUtil.h"
#include <vector>
class DancingCharacters; class DancingCharacters;
class Song; class Song;
class BackgroundImpl; class BackgroundImpl;
+3 -1
View File
@@ -5,11 +5,13 @@
#include "IniFile.h" #include "IniFile.h"
#include "RageLog.h" #include "RageLog.h"
#include <set>
#include "Background.h" #include "Background.h"
#include "RageFileManager.h" #include "RageFileManager.h"
#include "ActorUtil.h" #include "ActorUtil.h"
#include <set>
#include <vector>
bool BackgroundDef::operator<( const BackgroundDef &other ) const bool BackgroundDef::operator<( const BackgroundDef &other ) const
{ {
+3
View File
@@ -1,6 +1,9 @@
#ifndef BackgroundUtil_H #ifndef BackgroundUtil_H
#define BackgroundUtil_H #define BackgroundUtil_H
#include <vector>
class Song; class Song;
class XNode; class XNode;
+1
View File
@@ -12,6 +12,7 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
REGISTER_ACTOR_CLASS( BitmapText ); REGISTER_ACTOR_CLASS( BitmapText );
+2
View File
@@ -5,6 +5,8 @@
#include <cstddef> #include <cstddef>
#include <map> #include <map>
#include <vector>
class RageTexture; class RageTexture;
class Font; class Font;
+3
View File
@@ -5,6 +5,9 @@
#include "RageTextureID.h" #include "RageTextureID.h"
#include "ActorUtil.h" #include "ActorUtil.h"
#include <vector>
RString GetRandomFileInDir( RString sDir ); RString GetRandomFileInDir( RString sDir );
Character::Character(): m_sCharDir(""), m_sCharacterID(""), Character::Character(): m_sCharDir(""), m_sCharacterID(""),
+3
View File
@@ -5,6 +5,9 @@
#include "LuaManager.h" #include "LuaManager.h"
#include <vector>
#define CHARACTERS_DIR "/Characters/" #define CHARACTERS_DIR "/Characters/"
CharacterManager* CHARMAN = nullptr; // global object accessible from anywhere in the program CharacterManager* CHARMAN = nullptr; // global object accessible from anywhere in the program
+3
View File
@@ -1,6 +1,9 @@
#ifndef CHARACTER_MANAGER_H #ifndef CHARACTER_MANAGER_H
#define CHARACTER_MANAGER_H #define CHARACTER_MANAGER_H
#include <vector>
class Character; class Character;
struct lua_State; struct lua_State;
+1
View File
@@ -11,6 +11,7 @@
#include "InputEventPlus.h" #include "InputEventPlus.h"
#include "OptionRowHandler.h" #include "OptionRowHandler.h"
const char *CodeNames[] = { const char *CodeNames[] = {
"PrevSteps1", "PrevSteps1",
"PrevSteps2", "PrevSteps2",
+3
View File
@@ -4,6 +4,9 @@
#include "InputEventPlus.h" #include "InputEventPlus.h"
#include "MessageManager.h" #include "MessageManager.h"
#include <vector>
#define CODE_NAMES THEME->GetMetric (sType,"CodeNames") #define CODE_NAMES THEME->GetMetric (sType,"CodeNames")
#define CODE( s ) THEME->GetMetric (sType,ssprintf("Code%s",s.c_str())) #define CODE( s ) THEME->GetMetric (sType,ssprintf("Code%s",s.c_str()))
void InputQueueCodeSet::Load( const RString &sType ) void InputQueueCodeSet::Load( const RString &sType )
+3
View File
@@ -3,6 +3,9 @@
#include "InputQueue.h" #include "InputQueue.h"
#include <vector>
struct Message; struct Message;
class InputQueueCodeSet class InputQueueCodeSet
{ {
+2
View File
@@ -6,6 +6,8 @@
#include <cstddef> #include <cstddef>
#include <numeric> #include <numeric>
#include <vector>
RString Command::GetName() const RString Command::GetName() const
{ {
+3
View File
@@ -3,6 +3,9 @@
#ifndef Commands_H #ifndef Commands_H
#define Commands_H #define Commands_H
#include <vector>
class Command class Command
{ {
public: public:
+2
View File
@@ -18,6 +18,8 @@
#include "ScreenInstallOverlay.h" #include "ScreenInstallOverlay.h"
#include "ver.h" #include "ver.h"
#include <vector>
// only used for Version() // only used for Version()
#if defined(_WINDOWS) #if defined(_WINDOWS)
#include <windows.h> #include <windows.h>
+3
View File
@@ -1,6 +1,9 @@
#ifndef CommandLineActions_H #ifndef CommandLineActions_H
#define CommandLineActions_H #define CommandLineActions_H
#include <vector>
class LoadingWindow; class LoadingWindow;
/** @brief The collection of command line actions. */ /** @brief The collection of command line actions. */
+3
View File
@@ -8,6 +8,9 @@
#include "ProductInfo.h" #include "ProductInfo.h"
#include "LuaManager.h" #include "LuaManager.h"
#include <vector>
ThemeMetric<RString> CommonMetrics::OPERATOR_MENU_SCREEN ("Common","OperatorMenuScreen"); ThemeMetric<RString> CommonMetrics::OPERATOR_MENU_SCREEN ("Common","OperatorMenuScreen");
ThemeMetric<RString> CommonMetrics::FIRST_ATTRACT_SCREEN ("Common","FirstAttractScreen"); ThemeMetric<RString> CommonMetrics::FIRST_ATTRACT_SCREEN ("Common","FirstAttractScreen");
ThemeMetric<RString> CommonMetrics::DEFAULT_MODIFIERS ("Common","DefaultModifiers" ); ThemeMetric<RString> CommonMetrics::DEFAULT_MODIFIERS ("Common","DefaultModifiers" );
+3
View File
@@ -7,6 +7,9 @@
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "LocalizedString.h" #include "LocalizedString.h"
#include <vector>
// Types // Types
class ThemeMetricDifficultiesToShow : public ThemeMetric<RString> class ThemeMetricDifficultiesToShow : public ThemeMetric<RString>
{ {
+3 -1
View File
@@ -19,7 +19,9 @@
#include "Style.h" #include "Style.h"
#include <cstddef> #include <cstddef>
#include <limits.h> #include <climits>
#include <vector>
static Preference<int> MAX_SONGS_IN_EDIT_COURSE( "MaxSongsInEditCourse", -1 ); static Preference<int> MAX_SONGS_IN_EDIT_COURSE( "MaxSongsInEditCourse", -1 );
+3
View File
@@ -8,8 +8,11 @@
#include "RageTypes.h" #include "RageTypes.h"
#include "SongUtil.h" #include "SongUtil.h"
#include "StepsUtil.h" #include "StepsUtil.h"
#include <map> #include <map>
#include <set> #include <set>
#include <vector>
struct lua_State; struct lua_State;
class Style; class Style;
+4
View File
@@ -2,6 +2,10 @@
#define COURSE_CONTENTS_LIST_H #define COURSE_CONTENTS_LIST_H
#include "ActorScroller.h" #include "ActorScroller.h"
#include <vector>
class CourseEntryDisplay; class CourseEntryDisplay;
/** @brief Holds course name and banner. */ /** @brief Holds course name and banner. */
class CourseContentsList : public ActorScroller class CourseContentsList : public ActorScroller
+2
View File
@@ -16,6 +16,8 @@
#include "CourseUtil.h" #include "CourseUtil.h"
#include <cfloat> #include <cfloat>
#include <vector>
/** @brief Edit courses can only be so big before they are rejected. */ /** @brief Edit courses can only be so big before they are rejected. */
const int MAX_EDIT_COURSE_SIZE_BYTES = 32*1024; // 32KB const int MAX_EDIT_COURSE_SIZE_BYTES = 32*1024; // 32KB
+3
View File
@@ -16,6 +16,9 @@
#include "RageFileManager.h" #include "RageFileManager.h"
#include "CourseWriterCRS.h" #include "CourseWriterCRS.h"
#include <vector>
// Sorting stuff // Sorting stuff
static bool CompareCoursePointersByName( const Course* pCourse1, const Course* pCourse2 ) static bool CompareCoursePointersByName( const Course* pCourse1, const Course* pCourse2 )
{ {
+3
View File
@@ -4,6 +4,9 @@
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "Difficulty.h" #include "Difficulty.h"
#include <vector>
class Course; class Course;
class Profile; class Profile;
class XNode; class XNode;
+3
View File
@@ -7,6 +7,9 @@
#include "Song.h" #include "Song.h"
#include "RageFileDriverMemory.h" #include "RageFileDriverMemory.h"
#include <vector>
/** @brief Load the difficulty names from CourseLoaderCRS. */ /** @brief Load the difficulty names from CourseLoaderCRS. */
extern const char *g_CRSDifficultyNames[]; // in CourseLoaderCRS extern const char *g_CRSDifficultyNames[]; // in CourseLoaderCRS
+2
View File
@@ -17,6 +17,8 @@
#include "LuaManager.h" #include "LuaManager.h"
#include <cstdint> #include <cstdint>
#include <vector>
CryptManager* CRYPTMAN = nullptr; // global and accessible from anywhere in our program CryptManager* CRYPTMAN = nullptr; // global and accessible from anywhere in our program
+3
View File
@@ -4,6 +4,9 @@
#include "RageFile.h" #include "RageFile.h"
#include "RageLog.h" #include "RageLog.h"
#include <vector>
CsvFile::CsvFile() CsvFile::CsvFile()
{ {
} }
+3
View File
@@ -3,6 +3,9 @@
#ifndef CsvFile_H #ifndef CsvFile_H
#define CsvFile_H #define CsvFile_H
#include <vector>
class RageFileBasic; class RageFileBasic;
class CsvFile class CsvFile
+2
View File
@@ -5,6 +5,8 @@
#include <cstddef> #include <cstddef>
#include <list> #include <list>
#include <vector>
// Spline solving optimization: // Spline solving optimization:
// The tridiagonal part of the system of equations for a spline of size n is // The tridiagonal part of the system of equations for a spline of size n is
+3
View File
@@ -9,6 +9,9 @@
#include "Steps.h" #include "Steps.h"
#include "Trail.h" #include "Trail.h"
#include <vector>
static const char *DifficultyNames[] = { static const char *DifficultyNames[] = {
"Beginner", "Beginner",
"Easy", "Easy",
+2
View File
@@ -11,6 +11,8 @@
#include "XmlFile.h" #include "XmlFile.h"
#include <cstddef> #include <cstddef>
#include <vector>
/** @brief Specifies the max number of charts available for a song. /** @brief Specifies the max number of charts available for a song.
* *
+3
View File
@@ -7,6 +7,9 @@
#include "StepsDisplay.h" #include "StepsDisplay.h"
#include "ThemeMetric.h" #include "ThemeMetric.h"
#include <vector>
class Song; class Song;
class Steps; class Steps;
+3
View File
@@ -3,6 +3,9 @@
#include "LuaBinding.h" #include "LuaBinding.h"
#include "RageLog.h" #include "RageLog.h"
#include <vector>
class LunaDisplayMode: public Luna<DisplayMode> class LunaDisplayMode: public Luna<DisplayMode>
{ {
public: public:
+2
View File
@@ -14,6 +14,8 @@
#include "SongUtil.h" #include "SongUtil.h"
#include <cstddef> #include <cstddef>
#include <vector>
static const char *EditMenuRowNames[] = { static const char *EditMenuRowNames[] = {
"Group", "Group",
+3
View File
@@ -10,6 +10,9 @@
#include "EnumHelper.h" #include "EnumHelper.h"
#include "ThemeMetric.h" #include "ThemeMetric.h"
#include <vector>
/** @brief What type of row is needed for the EditMenu? */ /** @brief What type of row is needed for the EditMenu? */
enum EditMenuRow enum EditMenuRow
{ {
+2
View File
@@ -13,6 +13,8 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
FontPage::FontPage(): m_iHeight(0), m_iLineSpacing(0), m_fVshift(0), FontPage::FontPage(): m_iHeight(0), m_iLineSpacing(0), m_fVshift(0),
m_iDrawExtraPixelsLeft(0), m_iDrawExtraPixelsRight(0), m_iDrawExtraPixelsLeft(0), m_iDrawExtraPixelsRight(0),
+2
View File
@@ -9,6 +9,8 @@
#include <cstddef> #include <cstddef>
#include <map> #include <map>
#include <vector>
class FontPage; class FontPage;
class RageTexture; class RageTexture;
+3
View File
@@ -3,6 +3,9 @@
#include "ActorFrame.h" #include "ActorFrame.h"
#include <vector>
class Song; class Song;
/** @brief Foreground in front of notes while playing. */ /** @brief Foreground in front of notes while playing. */
class Foreground: public ActorFrame class Foreground: public ActorFrame
+2
View File
@@ -24,6 +24,8 @@
#include "ScreenPrompt.h" #include "ScreenPrompt.h"
#include <cstddef> #include <cstddef>
#include <vector>
static LocalizedString COULD_NOT_LAUNCH_BROWSER( "GameCommand", "Could not launch web browser." ); static LocalizedString COULD_NOT_LAUNCH_BROWSER( "GameCommand", "Could not launch web browser." );
+3
View File
@@ -8,7 +8,10 @@
#include "Difficulty.h" #include "Difficulty.h"
#include "LuaReference.h" #include "LuaReference.h"
#include "Command.h" #include "Command.h"
#include <map> #include <map>
#include <vector>
class Song; class Song;
class Steps; class Steps;
+2
View File
@@ -12,6 +12,8 @@
#include <cfloat> #include <cfloat>
#include <cmath> #include <cmath>
#include <vector>
RString StepsTypeToString( StepsType st ); RString StepsTypeToString( StepsType st );
+2
View File
@@ -6,6 +6,8 @@
#include "EnumHelper.h" #include "EnumHelper.h"
#include <cfloat> #include <cfloat>
#include <vector>
// Note definitions // Note definitions
/** @brief Define the mininum difficulty value allowed. */ /** @brief Define the mininum difficulty value allowed. */
+2
View File
@@ -22,6 +22,8 @@
#include "RageInput.h" #include "RageInput.h"
#include <cmath> #include <cmath>
#include <vector>
static RageTimer g_GameplayTimer; static RageTimer g_GameplayTimer;
+2
View File
@@ -15,6 +15,8 @@
#include "Style.h" #include "Style.h"
#include <cstddef> #include <cstddef>
#include <vector>
GameManager* GAMEMAN = nullptr; // global and accessable from anywhere in our program GameManager* GAMEMAN = nullptr; // global and accessable from anywhere in our program
+3
View File
@@ -10,6 +10,9 @@ struct lua_State;
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "GameInput.h" #include "GameInput.h"
#include <vector>
/** @brief The collective information about a Steps' Type. */ /** @brief The collective information about a Steps' Type. */
struct StepsTypeInfo struct StepsTypeInfo
{ {
+2
View File
@@ -22,6 +22,8 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
GameSoundManager *SOUND = nullptr; GameSoundManager *SOUND = nullptr;
+2
View File
@@ -46,6 +46,8 @@
#include <cstddef> #include <cstddef>
#include <ctime> #include <ctime>
#include <set> #include <set>
#include <vector>
GameState* GAMESTATE = nullptr; // global and accessible from anywhere in our program GameState* GAMESTATE = nullptr; // global and accessible from anywhere in our program
+2
View File
@@ -17,6 +17,8 @@
#include <deque> #include <deque>
#include <map> #include <map>
#include <set> #include <set>
#include <vector>
class Character; class Character;
class Course; class Course;
+2
View File
@@ -11,6 +11,8 @@
#include "ActorUtil.h" #include "ActorUtil.h"
#include <cstddef> #include <cstddef>
#include <vector>
void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset ) void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset )
{ {
+3
View File
@@ -6,6 +6,9 @@
#include "NoteTypes.h" #include "NoteTypes.h"
#include "NoteDisplay.h" #include "NoteDisplay.h"
#include <vector>
class PlayerState; class PlayerState;
/** @brief Row of GhostArrow Actors. */ /** @brief Row of GhostArrow Actors. */
class GhostArrowRow : public ActorFrame class GhostArrowRow : public ActorFrame
+4
View File
@@ -5,6 +5,10 @@
#include "Grade.h" #include "Grade.h"
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include "AutoActor.h" #include "AutoActor.h"
#include <vector>
struct lua_State; struct lua_State;
/** @brief Grade shown on ScreenEvaluation. */ /** @brief Grade shown on ScreenEvaluation. */
class GradeDisplay : public ActorFrame class GradeDisplay : public ActorFrame
+2
View File
@@ -12,6 +12,8 @@
#include "XmlFile.h" #include "XmlFile.h"
#include <cmath> #include <cmath>
#include <vector>
//#define DIVIDE_LINE_WIDTH THEME->GetMetricI(m_sName,"TexturedBottomHalf") //#define DIVIDE_LINE_WIDTH THEME->GetMetricI(m_sName,"TexturedBottomHalf")
REGISTER_ACTOR_CLASS( GraphDisplay ); REGISTER_ACTOR_CLASS( GraphDisplay );
+3
View File
@@ -4,6 +4,9 @@
#include "ActorFrame.h" #include "ActorFrame.h"
#include "AutoActor.h" #include "AutoActor.h"
#include <vector>
class StageStats; class StageStats;
class PlayerStageStats; class PlayerStageStats;
class GraphLine; class GraphLine;
+3
View File
@@ -13,6 +13,9 @@
// I feel weird about this coupling, but it has to be done. -aj // I feel weird about this coupling, but it has to be done. -aj
#include "GameState.h" #include "GameState.h"
#include <vector>
REGISTER_ACTOR_CLASS(GrooveRadar); REGISTER_ACTOR_CLASS(GrooveRadar);
static const ThemeMetric<float> RADAR_EDGE_WIDTH ("GrooveRadar","EdgeWidth"); static const ThemeMetric<float> RADAR_EDGE_WIDTH ("GrooveRadar","EdgeWidth");
+4
View File
@@ -6,6 +6,10 @@
#include "AutoActor.h" #include "AutoActor.h"
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include <vector>
class Steps; class Steps;
struct RadarValues; struct RadarValues;
/** @brief The song's GrooveRadar displayed in SelectMusic. */ /** @brief The song's GrooveRadar displayed in SelectMusic. */
+3
View File
@@ -5,6 +5,9 @@
#include "ThemeManager.h" #include "ThemeManager.h"
#include "ActorUtil.h" #include "ActorUtil.h"
#include <vector>
REGISTER_ACTOR_CLASS( HelpDisplay ); REGISTER_ACTOR_CLASS( HelpDisplay );
HelpDisplay::HelpDisplay() HelpDisplay::HelpDisplay()
+3
View File
@@ -3,6 +3,9 @@
#include "BitmapText.h" #include "BitmapText.h"
#include <vector>
struct lua_State; struct lua_State;
/** @brief A BitmapText that cycles through messages. */ /** @brief A BitmapText that cycles through messages. */
class HelpDisplay : public BitmapText class HelpDisplay : public BitmapText
+2
View File
@@ -9,6 +9,8 @@
#include <algorithm> #include <algorithm>
#include <cstddef> #include <cstddef>
#include <vector>
ThemeMetric<RString> EMPTY_NAME("HighScore","EmptyName"); ThemeMetric<RString> EMPTY_NAME("HighScore","EmptyName");
+3
View File
@@ -6,6 +6,9 @@
#include "DateTime.h" #include "DateTime.h"
#include "RageUtil_AutoPtr.h" #include "RageUtil_AutoPtr.h"
#include <vector>
class XNode; class XNode;
struct RadarValues; struct RadarValues;
struct lua_State; struct lua_State;
+2
View File
@@ -13,6 +13,8 @@
#include "ScreenDimensions.h" #include "ScreenDimensions.h"
#include <set> #include <set>
#include <vector>
static const char *InputEventTypeNames[] = { static const char *InputEventTypeNames[] = {
"FirstPress", "FirstPress",
+3
View File
@@ -5,6 +5,9 @@
#include "RageInputDevice.h" #include "RageInputDevice.h"
#include <vector>
enum InputEventType enum InputEventType
{ {
// The device was just pressed. // The device was just pressed.
+2
View File
@@ -12,6 +12,8 @@
#include "arch/Dialog/Dialog.h" #include "arch/Dialog/Dialog.h"
#include <cstddef> #include <cstddef>
#include <vector>
#define AUTOMAPPINGS_DIR "/Data/AutoMappings/" #define AUTOMAPPINGS_DIR "/Data/AutoMappings/"
+4
View File
@@ -4,6 +4,10 @@
#include "RageInputDevice.h" #include "RageInputDevice.h"
#include "GameInput.h" #include "GameInput.h"
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include <vector>
struct Game; struct Game;
const int NUM_GAME_TO_DEVICE_SLOTS = 5; // five device inputs may map to one game input const int NUM_GAME_TO_DEVICE_SLOTS = 5; // five device inputs may map to one game input
+3
View File
@@ -5,6 +5,9 @@
#include "InputEventPlus.h" #include "InputEventPlus.h"
#include "InputMapper.h" #include "InputMapper.h"
#include <vector>
InputQueue* INPUTQUEUE = nullptr; // global and accessible from anywhere in our program InputQueue* INPUTQUEUE = nullptr; // global and accessible from anywhere in our program
const unsigned MAX_INPUT_QUEUE_LENGTH = 32; const unsigned MAX_INPUT_QUEUE_LENGTH = 32;
+3
View File
@@ -4,6 +4,9 @@
#include "GameInput.h" #include "GameInput.h"
#include "InputFilter.h" #include "InputFilter.h"
#include <vector>
class InputEventPlus; class InputEventPlus;
class RageTimer; class RageTimer;
+3
View File
@@ -11,6 +11,9 @@
#include "ThemeMetric.h" #include "ThemeMetric.h"
#include "PlayerState.h" #include "PlayerState.h"
#include <vector>
void ReloadItems(); void ReloadItems();
#define NUM_ITEM_TYPES THEME->GetMetricF("Inventory","NumItemTypes") #define NUM_ITEM_TYPES THEME->GetMetricF("Inventory","NumItemTypes")
+3
View File
@@ -6,6 +6,9 @@
#include "RageSound.h" #include "RageSound.h"
#include "ScreenMessage.h" #include "ScreenMessage.h"
#include <vector>
AutoScreenMessage( SM_BattleDamageLevel1 ); AutoScreenMessage( SM_BattleDamageLevel1 );
AutoScreenMessage( SM_BattleDamageLevel2 ); AutoScreenMessage( SM_BattleDamageLevel2 );
AutoScreenMessage( SM_BattleDamageLevel3 ); AutoScreenMessage( SM_BattleDamageLevel3 );
+3
View File
@@ -6,6 +6,9 @@
#include "arch/Dialog/Dialog.h" #include "arch/Dialog/Dialog.h"
#include "json/json.h" #include "json/json.h"
#include <vector>
bool JsonUtil::LoadFromString(Json::Value &root, RString sData, RString &sErrorOut) bool JsonUtil::LoadFromString(Json::Value &root, RString sData, RString &sErrorOut)
{ {
Json::Reader reader; Json::Reader reader;
+3
View File
@@ -5,6 +5,9 @@
class RageFileBasic; class RageFileBasic;
#include "json/json.h" #include "json/json.h"
#include <vector>
namespace JsonUtil namespace JsonUtil
{ {
bool LoadFromString( Json::Value &root, RString sData, RString &sErrorOut ); bool LoadFromString( Json::Value &root, RString sData, RString &sErrorOut );
+2
View File
@@ -16,6 +16,8 @@
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <vector>
const RString DEFAULT_LIGHTS_DRIVER = "SystemMessage,Export"; const RString DEFAULT_LIGHTS_DRIVER = "SystemMessage,Export";
static Preference<RString> g_sLightsDriver( "LightsDriver", "" ); // "" == DEFAULT_LIGHTS_DRIVER static Preference<RString> g_sLightsDriver( "LightsDriver", "" ); // "" == DEFAULT_LIGHTS_DRIVER
+3
View File
@@ -7,6 +7,9 @@
#include "Preference.h" #include "Preference.h"
#include "RageTimer.h" #include "RageTimer.h"
#include <vector>
extern Preference<float> g_fLightsFalloffSeconds; extern Preference<float> g_fLightsFalloffSeconds;
extern Preference<float> g_fLightsAheadSeconds; extern Preference<float> g_fLightsAheadSeconds;
+4
View File
@@ -4,6 +4,10 @@
#define LuaBinding_H #define LuaBinding_H
#include "LuaManager.h" #include "LuaManager.h"
#include <vector>
class LuaReference; class LuaReference;
class LuaBinding class LuaBinding
+1
View File
@@ -20,6 +20,7 @@
#include <cstdint> #include <cstdint>
#include <map> #include <map>
#include <sstream> // conversion for lua functions. #include <sstream> // conversion for lua functions.
#include <vector>
LuaManager *LUA = nullptr; LuaManager *LUA = nullptr;
struct Impl struct Impl
+3
View File
@@ -22,6 +22,9 @@ extern "C"
// For Dialog::Result // For Dialog::Result
#include "arch/Dialog/Dialog.h" #include "arch/Dialog/Dialog.h"
#include <vector>
class LuaManager class LuaManager
{ {
public: public:
+2
View File
@@ -7,6 +7,8 @@
#include "Song.h" #include "Song.h"
#include <map> #include <map>
#include <vector>
// TODO: Use a marker for default color instead of a specific color that may // TODO: Use a marker for default color instead of a specific color that may
// accidentally get written back into a lyrics file. // accidentally get written back into a lyrics file.
+2
View File
@@ -13,6 +13,8 @@
#include "LuaManager.h" #include "LuaManager.h"
#include <cstddef> #include <cstddef>
#include <vector>
MemoryCardManager* MEMCARDMAN = nullptr; // global and accessible from anywhere in our program MemoryCardManager* MEMCARDMAN = nullptr; // global and accessible from anywhere in our program

Some files were not shown because too many files have changed in this diff Show More