1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#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"
|