no message

This commit is contained in:
Sauleil Lamarre
2002-01-16 19:46:22 +00:00
parent 86e32e8936
commit a490508c9d
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -451,7 +451,7 @@ bool Song::LoadSongInfoFromDWIFile( CString sPath )
split( arrayFreezeExpressions[f], "=", arrayFreezeValues ); split( arrayFreezeExpressions[f], "=", arrayFreezeValues );
int fIndex = atoi( arrayFreezeValues[0] ) * 2; int fIndex = atoi( arrayFreezeValues[0] ) * 2;
float fFreezeBeat = StepIndexToBeat( fIndex ); float fFreezeBeat = StepIndexToBeat( fIndex );
float fFreezeSeconds = atof( arrayFreezeValues[1] ) / 1000.0f; float fFreezeSeconds = (float)atof( arrayFreezeValues[1] ) / 1000.0f;
FreezeSegment new_seg; FreezeSegment new_seg;
new_seg.m_fStartBeat = fFreezeBeat; new_seg.m_fStartBeat = fFreezeBeat;
@@ -476,7 +476,7 @@ bool Song::LoadSongInfoFromDWIFile( CString sPath )
split( arrayBPMChangeExpressions[b], "=", arrayBPMChangeValues ); split( arrayBPMChangeExpressions[b], "=", arrayBPMChangeValues );
int fIndex = atoi( arrayBPMChangeValues[0] ) * 2; int fIndex = atoi( arrayBPMChangeValues[0] ) * 2;
float fBeat = StepIndexToBeat( fIndex ); float fBeat = StepIndexToBeat( fIndex );
float fNewBPM = atoi( arrayBPMChangeValues[1] ); float fNewBPM = (float)atoi( arrayBPMChangeValues[1] );
BPMSegment new_seg; BPMSegment new_seg;
new_seg.m_fStartBeat = fBeat; new_seg.m_fStartBeat = fBeat;
+2 -1
View File
@@ -550,7 +550,8 @@ void SetFullscreen( BOOL bFullscreen )
if( GAMEINFO ) if( GAMEINFO )
{ {
GAMEINFO->m_GameOptions.m_bIsFullscreen = bFullscreen; if (bFullscreen == 1) GAMEINFO->m_GameOptions.m_bIsFullscreen = true;
else GAMEINFO->m_GameOptions.m_bIsFullscreen = false;
GAMEINFO->SaveConfigToDisk(); GAMEINFO->SaveConfigToDisk();
} }
} }