break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff

This commit is contained in:
Chris Danford
2005-12-16 04:16:09 +00:00
parent ddce0cc239
commit 353e0c5b6e
55 changed files with 647 additions and 327 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
#include "RageFile.h"
#include "Foreach.h"
#include "XmlFile.h"
#include "XmlFileUtil.h"
static const CString TRANSLATIONS_PATH = "Data/Translations.xml";
static const CString ERASE_MARKER = "-erase-";
@@ -137,7 +138,7 @@ TitleSubst::TitleSubst(const CString &section)
void TitleSubst::Load(const CString &filename, const CString &section)
{
XNode xml;
if( !xml.LoadFromFile(filename) )
if( !XmlFileUtil::LoadFromFileShowErrors(xml,filename) )
{
// LoadFromFile will show its own error
//LOG->Trace("Error opening %s: %s", filename.c_str(), f.GetError().c_str() );