void Steps::SetDifficultyAndDescription( Difficulty dc, RString sDescription ) { DeAutogen(); m_Difficulty = dc; m_sDescription = sDescription; if( GetDifficulty() == Difficulty_Edit ) MakeValidEditDescription( m_sDescription ); }
void Steps::SetNoteData( const NoteData& noteDataNew ) { ASSERT( noteDataNew.GetNumTracks() == GAMEMAN->GetStepsTypeInfo(m_StepsType).iNumTracks ); DeAutogen( false ); *m_pNoteData = noteDataNew; m_bNoteDataIsFilled = true; m_sNoteDataCompressed = RString(); m_iHash = 0; }
void Steps::SetNoteData( const NoteData& noteDataNew ) { ASSERT( noteDataNew.GetNumTracks() == GAMEMAN->GetStepsTypeInfo(m_StepsType).iNumTracks ); DeAutogen( false ); *m_pNoteData = noteDataNew; m_bNoteDataIsFilled = true; m_sNoteDataCompressed = RString(); m_iHash = 0; m_sFilename = RString(); // We can no longer read from the file because it has changed in memory. }
void Steps::SetCachedRadarValues( const RadarValues v[NUM_PLAYERS] ) { DeAutogen(); copy( v, v + NUM_PLAYERS, m_CachedRadarValues ); m_bAreCachedRadarValuesJustLoaded = true; }
void Steps::SetMeter( int meter ) { DeAutogen(); m_iMeter = meter; }
void Steps::SetChartStyle( RString sChartStyle ) { DeAutogen(); m_sChartStyle = sChartStyle; }
void Steps::SetCredit( RString sCredit ) { DeAutogen(); m_sCredit = sCredit; }
void Steps::SetCachedRadarValues( const RadarValues v[NUM_PLAYERS] ) { DeAutogen(); copy( v, v + NUM_PLAYERS, m_CachedRadarValues ); }