From aad110f8e883d631559836a53154cce74859c769 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 22 Dec 2003 23:27:54 +0000 Subject: [PATCH] reduce dependency --- stepmania/src/ComboGraph.cpp | 1 + stepmania/src/ComboGraph.h | 2 +- stepmania/src/GraphDisplay.cpp | 1 + stepmania/src/GraphDisplay.h | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ComboGraph.cpp b/stepmania/src/ComboGraph.cpp index 8b7c14271a..0461577402 100644 --- a/stepmania/src/ComboGraph.cpp +++ b/stepmania/src/ComboGraph.cpp @@ -2,6 +2,7 @@ #include "ComboGraph.h" #include "ThemeManager.h" #include "RageLog.h" +#include "StageStats.h" const int MinComboSizeToShow = 5; diff --git a/stepmania/src/ComboGraph.h b/stepmania/src/ComboGraph.h index b23a1754d2..9daa3fdf2d 100644 --- a/stepmania/src/ComboGraph.h +++ b/stepmania/src/ComboGraph.h @@ -3,10 +3,10 @@ #include "ActorFrame.h" #include "PlayerNumber.h" -#include "StageStats.h" #include "Sprite.h" #include "BitmapText.h" +struct StageStats; class ComboGraph: public ActorFrame { public: diff --git a/stepmania/src/GraphDisplay.cpp b/stepmania/src/GraphDisplay.cpp index 2c3b743149..43f98bb047 100644 --- a/stepmania/src/GraphDisplay.cpp +++ b/stepmania/src/GraphDisplay.cpp @@ -4,6 +4,7 @@ #include "RageTextureManager.h" #include "RageDisplay.h" #include "RageUtil.h" +#include "StageStats.h" //#define DIVIDE_LINE_WIDTH THEME->GetMetricI(m_sName,"TexturedBottomHalf") diff --git a/stepmania/src/GraphDisplay.h b/stepmania/src/GraphDisplay.h index b378418175..51ac084e88 100644 --- a/stepmania/src/GraphDisplay.h +++ b/stepmania/src/GraphDisplay.h @@ -3,7 +3,6 @@ #include "ActorFrame.h" #include "PlayerNumber.h" -#include "StageStats.h" #include "RageTexture.h" class GraphDisplay: public ActorFrame