Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

65 lines
1.6 KiB

#include "windows.h"
#include "golf.h"
STRINGTABLE
begin
IDSOOM, "Insufficient Memory. Close one or more Applications."
IDSAppName, "Golf"
IDSNoCardOnKing, "Can't play card on King"
IDSNotAdjacent, "Not adjacent to card on pile"
IDSWinner, "Congratulations!"
IDSGameOver, "Game Over - %2d cards left"
IDSGameOverS, "Game Over - 1 card left"
IDSRecordTitle, "Games\tWins\t1-5\t6-10\t11-15\t16-20\t21-25\t26-30\t31-35"
end
Golf ICON golf.ico
Golf MENU
BEGIN
POPUP "&Game"
BEGIN
MENUITEM "&New\tF2", IDM_NEWGAME
MENUITEM "&Backup\tBkSp", IDM_OPTIONSUNDO
MENUITEM "&Record...", IDM_GAMERECORD
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Options"
BEGIN
MENUITEM "&Deck...", IDM_OPTIONSDECK
MENUITEM "&Messages", IDM_OPTIONSERROR
END
POPUP "&Help"
BEGIN
MENUITEM "&Index\tF1", MENU_INDEX
MENUITEM "&How to Play", MENU_HOWTOPLAY
MENUITEM "&Commands", MENU_COMMANDS
MENUITEM "&Using Help", MENU_USINGHELP
MENUITEM SEPARATOR
MENUITEM "&About Golf...", IDM_ABOUT
END
END
Golf ACCELERATORS
begin
VK_F2, IDM_NEWGAME, VIRTKEY
VK_F1, MENU_INDEX, VIRTKEY
VK_BACK, IDM_OPTIONSUNDO, VIRTKEY
end
rcinclude golf.dlg
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Entertainment Pack Golf Game"
#define VER_INTERNALNAME_STR "golf\0"
#include "common.ver"