Add feedback for the 'mouseflip' and 'shakey' commands.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9086 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2010-01-10 09:50:14 +00:00 committed by Git SVN Gateway
parent 6749d42eec
commit 809149c437
1 changed files with 4 additions and 0 deletions

View File

@ -2465,10 +2465,12 @@ void kf_ToggleMouseInvert( void )
if(getInvertMouseStatus()) if(getInvertMouseStatus())
{ {
setInvertMouseStatus(false); setInvertMouseStatus(false);
CONPRINTF(ConsoleString,(ConsoleString,_("Vertical rotation direction: Normal")));
} }
else else
{ {
setInvertMouseStatus(true); setInvertMouseStatus(true);
CONPRINTF(ConsoleString,(ConsoleString,_("Vertical rotation direction: Flipped")));
} }
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -2477,10 +2479,12 @@ void kf_ToggleShakeStatus( void )
if(getShakeStatus()) if(getShakeStatus())
{ {
setShakeStatus(false); setShakeStatus(false);
CONPRINTF(ConsoleString,(ConsoleString,_("Screen shake when things die: Off")));
} }
else else
{ {
setShakeStatus(true); setShakeStatus(true);
CONPRINTF(ConsoleString,(ConsoleString,_("Screen shake when things die: On")));
} }
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------