mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
4.2 KiB
124 lines
4.2 KiB
/***************************************************************************/
|
|
/** Microsoft Windows **/
|
|
/** Copyright(c) Microsoft Corp., 1991, 1992 **/
|
|
/***************************************************************************/
|
|
|
|
#include <windows.h>
|
|
#include <afxres.h>
|
|
#include "resource.h"
|
|
#include "hearts.rcv"
|
|
#include "hearts.dlg"
|
|
|
|
AFX_IDI_STD_FRAME ICON HEARTS.ICO
|
|
|
|
#if 1
|
|
SND_BREAK WAVE glass.wav
|
|
SND_QUEEN WAVE timpani.wav
|
|
#endif
|
|
|
|
#if 0
|
|
SND_QUOTE WAVE quote2.wav
|
|
#endif
|
|
|
|
HeartsMenu MENU
|
|
BEGIN
|
|
POPUP "&Game"
|
|
BEGIN
|
|
// MENUITEM "&New Game\tF2", IDM_NEWGAME
|
|
// MENUITEM SEPARATOR
|
|
MENUITEM "&Options...\tF7" IDM_OPTIONS
|
|
MENUITEM "&Sound\tF8", IDM_SOUND
|
|
MENUITEM "S&core...\tF9", IDM_SCORE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&Help Topics", IDM_HELP
|
|
// MENUITEM "&Search for Help on...", IDM_SEARCH
|
|
// MENUITEM "&How to Use Help", IDM_HELPONHELP
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Quote...", IDM_QUOTE
|
|
MENUITEM "&About Hearts", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
HeartsAccel ACCELERATORS
|
|
BEGIN
|
|
VK_F1, IDM_HELP, VIRTKEY
|
|
VK_F1, IDM_HELP, VIRTKEY, SHIFT
|
|
VK_ESCAPE, IDM_BOSSKEY, VIRTKEY
|
|
// VK_F2, IDM_NEWGAME, VIRTKEY
|
|
VK_F7, IDM_OPTIONS, VIRTKEY
|
|
VK_F8, IDM_SOUND, VIRTKEY
|
|
VK_F9, IDM_SCORE, VIRTKEY
|
|
VK_F12, IDM_CHEAT, VIRTKEY, CONTROL, SHIFT, ALT
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_MEMORY "Out of memory. Close some other applications and try again."
|
|
|
|
IDS_APPNAME "The Microsoft Hearts Network"
|
|
IDS_CONNECTING "Trying to connect with dealer..."
|
|
IDS_P1NAME "Pauline"
|
|
IDS_P2NAME "Michele"
|
|
IDS_P3NAME "Ben"
|
|
|
|
IDS_INTRO "Welcome to the Microsoft Hearts Network."
|
|
IDS_SELECT "Select three cards to pass to %s."
|
|
IDS_PASSWAIT "Waiting for other players to pass..."
|
|
IDS_WAIT "Waiting for %s to move..."
|
|
IDS_GO "Select a card to play."
|
|
IDS_ACCEPT "Press OK to accept cards."
|
|
IDS_OK "OK"
|
|
|
|
IDS_BADMOVE "You must follow suit. Play a %s."
|
|
IDS_LEADHEARTS "Hearts has not been broken. Choose another suit."
|
|
IDS_LEAD2C "You must lead the two of clubs."
|
|
IDS_SCORE "Score"
|
|
IDS_SCORESHEET "Score Sheet"
|
|
IDS_PLACE1 "First Place"
|
|
IDS_PLACE2 "Second Place"
|
|
IDS_PLACE3 "Third Place"
|
|
IDS_PLACE4 "Last Place"
|
|
|
|
IDS_DISCONNECT "The dealer has left the game.\nHearts will end."
|
|
IDS_NOSERVER "Unable to connect with dealer.\nHearts will end."
|
|
IDS_SERVERFAIL "Unable to establish DDE server.\nHearts will end."
|
|
IDS_CARDSDLL "Cannot find cards.dll.\nHearts will end."
|
|
IDS_VERSION "This version of Hearts is incompatible with the Dealer's version. Hearts will end."
|
|
IDS_PWAIT "Waiting for dealer to start game..."
|
|
IDS_GMWAIT "Waiting for others to join... Press F2 to begin with current players."
|
|
|
|
IDS_BUSY "Sorry, game is already in progress."
|
|
IDS_TIMEOUT "Network timeout error.\r\nHearts will end."
|
|
IDS_UNKNOWNERR "Network communication error.\r\nHearts will end."
|
|
|
|
IDS_GAMEOVER "Game Over"
|
|
IDS_GAMEOVERWIN "Game Over -- You Win"
|
|
IDS_NETWORK "Hearts Network"
|
|
|
|
IDS_NOTREADY "The dealer is not ready, or the game is already in progress."
|
|
IDS_AGAIN "Do you want to play again?"
|
|
IDS_BADBLOOD "You cannot play a point card on the first trick. Select again."
|
|
|
|
IDS_SUIT0 "club"
|
|
IDS_SUIT1 "diamond"
|
|
IDS_SUIT2 "heart"
|
|
IDS_SUIT3 "spade"
|
|
|
|
IDS_PASSLEFT "Pass Left"
|
|
IDS_PASSRIGHT "Pass Right"
|
|
IDS_PASSACROSS "Pass Across"
|
|
|
|
IDS_UNKNOWN "Unknown"
|
|
IDS_DEALER "Dealer"
|
|
|
|
IDS_CREDITS "I come not, friends, to steal away your hearts...\n\n\tJulius Caesar, Act III, Scene ii"
|
|
IDS_FONTFACE "Tahoma"
|
|
IDS_CHARSET "0"
|
|
IDS_FONTSIZE "13"
|
|
IDS_STARTMENUNAME "Hearts"
|
|
IDS_INFOTIP "Begins the Hearts card game."
|
|
END
|