mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
![Tibor Lajos Füzi](/assets/img/avatar_default.png)
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.
94 lines
3.5 KiB
Plaintext
94 lines
3.5 KiB
Plaintext
/*
|
||
* PROJECT: Solitaire
|
||
* LICENSE: Freeware, permission to use under Public Domain
|
||
* FILE: base/applications/games/solitaire/lang/bg-BG.rc
|
||
* PURPOSE: Bulgarian Language File for Solitaire
|
||
* PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel@freenet.de)
|
||
*/
|
||
|
||
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
||
|
||
/* Dialogs */
|
||
|
||
IDD_OPTIONS DIALOGEX 0, 0, 186, 118
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
|
||
CAPTION "Настройки"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
GROUPBOX "Карти", -1, 7, 7, 90, 40
|
||
AUTORADIOBUTTON "Изтегли &една", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
|
||
AUTORADIOBUTTON "Изтегли &три", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
|
||
GROUPBOX "Scoring", -1, 100, 7, 75, 53
|
||
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
|
||
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
|
||
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
|
||
AUTOCHECKBOX "&Показване на времето", IDC_OPT_SHOWTIME, 7 ,51 ,100 ,10, WS_TABSTOP
|
||
AUTOCHECKBOX "Лента &състояние", IDC_OPT_STATUSBAR, 7, 66, 100, 10, WS_TABSTOP
|
||
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
|
||
DEFPUSHBUTTON "Добре", IDOK, 35, 97, 50, 14
|
||
PUSHBUTTON "Отказ", IDCANCEL, 101, 97, 50, 14
|
||
END
|
||
|
||
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
|
||
CAPTION "Избор на гръб за картите"
|
||
FONT 8, "MS Shell Dlg"
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
|
||
BEGIN
|
||
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
|
||
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
|
||
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
|
||
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
|
||
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
|
||
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
|
||
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
|
||
DEFPUSHBUTTON "Добре", IDOK, 114, 165, 54, 14
|
||
PUSHBUTTON "Отказ", IDCANCEL, 176, 165, 54, 14
|
||
END
|
||
|
||
/* Strings */
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_SOL_NAME "Пасианс"
|
||
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
|
||
IDS_SOL_QUIT "Да прекратя ли играта?"
|
||
IDS_SOL_WIN "Поздравления, победихте!!"
|
||
IDS_SOL_DEAL "Ново раздаване?"
|
||
IDS_SOL_SCORE "Score: %d"
|
||
IDS_SOL_TIME "Time: %d"
|
||
END
|
||
|
||
/* Menus */
|
||
|
||
IDR_MENU1 MENU
|
||
BEGIN
|
||
POPUP "&Игра"
|
||
BEGIN
|
||
MENUITEM "&Раздаване\tF2", IDM_GAME_NEW
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "&Undo", IDM_GAME_UNDO, GRAYED
|
||
MENUITEM "&Тесте...", IDM_GAME_DECK
|
||
MENUITEM "&Настройки...", IDM_GAME_OPTIONS
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "Из&ход", IDM_GAME_EXIT
|
||
END
|
||
POPUP "Помо&щ"
|
||
BEGIN
|
||
MENUITEM "&Съдържание\tF1", IDM_HELP_CONTENTS
|
||
MENUITEM "&За", IDM_HELP_ABOUT
|
||
END
|
||
END
|
||
|
||
/* Accelerators */
|
||
|
||
IDR_ACCELERATOR1 ACCELERATORS
|
||
BEGIN
|
||
VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
|
||
VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
|
||
END
|