From 62600c38a8ab72e39568bcb21982ddf97fe30988 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 2 Jun 2010 15:03:25 -0500 Subject: [PATCH] small cleanup --- src/CodeDetector.cpp | 6 +++--- src/Course.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/CodeDetector.cpp b/src/CodeDetector.cpp index e036e902c2..403f6eb51a 100644 --- a/src/CodeDetector.cpp +++ b/src/CodeDetector.cpp @@ -121,8 +121,8 @@ bool CodeDetector::EnteredModeMenu( GameController controller ) // from Pumpmania void CodeDetector::ChangeScrollSpeed( GameController controller, bool bIncrement ) { - // this shit doesn't compile, hence the #if 0 below. - // also I bet your ass this code actually belongs in PlayerOptions.cpp + // this doesn't compile, hence the #if 0 below. + // also I bet this code actually belongs in PlayerOptions.cpp // on further inspection. -aj // p.s. it's m_fScrollSpeed you'll want to mess with. #if 0 @@ -186,7 +186,7 @@ bool CodeDetector::DetectAndAdjustMusicOptions( GameController controller ) for( int c=CODE_MIRROR; c<=CODE_CANCEL_ALL; c++ ) { Code code = (Code)c; - + PlayerOptions po = GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions.GetPreferred(); if( EnteredCode(controller,code) ) diff --git a/src/Course.h b/src/Course.h index 26c77ac430..e9a83ad52b 100644 --- a/src/Course.h +++ b/src/Course.h @@ -52,8 +52,8 @@ public: int iChooseIndex; // RString sModifiers; // set player and song options using these - AttackArray attacks; // timed sModifiers - float fGainSeconds; // time gained back at the beginning of the song. LifeMeterTime only. + AttackArray attacks; // timed sModifiers + float fGainSeconds; // time gained back at the beginning of the song. LifeMeterTime only. int iGainLives; // lives gained back at the beginning of the next song CourseEntry() @@ -135,12 +135,12 @@ public: void UpdateCourseStats( StepsType st ); - /* Call to regenerate Trails with random entries */ + // Call to regenerate Trails with random entries void RegenerateNonFixedTrails() const; void InvalidateTrailCache(); - /* Call when a Song or its Steps are deleted/changed. */ + // Call when a Song or its Steps are deleted/changed. void Invalidate( const Song *pStaleSong ); void GetAllCachedTrails( vector &out ); @@ -205,7 +205,7 @@ public: typedef map RadarCache_t; RadarCache_t m_RadarCache; - /* Preferred styles: */ + // Preferred styles: set m_setStyles; CachedObject m_CachedObject;