LoadFromNode(sDir, pNode) -> LoadFromNode(pNode)

This commit is contained in:
Glenn Maynard
2006-10-09 08:24:10 +00:00
parent f1ca420069
commit e11914d4bb
68 changed files with 132 additions and 132 deletions
+4 -4
View File
@@ -28,9 +28,9 @@ DifficultyList::~DifficultyList()
{
}
void DifficultyList::LoadFromNode( const RString& sDir, const XNode* pNode )
void DifficultyList::LoadFromNode( const XNode* pNode )
{
ActorFrame::LoadFromNode( sDir, pNode );
ActorFrame::LoadFromNode( pNode );
ITEMS_SPACING_Y.Load( m_sName, "ItemsSpacingY" );
NUM_SHOWN_ITEMS.Load( m_sName, "NumShownItems" );
@@ -45,7 +45,7 @@ void DifficultyList::LoadFromNode( const RString& sDir, const XNode* pNode )
const XNode *pChild = pNode->GetChild( ssprintf("CursorP%i",pn+1) );
if( pChild == NULL )
RageException::Throw( "%s: ComboGraph: missing the node \"CursorP%d\"", ActorUtil::GetWhere(pNode).c_str(), pn+1 );
m_Cursors[pn].LoadFromNode( sDir, pChild );
m_Cursors[pn].LoadFromNode( pChild );
/* Hack: we need to tween cursors both up to down (cursor motion) and visible to
* invisible (fading). Cursor motion needs to stoptweening, so multiple motions
@@ -56,7 +56,7 @@ void DifficultyList::LoadFromNode( const RString& sDir, const XNode* pNode )
pChild = pNode->GetChild( ssprintf("CursorP%iFrame",pn+1) );
if( pChild == NULL )
RageException::Throw( "%s: ComboGraph: missing the node \"CursorP%dFrame\"", ActorUtil::GetWhere(pNode).c_str(), pn+1 );
m_CursorFrames[pn].LoadFromNode( sDir, pChild );
m_CursorFrames[pn].LoadFromNode( pChild );
m_CursorFrames[pn].AddChild( m_Cursors[pn] );
this->AddChild( &m_CursorFrames[pn] );
}