no message
This commit is contained in:
@@ -257,7 +257,7 @@ MusicWheel::MusicWheel()
|
|||||||
|
|
||||||
|
|
||||||
if( GAMEINFO->m_pCurSong == NULL // if there is no currently selected song
|
if( GAMEINFO->m_pCurSong == NULL // if there is no currently selected song
|
||||||
&& GAMEINFO->m_pSongs[0] ) // and there is at least one song
|
&& GAMEINFO->m_pSongs.GetSize() > 0 ) // and there is at least one song
|
||||||
{
|
{
|
||||||
GAMEINFO->m_pCurSong = GAMEINFO->m_pSongs[0]; // select the first song
|
GAMEINFO->m_pCurSong = GAMEINFO->m_pSongs[0]; // select the first song
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -216,6 +216,22 @@ SOURCE=.\WindowDancing.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\WindowEdit.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\WindowEdit.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\WindowEditMenu.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\WindowEditMenu.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\WindowGameOptions.cpp
|
SOURCE=.\WindowGameOptions.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
@@ -166,10 +166,18 @@ void CSMPackageInstallDlg::OnOK()
|
|||||||
// Unzip the SMzip package into the Stepmania installation folder
|
// Unzip the SMzip package into the Stepmania installation folder
|
||||||
for( int i=0; i<m_zip.GetCount(); i++ )
|
for( int i=0; i<m_zip.GetCount(); i++ )
|
||||||
{
|
{
|
||||||
CZipFileHeader fh;
|
// Throw some text up so the user has something to look at during the long pause.
|
||||||
m_zip.GetFileInfo(fh, (WORD)i);
|
CEdit* pEdit1 = (CEdit*)GetDlgItem(IDC_EDIT_MESSAGE1);
|
||||||
//AfxMessageBox( ssprintf( "Trying to extract '%s'", fh.GetFileName()) );
|
pEdit1->SetWindowText( ssprintf("Installing '%s'. Please wait...", m_sPackagePath) );
|
||||||
|
CEdit* pEdit2 = (CEdit*)GetDlgItem(IDC_EDIT_MESSAGE2);
|
||||||
|
pEdit2->SetWindowText( "" );
|
||||||
|
CEdit* pEdit3 = (CEdit*)GetDlgItem(IDC_EDIT_MESSAGE3);
|
||||||
|
pEdit3->SetWindowText( "" );
|
||||||
|
SendMessage( WM_PAINT );
|
||||||
|
UpdateWindow(); // Force the silly thing to hadle WM_PAINT now!
|
||||||
|
|
||||||
|
|
||||||
|
// Extract the files
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_zip.ExtractFile( (WORD)i, szCurrentDirectory, true ); // extract file to current directory
|
m_zip.ExtractFile( (WORD)i, szCurrentDirectory, true ); // extract file to current directory
|
||||||
|
|||||||
Reference in New Issue
Block a user