mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 05:08:39 +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.3 KiB
Plaintext
94 lines
3.3 KiB
Plaintext
/*
|
|
* PROJECT: Solitaire
|
|
* LICENSE: Freeware, permission to use under Public Domain
|
|
* FILE: base/applications/games/solitaire/lang/ca-ES.rc
|
|
* PURPOSE: Catalan Language File for Solitaire
|
|
* PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel@freenet.de)
|
|
*/
|
|
|
|
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
|
|
|
|
/* Dialogs */
|
|
|
|
IDD_OPTIONS DIALOGEX 0, 0, 186, 118
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
|
|
CAPTION "Options"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Cartes", -1, 7, 7, 90, 40
|
|
AUTORADIOBUTTON "Treu-ne &Una", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
|
|
AUTORADIOBUTTON "Treu-ne &Tres", 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 "&Mostra el temps", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
|
|
AUTOCHECKBOX "&Barra d'estat", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
|
|
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
|
|
DEFPUSHBUTTON "Acceptar", IDOK, 35, 97, 50, 14
|
|
PUSHBUTTON "Cancel·lar", IDCANCEL, 101, 97, 50, 14
|
|
END
|
|
|
|
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
|
|
CAPTION "Seleccioneu l'anvers"
|
|
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 "Acceptar", IDOK, 114, 165, 54, 14
|
|
PUSHBUTTON "Cancel·lar", IDCANCEL, 176, 165, 54, 14
|
|
END
|
|
|
|
/* Strings */
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_SOL_NAME "Solitari"
|
|
IDS_SOL_ABOUT "Solitari per J Brown\n\nCardLib versio 1.0."
|
|
IDS_SOL_QUIT "Voleu sortir del joc actual?"
|
|
IDS_SOL_WIN "Felicitats, heu guanyat!!"
|
|
IDS_SOL_DEAL "Deal again?"
|
|
IDS_SOL_SCORE "Score: %d"
|
|
IDS_SOL_TIME "Time: %d"
|
|
END
|
|
|
|
/* Menus */
|
|
|
|
IDR_MENU1 MENU
|
|
BEGIN
|
|
POPUP "&Joc"
|
|
BEGIN
|
|
MENUITEM "R&eparteix\tF2", IDM_GAME_NEW
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Undo", IDM_GAME_UNDO, GRAYED
|
|
MENUITEM "&Barallar...", IDM_GAME_DECK
|
|
MENUITEM "&Opcions...", IDM_GAME_OPTIONS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Sortida", IDM_GAME_EXIT
|
|
END
|
|
POPUP "&Ajuda"
|
|
BEGIN
|
|
MENUITEM "&Contingut\tF1", IDM_HELP_CONTENTS
|
|
MENUITEM "E&n quant a", 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
|