Subversion Repositories spk

Rev

Rev 210 | Rev 216 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 210 Rev 214
Line 582... Line 582...
582
				printf ( "Script Type: Patch Mod\n" );
582
				printf ( "Script Type: Patch Mod\n" );
583
			else if ( pSpkFile->IsCustomStart() )
583
			else if ( pSpkFile->IsCustomStart() )
584
				printf ( "Script Type: Custom Start\n" );
584
				printf ( "Script Type: Custom Start\n" );
585
			else if ( pSpkFile->IsPackageUpdate() )
585
			else if ( pSpkFile->IsPackageUpdate() )
586
				printf ( "Script Type: Package Update\n" );
586
				printf ( "Script Type: Package Update\n" );
587
			else if ( !pSpkFile->GetScriptTypeString(44).empty() )
587
			else if ( !pSpkFile->scriptTypeString(44).empty() )
588
				printf ( "Script Type: %s\n", pSpkFile->GetScriptTypeString(44).c_str() );
588
				wprintf(L"Script Type: %s\n", pSpkFile->scriptTypeString(44).c_str() );
589
 
589
 
590
			if ( !pSpkFile->GetWaresList()->empty() )
590
			if ( !pSpkFile->GetWaresList()->empty() )
591
			{
591
			{
592
				for ( CListNode<SWares> * wNode = pSpkFile->GetWaresList()->Front(); wNode; wNode = wNode->next() )
592
				for ( CListNode<SWares> * wNode = pSpkFile->GetWaresList()->Front(); wNode; wNode = wNode->next() )
593
				{
593
				{
Line 609... Line 609...
609
			for ( int i = 0; i < pBaseFile->getMaxWebMirrors(); i++ )
609
			for ( int i = 0; i < pBaseFile->getMaxWebMirrors(); i++ )
610
				wprintf(L"\t%s\n", pBaseFile->getWebMirror(i).c_str());
610
				wprintf(L"\t%s\n", pBaseFile->getWebMirror(i).c_str());
611
		}
611
		}
612
		if ( pSpkFile )
612
		if ( pSpkFile )
613
		{
613
		{
614
			if ( (!pSpkFile->GetOtherName().empty()) && (!pSpkFile->GetOtherAuthor().empty()) )
614
			if ( (!pSpkFile->otherName().empty()) && (!pSpkFile->otherAuthor().empty()) )
615
				printf ( "Script is a child to the mod: %s by %s\n", pSpkFile->GetOtherName().c_str(), pSpkFile->GetOtherAuthor().c_str() );
615
				wprintf(L"Script is a child to the mod: %s by %s\n", pSpkFile->otherName().c_str(), pSpkFile->otherAuthor().c_str() );
616
		}
616
		}
617
 
617
 
618
		if ( pBaseFile->AnyDependacies() )
618
		if ( pBaseFile->AnyDependacies() )
619
		{
619
		{
620
			printf ( "Required Dependacies:\n" );
620
			printf ( "Required Dependacies:\n" );