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
+3
View File
@@ -123,6 +123,7 @@ void ScreenTextEntry::Init()
m_sndType.Load( THEME->GetPathS(m_sName,"type"), true );
m_sndBackspace.Load( THEME->GetPathS(m_sName,"backspace"), true );
m_sndChange.Load( THEME->GetPathS(m_sName,"change"), true );
}
ScreenTextEntry::~ScreenTextEntry()
@@ -208,6 +209,7 @@ void ScreenTextEntry::MoveX( int iDir )
}
while( sKey == "" );
m_sndChange.Play();
PositionCursor();
}
@@ -239,6 +241,7 @@ void ScreenTextEntry::MoveY( int iDir )
}
while( sKey == "" );
m_sndChange.Play();
PositionCursor();
}