working on profiles stored on machine (intermediate step toward memory card support)

This commit is contained in:
Chris Danford
2003-09-08 03:26:58 +00:00
parent a7e3700ab2
commit 3736845d3e
13 changed files with 287 additions and 4 deletions
+6 -2
View File
@@ -6,6 +6,7 @@
#include "GameState.h"
#include "RageDisplay.h"
#include "AnnouncerManager.h"
#include "ProfileManager.h"
#include "arch/ArchHooks/ArchHooks.h"
void ModeChoice::Init()
@@ -137,8 +138,11 @@ void ModeChoice::Apply( PlayerNumber pn )
if( sAnnouncer != "" )
ANNOUNCER->SwitchAnnouncer( sAnnouncer );
// HACK: Set life type to BATTERY just once here so we don't
// override the user's changes if they back out.
// HACK: Set life type to BATTERY just once here so it happens once and
// we don't override the user's changes if they back out.
if( GAMESTATE->m_PlayMode == PLAY_MODE_ONI )
GAMESTATE->m_SongOptions.m_LifeType = SongOptions::LIFE_BATTERY;
PROFILEMAN->TryLoadProfile( pn );
}