reactos/base/applications/games/solitaire/resource.h
Tibor Lajos Füzi 9dff498b21
[SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422)
Two issues are addressed:

CORE-2189: missing undo feature

Works the same way as solitaire in windows xp:
- only 1 action can be undone;
- the player gets -2 points in standard score mode;
- the undo action resets when the player clicks on a row stack to turn the top card.

CORE-11148: invisible cards

This happens in 3-card mode, when only 1 card left in the deck. The fix for this is to modify the pile stack to contain all the face-up cards. It was actually already in the code somewhere else, so I turned it into a separate function.
2021-02-28 22:31:19 +01:00

50 lines
1.2 KiB
C

#pragma once
/* Icon */
#define IDI_SOLITAIRE 100
#define IDR_MENU1 102
#define IDR_ACCELERATOR1 103
/* Menu */
#define IDM_GAME_NEW 1001
#define IDM_GAME_UNDO 1002
#define IDM_GAME_DECK 1003
#define IDM_GAME_OPTIONS 1004
#define IDM_GAME_EXIT 1005
#define IDM_HELP_CONTENTS 1006
#define IDM_HELP_ABOUT 1007
/* Dialogs */
#define IDD_OPTIONS 1200
#define IDC_OPT_DRAWONE 1201
#define IDC_OPT_DRAWTHREE 1202
#define IDC_OPT_SHOWTIME 1203
#define IDC_OPT_STATUSBAR 1204
#define IDC_OPT_STANDARD 1205
#define IDC_OPT_VEGAS 1206
#define IDC_OPT_NOSCORE 1207
#define IDC_OPT_KEEPSCORE 1208
#define IDD_CARDBACK 1250
#define IDC_CARDBACK1 1251
#define IDC_CARDBACK2 1252
#define IDC_CARDBACK3 1253
#define IDC_CARDBACK4 1254
#define IDC_CARDBACK5 1255
#define IDC_CARDBACK6 1256
#define IDC_CARDBACK7 1257
#define IDC_CARDBACK8 1258
#define IDC_CARDBACK9 1259
#define IDC_CARDBACK10 1260
#define IDC_CARDBACK11 1261
#define IDC_CARDBACK12 1262
/* Strings */
#define IDS_SOL_NAME 1300
#define IDS_SOL_ABOUT 1301
#define IDS_SOL_QUIT 1302
#define IDS_SOL_WIN 1303
#define IDS_SOL_DEAL 1304
#define IDS_SOL_SCORE 1305
#define IDS_SOL_TIME 1306