comment + cleanup

This commit is contained in:
AJ Kelly
2010-08-11 02:17:29 -05:00
parent cccd8d0a16
commit 50a62f11c4
6 changed files with 9 additions and 9 deletions
+2 -3
View File
@@ -14,14 +14,13 @@ void ActorSound::Load( const RString &sPath )
void ActorSound::Play()
{
// This fix makes possible to stop and pause actorsounds, also because
// sometimes stacking sounds is annoying -DaisuMaster
// This fix makes it possible to stop and pause ActorSounds. (Also,
// sometimes stacking sounds is annoying.) -DaisuMaster
if( m_Sound.IsPlaying() )
{
m_Sound.PlayCopy();
return;
}
m_Sound.StartPlaying();
}
+1 -1
View File
@@ -11,7 +11,7 @@ class CourseContentsList : public ActorScroller
public:
~CourseContentsList();
virtual CourseContentsList *Copy() const;
void LoadFromNode( const XNode* pNode );
void SetFromGameState();
+1
View File
@@ -1,3 +1,4 @@
/* DancingCharacters - Characters that react to how the players are doing. */
#ifndef DancingCharacters_H
#define DancingCharacters_H
+2 -2
View File
@@ -17,11 +17,11 @@ public:
virtual void DrawPrimitives();
void Load( const PlayerState* pPlayerState, float fYReverseOffset );
void DidTapNote( int iCol, TapNoteScore tns, bool bBright );
void DidHoldNote( int iCol, HoldNoteScore hns, bool bBright );
void SetHoldShowing( int iCol, const TapNote &tn );
protected:
float m_fYReverseOffsetPixels;
const PlayerState* m_pPlayerState;
+2 -2
View File
@@ -19,7 +19,7 @@ void ScreenPackagesSSC::HandleScreenMessage( const ScreenMessage SM )
SCREENMAN->SetNewScreen( THEME->GetMetric (m_sName, "PrevScreen") );
else if( SM ==SM_GoToNextScreen )
SCREENMAN->SetNewScreen( THEME->GetMetric (m_sName, "NextScreen") );
ScreenWithMenuElements::HandleScreenMessage( SM );
}
@@ -46,7 +46,7 @@ void ScreenPackagesSSC::DrawPrimitives()
}
RString ScreenPackagesSSC::JSONParse( const RString &string_in )
{
{
/* json++ stuff here */
return "";
}
+1 -1
View File
@@ -16,7 +16,7 @@ public:
/* Input stuff */
virtual void Input( const InputEventPlus &input );
virtual void MenuBack( const InputEventPlus &input );
virtual void MenuBack( const InputEventPlus &input );
virtual void HandleScreenMessage( const ScreenMessage SM );
virtual void Update(float f);