add change sound

This commit is contained in:
Chris Danford
2005-03-23 03:41:40 +00:00
parent fb4822d6c6
commit ae57faa18d
3 changed files with 5 additions and 0 deletions
@@ -0,0 +1 @@
EditMenu row
+3
View File
@@ -123,6 +123,7 @@ void ScreenTextEntry::Init()
m_sndType.Load( THEME->GetPathS(m_sName,"type"), true ); m_sndType.Load( THEME->GetPathS(m_sName,"type"), true );
m_sndBackspace.Load( THEME->GetPathS(m_sName,"backspace"), true ); m_sndBackspace.Load( THEME->GetPathS(m_sName,"backspace"), true );
m_sndChange.Load( THEME->GetPathS(m_sName,"change"), true );
} }
ScreenTextEntry::~ScreenTextEntry() ScreenTextEntry::~ScreenTextEntry()
@@ -208,6 +209,7 @@ void ScreenTextEntry::MoveX( int iDir )
} }
while( sKey == "" ); while( sKey == "" );
m_sndChange.Play();
PositionCursor(); PositionCursor();
} }
@@ -239,6 +241,7 @@ void ScreenTextEntry::MoveY( int iDir )
} }
while( sKey == "" ); while( sKey == "" );
m_sndChange.Play();
PositionCursor(); PositionCursor();
} }
+1
View File
@@ -83,6 +83,7 @@ protected:
RageSound m_sndType; RageSound m_sndType;
RageSound m_sndBackspace; RageSound m_sndBackspace;
RageSound m_sndChange;
}; };