ADDED "Cheats Enabled/Disabled" status messages

This commit is contained in:
spacy51 2008-07-10 16:03:15 +00:00
parent 0cafb29152
commit 0c3009a6f3
3 changed files with 5 additions and 31 deletions

View File

@ -152,6 +152,7 @@ void MainWnd::OnUpdateCheatsSavecheatlist(CCmdUI* pCmdUI)
void MainWnd::OnCheatsDisablecheats()
{
cheatsEnabled = !cheatsEnabled;
systemScreenMessage(winResLoadString(cheatsEnabled ? IDS_CHEATS_ENABLED : IDS_CHEATS_DISABLED));
}
void MainWnd::OnUpdateCheatsDisablecheats(CCmdUI* pCmdUI)

View File

@ -12,37 +12,6 @@
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// German (Germany) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.\0"
END
3 TEXTINCLUDE
BEGIN
"\r\0"
END
#endif // APSTUDIO_INVOKED
#endif // German (Germany) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
@ -2233,6 +2202,8 @@ BEGIN
"XAudio2: Creating mastering voice failed!"
IDS_XAUDIO2_CANNOT_CREATE_SOURCEVOICE
"XAudio2: Creating source voice failed!"
IDS_CHEATS_DISABLED "Cheats disabled"
IDS_CHEATS_ENABLED "Cheats enabled"
END
#endif // English (U.S.) resources

View File

@ -546,6 +546,8 @@
#define IDS_XAUDIO2_FAILURE 2009
#define IDS_XAUDIO2_CANNOT_CREATE_MASTERINGVOICE 2010
#define IDS_XAUDIO2_CANNOT_CREATE_SOURCEVOICE 2011
#define IDS_CHEATS_DISABLED 2012
#define IDS_CHEATS_ENABLED 2013
#define ID_HELP_ABOUT 40001
#define ID_FILE_EXIT 40002
#define ID_OPTIONS_VIDEO_FRAMESKIP_0 40003