ADDED "Cheats Enabled/Disabled" status messages

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@584 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-07-10 16:03:15 +00:00
parent 5b54ccda5c
commit b4392ec6f7
3 changed files with 5 additions and 31 deletions

View File

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

View File

@ -12,37 +12,6 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS #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 // English (U.S.) resources
@ -2233,6 +2202,8 @@ BEGIN
"XAudio2: Creating mastering voice failed!" "XAudio2: Creating mastering voice failed!"
IDS_XAUDIO2_CANNOT_CREATE_SOURCEVOICE IDS_XAUDIO2_CANNOT_CREATE_SOURCEVOICE
"XAudio2: Creating source voice failed!" "XAudio2: Creating source voice failed!"
IDS_CHEATS_DISABLED "Cheats disabled"
IDS_CHEATS_ENABLED "Cheats enabled"
END END
#endif // English (U.S.) resources #endif // English (U.S.) resources

View File

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