From 4e5219ceddcdbccd74b6e2294b48dfe5bf940ae3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 15 Jan 2007 23:47:55 +0000 Subject: [PATCH] SubType_INVALID -> SubType_Invalid --- stepmania/src/NoteDataUtil.cpp | 2 +- stepmania/src/NoteDataWithScoring.cpp | 2 +- stepmania/src/NoteTypes.cpp | 16 ++++++++-------- stepmania/src/NoteTypes.h | 4 ++-- stepmania/src/Player.cpp | 4 ++-- stepmania/src/ScreenEdit.cpp | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/stepmania/src/NoteDataUtil.cpp b/stepmania/src/NoteDataUtil.cpp index 139800dec6..bc520ea11c 100644 --- a/stepmania/src/NoteDataUtil.cpp +++ b/stepmania/src/NoteDataUtil.cpp @@ -1952,7 +1952,7 @@ void NoteDataUtil::AddTapAttacks( NoteData &nd, Song* pSong ) int iTrack = iBeat % nd.GetNumTracks(); // deterministically calculates track TapNote tn( TapNote::attack, - TapNote::SubType_INVALID, + TapNote::SubType_Invalid, TapNote::original, szAttacks[RandomInt(ARRAYLEN(szAttacks))], 15.0f, diff --git a/stepmania/src/NoteDataWithScoring.cpp b/stepmania/src/NoteDataWithScoring.cpp index d99019b245..396bb485c8 100644 --- a/stepmania/src/NoteDataWithScoring.cpp +++ b/stepmania/src/NoteDataWithScoring.cpp @@ -39,7 +39,7 @@ int GetNumNWithScore( const NoteData &in, TapNoteScore tns, int MinTaps, int iSt int GetNumHoldNotesWithScore( const NoteData &in, TapNote::SubType subType, HoldNoteScore hns ) { - ASSERT( subType != TapNote::SubType_INVALID ); + ASSERT( subType != TapNote::SubType_Invalid ); int iNumSuccessfulHolds = 0; for( int t=0; tiTrack; ASSERT( iStartRow == trtn->iRow ); TapNote &tn = *trtn->pTN; int iEndRow = iStartRow + tn.iDuration; - if( subType == TapNote::SubType_INVALID ) + if( subType == TapNote::SubType_Invalid ) subType = tn.subType; /* All holds must be of the same subType because fLife is handled diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index a2629db69d..6c51088d23 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -2487,7 +2487,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) TapNote tn( TapNote::attack, - TapNote::SubType_INVALID, + TapNote::SubType_Invalid, TapNote::original, sMods, g_fLastInsertAttackDurationSeconds,