Add the note skin pref back in, to change the default skin persistently.

Disable the EX pref; wait to add this until the screen is ready (though it
might be better to just make it a metric).
This commit is contained in:
Glenn Maynard
2003-02-22 00:12:45 +00:00
parent b323f2065c
commit 56559fb29d
4 changed files with 54 additions and 9 deletions
+6 -1
View File
@@ -21,6 +21,7 @@
#include "ThemeManager.h"
#include "RageUtil.h"
#include "SongManager.h"
#include "NoteSkinManager.h"
GameState* GAMESTATE = NULL; // global and accessable from anywhere in our program
@@ -44,7 +45,9 @@ GameState::GameState()
{
m_CurGame = GAME_DANCE;
m_iCoins = 0;
Reset();
/* Don't reset yet; let the first screen do it, so we can
* use PREFSMAN. */
// Reset();
ResetLastRanking();
}
@@ -87,6 +90,8 @@ void GameState::Reset()
for( p=0; p<NUM_PLAYERS; p++ )
m_PlayerOptions[p] = PlayerOptions();
m_SongOptions = SongOptions();
for( p=0; p<NUM_PLAYERS; p++ )
NOTESKIN->SwitchNoteSkin( PlayerNumber(p), PREFSMAN->m_sDefaultNoteSkin );
}
void GameState::ResetLastRanking()