Win32 - Cheats - addded "Delete selected cheats" context menu item
This commit is contained in:
parent
23277bc4df
commit
bb4ef400b6
|
@ -426,6 +426,7 @@ BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
if(hMemView)UpdateColorTable(); //if the memory viewer is open then update any blue freeze locations in it as well
|
||||
UpdateCheatsAdded();
|
||||
break;
|
||||
case ID_CHEATLISTPOPUP_DELETESELECTEDCHEATS:
|
||||
case IDC_BTN_CHEAT_DEL:
|
||||
if (selcheatcount > 1) {
|
||||
if (IDYES == MessageBox(hwndDlg, "Multiple cheats selected. Continue with delete?", "Delete multiple cheats?", MB_ICONQUESTION | MB_YESNO)) { //Get message box
|
||||
|
|
|
@ -429,6 +429,7 @@ BEGIN
|
|||
MENUITEM "Toggle Cheat\tDbl-Clk", CHEAT_CONTEXT_TOGGLECHEAT
|
||||
MENUITEM "Poke Cheat Value", CHEAT_CONTEXT_POKECHEATVALUE
|
||||
MENUITEM "Goto In Hex Editor", CHEAT_CONTEXT_GOTOINHEXEDITOR
|
||||
MENUITEM "Delete Selected Cheats", ID_CHEATLISTPOPUP_DELETESELECTEDCHEATS
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -791,6 +791,7 @@
|
|||
#define ID_GAME_RECOVERY 40407
|
||||
#define ID_SAVESTATE_RECOVERY 40408
|
||||
#define ID_CONTEXT_FULLSAVESTATES 40409
|
||||
#define ID_CHEATLISTPOPUP_DELETESELECTEDCHEATS 40410
|
||||
#define IDC_DEBUGGER_ICONTRAY 55535
|
||||
#define MW_ValueLabel2 65423
|
||||
#define MW_ValueLabel1 65426
|
||||
|
@ -800,7 +801,7 @@
|
|||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 160
|
||||
#define _APS_NEXT_COMMAND_VALUE 40410
|
||||
#define _APS_NEXT_COMMAND_VALUE 40411
|
||||
#define _APS_NEXT_CONTROL_VALUE 1259
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue