data/ => Data/, case matters in linux
This commit is contained in:
@@ -70,7 +70,7 @@ void InputMapper::ReadMappingsFromDisk()
|
||||
ClearAllMappings();
|
||||
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/Keymaps.ini" );
|
||||
ini.SetPath( "Data/Keymaps.ini" );
|
||||
if( !ini.ReadFile() )
|
||||
LOG->Warn( "could not input mapping file \"Keymaps.ini\"." );
|
||||
|
||||
@@ -107,7 +107,7 @@ void InputMapper::ReadMappingsFromDisk()
|
||||
void InputMapper::SaveMappingsToDisk()
|
||||
{
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/Keymaps.ini" );
|
||||
ini.SetPath( "Data/Keymaps.ini" );
|
||||
ini.ReadFile();
|
||||
|
||||
// erase the key so that we overwrite everything for this game
|
||||
|
||||
@@ -125,7 +125,7 @@ PrefsManager::~PrefsManager()
|
||||
void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
|
||||
{
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/StepMania.ini" );
|
||||
ini.SetPath( "Data/StepMania.ini" );
|
||||
if( !ini.ReadFile() )
|
||||
return; // could not read config file, load nothing
|
||||
|
||||
@@ -210,7 +210,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
|
||||
void PrefsManager::SaveGlobalPrefsToDisk()
|
||||
{
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/StepMania.ini" );
|
||||
ini.SetPath( "Data/StepMania.ini" );
|
||||
|
||||
ini.SetValueB( "Options", "Windowed", m_bWindowed );
|
||||
ini.SetValueI( "Options", "DisplayWidth", m_iDisplayWidth );
|
||||
@@ -298,7 +298,7 @@ void PrefsManager::ReadGamePrefsFromDisk()
|
||||
|
||||
CString sGameName = GAMESTATE->GetCurrentGameDef()->m_szName;
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/GamePrefs.ini" );
|
||||
ini.SetPath( "Data/GamePrefs.ini" );
|
||||
ini.ReadFile(); // it's OK if this fails
|
||||
|
||||
CString sAnnouncer = sGameName, sTheme = sGameName, sNoteSkin = sGameName;
|
||||
@@ -327,7 +327,7 @@ void PrefsManager::SaveGamePrefsToDisk()
|
||||
|
||||
CString sGameName = GAMESTATE->GetCurrentGameDef()->m_szName;
|
||||
IniFile ini;
|
||||
ini.SetPath( "data/GamePrefs.ini" );
|
||||
ini.SetPath( "Data/GamePrefs.ini" );
|
||||
ini.ReadFile(); // it's OK if this fails
|
||||
|
||||
ini.SetValue( sGameName, "Announcer", ANNOUNCER->GetCurAnnouncerName() );
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
SongManager* SONGMAN = NULL; // global and accessable from anywhere in our program
|
||||
|
||||
|
||||
const CString CATEGORY_RANKING_FILE = "data/CategoryRanking.dat";
|
||||
const CString COURSE_RANKING_FILE = "data/CourseRanking.dat";
|
||||
const CString NOTES_SCORES_FILE[NUM_MEMORY_CARDS] = { "data/Player1NotesScores.dat", "data/Player2NotesScores.dat", "data/MachineNotesScores.dat" };
|
||||
const CString COURSE_SCORES_FILE[NUM_MEMORY_CARDS] = { "data/Player1CourseScores.dat", "data/Player2CourseScores.dat", "data/MachineCourseScores.dat" };
|
||||
const CString CATEGORY_RANKING_FILE = "Data/CategoryRanking.dat";
|
||||
const CString COURSE_RANKING_FILE = "Data/CourseRanking.dat";
|
||||
const CString NOTES_SCORES_FILE[NUM_MEMORY_CARDS] = { "Data/Player1NotesScores.dat", "Data/Player2NotesScores.dat", "Data/MachineNotesScores.dat" };
|
||||
const CString COURSE_SCORES_FILE[NUM_MEMORY_CARDS] = { "Data/Player1CourseScores.dat", "Data/Player2CourseScores.dat", "Data/MachineCourseScores.dat" };
|
||||
const int CATEGORY_RANKING_VERSION = 1;
|
||||
const int COURSE_RANKING_VERSION = 1;
|
||||
const int NOTES_SCORES_VERSION = 2;
|
||||
|
||||
Reference in New Issue
Block a user