Added custom MusicWheel items.
[ScreenSelectMusic] Add GetMusicWheel Lua binding.
This commit is contained in:
@@ -29,6 +29,7 @@ static const char *MusicWheelItemTypeNames[] = {
|
||||
"Mode",
|
||||
"Random",
|
||||
"Portal",
|
||||
"Custom",
|
||||
};
|
||||
XToString( MusicWheelItemType );
|
||||
|
||||
@@ -256,6 +257,10 @@ void MusicWheelItem::LoadFromWheelItemData( const WheelItemBaseData *pData, int
|
||||
sDisplayName = THEME->GetString("MusicWheel","Portal");
|
||||
type = MusicWheelItemType_Portal;
|
||||
break;
|
||||
case TYPE_CUSTOM:
|
||||
sDisplayName = pWID->m_sLabel;
|
||||
type = MusicWheelItemType_Custom;
|
||||
break;
|
||||
}
|
||||
|
||||
m_sprColorPart[type]->SetVisible( true );
|
||||
|
||||
Reference in New Issue
Block a user