diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt index c6e242c503..0fbb20f553 100644 --- a/Docs/Changelog_sm5.txt +++ b/Docs/Changelog_sm5.txt @@ -9,6 +9,11 @@ ________________________________________________________________________________ StepMania 5.0 alpha 2 | 201204?? -------------------------------------------------------------------------------- +2012/04/08 +---------- +* [ScreenNetworkOptions] Fixed a bug where localized text would not show up + properly. Fixes issue 759. [AJ] + 2012/04/06 ---------- * Modify Jousway's planned noteskin to allow it to work with Technomotion diff --git a/src/PlayerStageStats.cpp b/src/PlayerStageStats.cpp index 3730dfcf78..0de3f0560d 100644 --- a/src/PlayerStageStats.cpp +++ b/src/PlayerStageStats.cpp @@ -760,6 +760,12 @@ public: } return 0; } + + static int FailPlayer( T* p, lua_State *L ) + { + p->m_bFailed = true; + return 0; + } LunaPlayerStageStats() { @@ -801,6 +807,7 @@ public: ADD_METHOD( SetScore ); ADD_METHOD( GetCurMaxScore ); ADD_METHOD( SetCurMaxScore ); + ADD_METHOD( FailPlayer ); } }; diff --git a/src/ScreenNetworkOptions.cpp b/src/ScreenNetworkOptions.cpp index 0658a6a2ce..02d6cf4f8e 100644 --- a/src/ScreenNetworkOptions.cpp +++ b/src/ScreenNetworkOptions.cpp @@ -52,6 +52,7 @@ void ScreenNetworkOptions::Init() vHands.push_back( pHand ); pHand->m_Def.m_sName = "Connection"; pHand->m_Def.m_bOneChoiceForAllPlayers = true; + pHand->m_Def.m_bAllowThemeItems = false; if ( NSMAN->useSMserver ) pHand->m_Def.m_vsChoices.push_back(CLIENT_DISCONNECT); else @@ -63,6 +64,7 @@ void ScreenNetworkOptions::Init() pHand->m_Def.m_sName = "Scoreboard"; pHand->m_Def.m_vsChoices.clear(); pHand->m_Def.m_bOneChoiceForAllPlayers = true; + pHand->m_Def.m_bAllowThemeItems = false; pHand->m_Def.m_vsChoices.push_back(SCORE_OFF); pHand->m_Def.m_vsChoices.push_back(SCORE_ON); } diff --git a/src/arch/Sound/ALSA9Helpers.cpp b/src/arch/Sound/ALSA9Helpers.cpp index d2caa8ce99..caf02920a7 100644 --- a/src/arch/Sound/ALSA9Helpers.cpp +++ b/src/arch/Sound/ALSA9Helpers.cpp @@ -130,7 +130,7 @@ static RString DeviceName() { if( !PREFSMAN->m_iSoundDevice.Get().empty() ) return PREFSMAN->m_iSoundDevice; - return "hw:0"; + return "default"; } void Alsa9Buf::GetSoundCardDebugInfo()