From dd7871b0c6daa4b68e9c695a1ce76959dfba9f6b Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 23 Aug 2006 20:45:30 +0000 Subject: [PATCH] u -> i. --- stepmania/src/Steps.cpp | 14 +++++++------- stepmania/src/Steps.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stepmania/src/Steps.cpp b/stepmania/src/Steps.cpp index 8cb348151e..16c7334054 100644 --- a/stepmania/src/Steps.cpp +++ b/stepmania/src/Steps.cpp @@ -31,7 +31,7 @@ Steps::Steps() m_bSavedToDisk = false; m_StepsType = STEPS_TYPE_INVALID; m_LoadedFromProfile = ProfileSlot_INVALID; - m_uHash = 0; + m_iHash = 0; m_Difficulty = DIFFICULTY_INVALID; m_iMeter = 0; @@ -49,16 +49,16 @@ unsigned Steps::GetHash() const { if( parent ) return parent->GetHash(); - if( m_uHash ) - return m_uHash; + if( m_iHash ) + return m_iHash; if( m_sNoteDataCompressed.empty() ) { if( !m_bNoteDataIsFilled ) return 0; // No data, no hash. NoteDataUtil::GetSMNoteDataString( *m_pNoteData, m_sNoteDataCompressed ); } - m_uHash = GetHashForString( m_sNoteDataCompressed ); - return m_uHash; + m_iHash = GetHashForString( m_sNoteDataCompressed ); + return m_iHash; } void Steps::SetNoteData( const NoteData& noteDataNew ) @@ -78,7 +78,7 @@ void Steps::SetNoteData( const NoteData& noteDataNew ) m_bNoteDataIsFilled = true; m_sNoteDataCompressed = EMPTY_STRING; - m_uHash = 0; + m_iHash = 0; m_sFilename = EMPTY_STRING; // We can no longer read from the file because it has changed in memory. } @@ -103,7 +103,7 @@ void Steps::SetSMNoteData( const RString ¬es_comp_ ) m_bNoteDataIsFilled = false; m_sNoteDataCompressed = notes_comp_; - m_uHash = 0; + m_iHash = 0; m_sFilename = EMPTY_STRING; // We can no longer read from the file because it has changed in memory. } diff --git a/stepmania/src/Steps.h b/stepmania/src/Steps.h index 216751ccb8..8addbdbe5b 100644 --- a/stepmania/src/Steps.h +++ b/stepmania/src/Steps.h @@ -87,7 +87,7 @@ private: ProfileSlot m_LoadedFromProfile; // ProfileSlot_INVALID if wasn't loaded from a profile /* These values are pulled from the autogen source first, if there is one. */ - mutable unsigned m_uHash; // only used if m_Difficulty == DIFFICULTY_EDIT + mutable unsigned m_iHash; // only used if m_Difficulty == DIFFICULTY_EDIT RString m_sDescription; // Step author, edit name, or something meaningful Difficulty m_Difficulty; // difficulty classification int m_iMeter; // difficulty rating from MIN_METER to MAX_METER