From 7b28e739303c726f11c4d6a672043a9d392876fa Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 22 May 2004 01:35:08 +0000 Subject: [PATCH] reduce XmlFile dependencies --- stepmania/src/HighScore.cpp | 1 + stepmania/src/HighScore.h | 2 +- stepmania/src/Profile.cpp | 1 + stepmania/src/Profile.h | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/src/HighScore.cpp b/stepmania/src/HighScore.cpp index 594ed73788..e12c84b96d 100644 --- a/stepmania/src/HighScore.cpp +++ b/stepmania/src/HighScore.cpp @@ -14,6 +14,7 @@ #include "PrefsManager.h" #include "GameConstantsAndTypes.h" #include "ThemeManager.h" +#include "XmlFile.h" #define EMPTY_NAME THEME->GetMetric ("HighScore","EmptyName") diff --git a/stepmania/src/HighScore.h b/stepmania/src/HighScore.h index f33fccad0b..4cdac1e00e 100644 --- a/stepmania/src/HighScore.h +++ b/stepmania/src/HighScore.h @@ -13,8 +13,8 @@ */ #include "Grade.h" -#include "XmlFile.h" +struct XNode; struct HighScore { CString sName; // name that shows in the machine's ranking screen diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index fab323014c..0176e1954e 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -32,6 +32,7 @@ #include "crypto/CryptRand.h" #include "UnlockSystem.h" #include "CatalogXml.h" +#include "XmlFile.h" // // Old file versions for backward compatibility diff --git a/stepmania/src/Profile.h b/stepmania/src/Profile.h index 6549c73d1d..23dce760ec 100644 --- a/stepmania/src/Profile.h +++ b/stepmania/src/Profile.h @@ -17,13 +17,14 @@ #include "Grade.h" #include #include -#include "XmlFile.h" #include "HighScore.h" #include "TimeConstants.h" #include "SongUtil.h" // for SongID #include "StepsUtil.h" // for StepsID #include "CourseUtil.h" // for CourseID +struct XNode; + // // Current file versions //