2005-05-31 01:17:37 +00:00
|
|
|
#include "global.h"
|
|
|
|
|
#include "BackgroundUtil.h"
|
|
|
|
|
#include "RageUtil.h"
|
|
|
|
|
#include "song.h"
|
|
|
|
|
#include "Foreach.h"
|
2005-06-02 10:09:46 +00:00
|
|
|
#include "IniFile.h"
|
|
|
|
|
#include "RageLog.h"
|
|
|
|
|
#include <set>
|
2005-07-18 01:52:01 +00:00
|
|
|
#include "Background.h"
|
2005-05-31 01:17:37 +00:00
|
|
|
|
2005-06-14 05:21:48 +00:00
|
|
|
|
|
|
|
|
bool BackgroundDef::operator<( const BackgroundDef &other ) const
|
|
|
|
|
{
|
|
|
|
|
#define COMPARE(x) if( x < other.x ) return true; else if( x > other.x ) return false;
|
|
|
|
|
COMPARE( m_sEffect );
|
|
|
|
|
COMPARE( m_sFile1 );
|
|
|
|
|
COMPARE( m_sFile2 );
|
|
|
|
|
COMPARE( m_sColor1 );
|
|
|
|
|
COMPARE( m_sColor2 );
|
|
|
|
|
#undef COMPARE
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool BackgroundDef::operator==( const BackgroundDef &other ) const
|
|
|
|
|
{
|
|
|
|
|
return
|
|
|
|
|
m_sEffect == other.m_sEffect &&
|
|
|
|
|
m_sFile1 == other.m_sFile1 &&
|
|
|
|
|
m_sFile2 == other.m_sFile2 &&
|
|
|
|
|
m_sColor1 == other.m_sColor1 &&
|
|
|
|
|
m_sColor2 == other.m_sColor2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XNode *BackgroundDef::CreateNode() const
|
|
|
|
|
{
|
|
|
|
|
XNode* pNode = new XNode;
|
|
|
|
|
pNode->m_sName = "BackgroundDef";
|
|
|
|
|
|
|
|
|
|
if( !m_sEffect.empty() )
|
|
|
|
|
pNode->AppendAttr( "Effect", m_sEffect );
|
|
|
|
|
if( !m_sFile1.empty() )
|
|
|
|
|
pNode->AppendAttr( "File1", m_sFile1 );
|
|
|
|
|
if( !m_sFile2.empty() )
|
|
|
|
|
pNode->AppendAttr( "File2", m_sFile2 );
|
|
|
|
|
if( !m_sColor1.empty() )
|
|
|
|
|
pNode->AppendAttr( "Color1", m_sColor1 );
|
|
|
|
|
if( !m_sColor2.empty() )
|
|
|
|
|
pNode->AppendAttr( "Color2", m_sColor2 );
|
|
|
|
|
|
|
|
|
|
return pNode;
|
|
|
|
|
}
|
|
|
|
|
|
2005-07-30 19:32:31 +00:00
|
|
|
|
|
|
|
|
CString BackgroundChange::GetTextDescription() const
|
|
|
|
|
{
|
|
|
|
|
vector<CString> vsParts;
|
|
|
|
|
if( !m_def.m_sFile1.empty() ) vsParts.push_back( m_def.m_sFile1 );
|
|
|
|
|
if( !m_def.m_sFile2.empty() ) vsParts.push_back( m_def.m_sFile2 );
|
|
|
|
|
if( m_fRate!=1.0f ) vsParts.push_back( ssprintf("%.2f%%",m_fRate*100) );
|
|
|
|
|
if( !m_sTransition.empty() ) vsParts.push_back( m_sTransition );
|
|
|
|
|
if( !m_def.m_sEffect.empty() ) vsParts.push_back( m_def.m_sEffect );
|
|
|
|
|
if( !m_def.m_sColor1.empty() ) vsParts.push_back( m_def.m_sColor1 );
|
|
|
|
|
if( !m_def.m_sColor2.empty() ) vsParts.push_back( m_def.m_sColor2 );
|
|
|
|
|
|
|
|
|
|
if( vsParts.empty() )
|
|
|
|
|
vsParts.push_back( "(empty)" );
|
|
|
|
|
|
|
|
|
|
CString s = join( "\n", vsParts );
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2005-05-31 01:17:37 +00:00
|
|
|
const CString BACKGROUND_EFFECTS_DIR = "BackgroundEffects/";
|
|
|
|
|
const CString BACKGROUND_TRANSITIONS_DIR = "BackgroundTransitions/";
|
|
|
|
|
const CString BG_ANIMS_DIR = "BGAnimations/";
|
|
|
|
|
const CString VISUALIZATIONS_DIR = "Visualizations/";
|
|
|
|
|
const CString RANDOMMOVIES_DIR = "RandomMovies/";
|
|
|
|
|
|
2005-06-09 04:03:08 +00:00
|
|
|
const CString RANDOM_BACKGROUND_FILE = "-random-";
|
|
|
|
|
const CString NO_SONG_BG_FILE = "-nosongbg-";
|
|
|
|
|
const CString SONG_BACKGROUND_FILE = "songbackground";
|
|
|
|
|
|
|
|
|
|
const CString SBE_UpperLeft = "UpperLeft";
|
|
|
|
|
const CString SBE_Centered = "Centered";
|
|
|
|
|
const CString SBE_StretchNormal = "StretchNormal";
|
|
|
|
|
const CString SBE_StretchNoLoop = "StretchNoLoop";
|
|
|
|
|
const CString SBE_StretchRewind = "StretchRewind";
|
|
|
|
|
const CString SBT_CrossFade = "CrossFade";
|
|
|
|
|
|
2005-05-31 01:17:37 +00:00
|
|
|
static void StripCvs( vector<CString> &vsPathsToStrip, vector<CString> &vsNamesToStrip )
|
|
|
|
|
{
|
|
|
|
|
ASSERT( vsPathsToStrip.size() == vsNamesToStrip.size() );
|
|
|
|
|
for( unsigned i=0; i<vsNamesToStrip.size(); i++ )
|
|
|
|
|
{
|
|
|
|
|
if( vsNamesToStrip[i].Right(3).CompareNoCase("CVS") == 0 )
|
|
|
|
|
{
|
|
|
|
|
vsPathsToStrip.erase( vsPathsToStrip.begin()+i );
|
|
|
|
|
vsNamesToStrip.erase( vsNamesToStrip.begin()+i );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int CompareBackgroundChanges(const BackgroundChange &seg1, const BackgroundChange &seg2)
|
|
|
|
|
{
|
|
|
|
|
return seg1.m_fStartBeat < seg2.m_fStartBeat;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BackgroundUtil::SortBackgroundChangesArray( vector<BackgroundChange> &vBackgroundChanges )
|
|
|
|
|
{
|
|
|
|
|
sort( vBackgroundChanges.begin(), vBackgroundChanges.end(), CompareBackgroundChanges );
|
|
|
|
|
}
|
|
|
|
|
|
2005-06-02 04:34:46 +00:00
|
|
|
void BackgroundUtil::GetBackgroundEffects( const CString &_sName, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
2005-06-02 04:34:46 +00:00
|
|
|
CString sName = _sName;
|
|
|
|
|
if( sName == "" )
|
|
|
|
|
sName = "*";
|
|
|
|
|
|
2005-05-31 01:17:37 +00:00
|
|
|
vsPathsOut.clear();
|
2005-06-02 04:34:46 +00:00
|
|
|
GetDirListing( BACKGROUND_EFFECTS_DIR+sName+".xml", vsPathsOut, false, true );
|
2005-05-31 01:17:37 +00:00
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( GetFileNameWithoutExtension(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
2005-06-02 04:34:46 +00:00
|
|
|
void BackgroundUtil::GetBackgroundTransitions( const CString &_sName, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
2005-06-02 04:34:46 +00:00
|
|
|
CString sName = _sName;
|
|
|
|
|
if( sName == "" )
|
|
|
|
|
sName = "*";
|
|
|
|
|
|
2005-05-31 01:17:37 +00:00
|
|
|
vsPathsOut.clear();
|
2005-06-02 04:34:46 +00:00
|
|
|
GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".xml", vsPathsOut, false, true );
|
2005-05-31 01:17:37 +00:00
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( GetFileNameWithoutExtension(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BackgroundUtil::GetSongBGAnimations( const Song *pSong, const CString &sMatch, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
|
|
|
|
{
|
|
|
|
|
vsPathsOut.clear();
|
2005-06-02 10:09:46 +00:00
|
|
|
if( sMatch.empty() )
|
|
|
|
|
{
|
2005-09-03 18:22:41 +00:00
|
|
|
GetDirListing( pSong->GetSongDir()+"*", vsPathsOut, true, true );
|
2005-06-02 10:09:46 +00:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2005-09-03 18:22:41 +00:00
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch, vsPathsOut, true, true );
|
2005-06-02 10:09:46 +00:00
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( Basename(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BackgroundUtil::GetSongMovies( const Song *pSong, const CString &sMatch, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
|
|
|
|
{
|
|
|
|
|
vsPathsOut.clear();
|
2005-06-02 10:09:46 +00:00
|
|
|
if( sMatch.empty() )
|
|
|
|
|
{
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.avi", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.mpg", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.mpeg", vsPathsOut, false, true );
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch, vsPathsOut, false, true );
|
|
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( Basename(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BackgroundUtil::GetSongBitmaps( const Song *pSong, const CString &sMatch, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
|
|
|
|
{
|
|
|
|
|
vsPathsOut.clear();
|
2005-06-02 10:09:46 +00:00
|
|
|
if( sMatch.empty() )
|
|
|
|
|
{
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.png", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.jpg", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.gif", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch+"*.bmp", vsPathsOut, false, true );
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
GetDirListing( pSong->GetSongDir()+sMatch, vsPathsOut, false, true );
|
|
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( Basename(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
2005-06-02 10:09:46 +00:00
|
|
|
static void GetFilterToFileNames( const CString sBaseDir, const Song *pSong, set<CString> &vsPossibleFileNamesOut )
|
|
|
|
|
{
|
|
|
|
|
vsPossibleFileNamesOut.clear();
|
|
|
|
|
|
|
|
|
|
if( pSong->m_sGenre.empty() )
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
ASSERT( !pSong->m_sGroupName.empty() )
|
|
|
|
|
IniFile ini;
|
|
|
|
|
CString sPath = sBaseDir+pSong->m_sGroupName+"/"+"BackgroundMapping.ini";
|
|
|
|
|
ini.ReadFile( sPath );
|
|
|
|
|
|
|
|
|
|
CString sSection;
|
|
|
|
|
bool bSuccess = ini.GetValue( "GenreToSection", pSong->m_sGenre, sSection );
|
|
|
|
|
if( !bSuccess )
|
|
|
|
|
{
|
|
|
|
|
LOG->Warn( "Genre '%s' isn't mapped", pSong->m_sGenre.c_str() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XNode *pSection = ini.GetChild( sSection );
|
|
|
|
|
if( pSection == NULL )
|
|
|
|
|
{
|
|
|
|
|
ASSERT_M( 0, ssprintf("File '%s' refers to a section '%s' that is missing.", sPath.c_str(), sSection.c_str()) );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOREACH_CONST_Attr( pSection, p )
|
|
|
|
|
vsPossibleFileNamesOut.insert( p->m_sName );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BackgroundUtil::GetGlobalBGAnimations( const Song *pSong, const CString &sMatch, vector<CString> &vsPathsOut, vector<CString> &vsNamesOut )
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
|
|
|
|
vsPathsOut.clear();
|
|
|
|
|
GetDirListing( BG_ANIMS_DIR+sMatch+"*", vsPathsOut, true, true );
|
|
|
|
|
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
vsNamesOut.push_back( Basename(*s) );
|
|
|
|
|
|
|
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
2005-06-05 01:27:15 +00:00
|
|
|
void BackgroundUtil::GetGlobalRandomMovies(
|
|
|
|
|
const Song *pSong,
|
|
|
|
|
const CString &sMatch,
|
|
|
|
|
vector<CString> &vsPathsOut,
|
|
|
|
|
vector<CString> &vsNamesOut,
|
|
|
|
|
bool bTryInsideOfSongGroupAndGenreFirst,
|
|
|
|
|
bool bTryInsideOfSongGroupFirst )
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
|
|
|
|
vsPathsOut.clear();
|
|
|
|
|
vsNamesOut.clear();
|
|
|
|
|
|
2005-06-04 19:01:13 +00:00
|
|
|
// Check for an exact match
|
|
|
|
|
if( !sMatch.empty() )
|
2005-06-04 18:23:18 +00:00
|
|
|
{
|
2005-06-04 19:01:13 +00:00
|
|
|
GetDirListing( RANDOMMOVIES_DIR+sMatch, vsPathsOut, false, true );
|
|
|
|
|
if( !vsPathsOut.empty() )
|
|
|
|
|
goto found_files;
|
2005-06-04 19:17:01 +00:00
|
|
|
|
2005-06-04 21:22:50 +00:00
|
|
|
if( sMatch != NO_SONG_BG_FILE )
|
2005-06-04 19:01:13 +00:00
|
|
|
LOG->Warn( "Background missing: %s", sMatch.c_str() );
|
2005-06-04 18:23:18 +00:00
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
|
2005-06-04 19:01:13 +00:00
|
|
|
//
|
|
|
|
|
// Search for the most appropriate background
|
|
|
|
|
//
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
2005-06-05 01:27:15 +00:00
|
|
|
set<CString> ssFileNameWhitelist;
|
|
|
|
|
if( bTryInsideOfSongGroupAndGenreFirst && pSong && !pSong->m_sGenre.empty() )
|
|
|
|
|
GetFilterToFileNames( RANDOMMOVIES_DIR, pSong, ssFileNameWhitelist );
|
2005-06-04 19:01:13 +00:00
|
|
|
|
|
|
|
|
vector<CString> vsDirsToTry;
|
2005-06-05 01:27:15 +00:00
|
|
|
if( bTryInsideOfSongGroupFirst && pSong )
|
2005-06-02 10:09:46 +00:00
|
|
|
{
|
2005-06-04 19:01:13 +00:00
|
|
|
ASSERT( !pSong->m_sGroupName.empty() );
|
|
|
|
|
vsDirsToTry.push_back( RANDOMMOVIES_DIR+pSong->m_sGroupName+"/" );
|
2005-06-02 10:09:46 +00:00
|
|
|
}
|
2005-06-04 19:01:13 +00:00
|
|
|
vsDirsToTry.push_back( RANDOMMOVIES_DIR );
|
2005-05-31 01:17:37 +00:00
|
|
|
|
2005-06-04 19:01:13 +00:00
|
|
|
FOREACH_CONST( CString, vsDirsToTry, sDir )
|
2005-05-31 01:17:37 +00:00
|
|
|
{
|
2005-06-04 19:01:13 +00:00
|
|
|
GetDirListing( *sDir+"*.avi", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( *sDir+"*.mpg", vsPathsOut, false, true );
|
|
|
|
|
GetDirListing( *sDir+"*.mpeg", vsPathsOut, false, true );
|
|
|
|
|
|
2005-06-05 01:27:15 +00:00
|
|
|
if( !ssFileNameWhitelist.empty() )
|
2005-06-02 10:09:46 +00:00
|
|
|
{
|
2005-06-04 19:01:13 +00:00
|
|
|
for( unsigned i=0; i<vsPathsOut.size(); i++ )
|
2005-06-02 10:09:46 +00:00
|
|
|
{
|
2005-06-04 19:01:13 +00:00
|
|
|
CString sBasename = Basename( vsPathsOut[i] );
|
2005-06-05 01:27:15 +00:00
|
|
|
bool bFound = ssFileNameWhitelist.find(sBasename) != ssFileNameWhitelist.end();
|
2005-06-04 19:01:13 +00:00
|
|
|
if( !bFound )
|
|
|
|
|
{
|
|
|
|
|
vsPathsOut.erase( vsPathsOut.begin()+i );
|
|
|
|
|
i--;
|
|
|
|
|
}
|
2005-06-02 10:09:46 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2005-06-04 19:01:13 +00:00
|
|
|
if( !vsPathsOut.empty() )
|
|
|
|
|
goto found_files;
|
2005-06-02 10:09:46 +00:00
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
}
|
|
|
|
|
|
2005-06-04 19:01:13 +00:00
|
|
|
found_files:
|
|
|
|
|
|
|
|
|
|
FOREACH_CONST( CString, vsPathsOut, s )
|
|
|
|
|
{
|
|
|
|
|
CString sName = s->Right( s->size() - RANDOMMOVIES_DIR.size() - 1 );
|
|
|
|
|
vsNamesOut.push_back( sName );
|
|
|
|
|
}
|
2005-05-31 01:17:37 +00:00
|
|
|
StripCvs( vsPathsOut, vsNamesOut );
|
|
|
|
|
}
|
|
|
|
|
|
2005-07-18 01:52:01 +00:00
|
|
|
void BackgroundUtil::BakeAllBackgroundChanges( Song *pSong )
|
|
|
|
|
{
|
|
|
|
|
Background bg;
|
|
|
|
|
bg.LoadFromSong( pSong );
|
|
|
|
|
vector<BackgroundChange> *vBGChanges[NUM_BackgroundLayer];
|
|
|
|
|
FOREACH_BackgroundLayer( i )
|
|
|
|
|
vBGChanges[i] = &pSong->GetBackgroundChanges(i);
|
|
|
|
|
bg.GetLoadedBackgroundChanges( vBGChanges );
|
|
|
|
|
}
|
|
|
|
|
|
2005-05-31 01:17:37 +00:00
|
|
|
/*
|
|
|
|
|
* (c) 2001-2004 Chris Danford, Ben Nordstrom
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
* copy of this software and associated documentation files (the
|
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
* distribute, and/or sell copies of the Software, and to permit persons to
|
|
|
|
|
* whom the Software is furnished to do so, provided that the above
|
|
|
|
|
* copyright notice(s) and this permission notice appear in all copies of
|
|
|
|
|
* the Software and that both the above copyright notice(s) and this
|
|
|
|
|
* permission notice appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
|
|
|
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
|
|
|
|
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
|
|
|
|
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
|
|
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
*/
|