runs on Xbox

This commit is contained in:
Chris Danford
2003-07-22 07:47:27 +00:00
parent 20b4af87b1
commit 278cb4c3f1
53 changed files with 631 additions and 318 deletions
+6 -3
View File
@@ -1,10 +1,13 @@
#include "global.h"
#include "TitleSubstitution.h"
#include "arch/arch.h"
#include "RageUtil.h"
#include "FontCharAliases.h"
#include <fstream>
#include "RageFile.h"
#define TRANSLATION_PATH BASE_PATH "Data" SLASH "Translation.dat"
struct TitleTrans
{
@@ -92,12 +95,12 @@ void TitleSubst::Subst(CString &title, CString &subtitle, CString &artist,
TitleSubst::TitleSubst(const CString &section)
{
Load("data/Translation.dat", section);
Load( TRANSLATION_PATH, section);
}
void TitleSubst::Load(const CString &filename, const CString &section)
{
ifstream f;
Rageifstream f;
f.open(filename);
if(!f.good()) return;