Changed some of the menu sound to represent the WON menu better. Yes a nicer menu is coming, too. Patience!
This commit is contained in:
parent
a8c05e95d3
commit
523f1e0284
2 changed files with 5 additions and 4 deletions
|
@ -79,6 +79,7 @@ void Header_Draw( void ) {
|
|||
if ( iHeader != iLastHeader ) {
|
||||
fHeaderLerp = 0.0f;
|
||||
iLastHeader = iHeader;
|
||||
localsound("../media/launch_upmenu1.wav");
|
||||
}
|
||||
|
||||
if ( iHeader == -1 ) {
|
||||
|
|
|
@ -116,7 +116,7 @@ void Object_Button( vector vPosition, int iButtonID, void() vFunction, __inout f
|
|||
|
||||
if ( Menu_InputCheckMouse( vPosition, '156 26' ) == TRUE ) {
|
||||
if ( iLastButton != iButtonID ) {
|
||||
localcmd( "play ../media/launch_deny2.wav\n" );
|
||||
//localcmd( "play ../media/launch_deny2.wav\n" );
|
||||
}
|
||||
iLastButton = iButtonID;
|
||||
fAlpha = 1.0f;
|
||||
|
@ -126,7 +126,7 @@ void Object_Button( vector vPosition, int iButtonID, void() vFunction, __inout f
|
|||
vFunction();
|
||||
}
|
||||
vHeaderButtonPos = vPosition;
|
||||
localcmd( "play ../media/launch_select2.wav\n" );
|
||||
localsound("../media/launch_select2.wav");
|
||||
fMouseClick = FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ void Object_TextButton( vector vPosition, string sButtonText, void() vFunction,
|
|||
|
||||
if ( Menu_InputCheckMouse( vPosition, [stringwidth(sButtonText, TRUE, FONTSIZE), 12] ) == TRUE ) {
|
||||
if ( sLastButton != sButtonText ) {
|
||||
localcmd( "play ../media/launch_deny2.wav\n" );
|
||||
localsound("../media/launch_deny2.wav");
|
||||
}
|
||||
sLastButton = sButtonText;
|
||||
fAlpha = 1.0f;
|
||||
|
@ -161,7 +161,7 @@ void Object_TextButton( vector vPosition, string sButtonText, void() vFunction,
|
|||
if ( vFunction != __NULL__ ) {
|
||||
vFunction();
|
||||
}
|
||||
localcmd( "play ../media/launch_select2.wav\n" );
|
||||
localsound("../media/launch_select2.wav");
|
||||
fMouseClick = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue