-
Notifications
You must be signed in to change notification settings - Fork 100
/
resource.rc
258 lines (214 loc) · 14.9 KB
/
resource.rc
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(简体,中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICONBIG ICON "Resource\\2048_256.ico"
IDI_ICONSMALL ICON "Resource\\2048_16.ico"
IDI_ABOUT ICON "Resource\\K_32.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUT DIALOGEX 0, 0, 214, 153
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_CAPTION
CAPTION "说明"
FONT 9, "宋体", 400, 0, 0x0
BEGIN
LTEXT "·键盘上下左右可移动色块。\n·按下Enter或空格键可随机走一步。\n·每得一万分可得到一次撤销机会。\n·高于1000分才能进排行榜。\n·随机开局的游戏必须超过8步才能认定为\n 玩家成绩,否则在排行榜中显示为“随\n 机”。",IDC_STATIC1,51,12,154,63
PUSHBUTTON "确定",IDOK,81,130,50,14
ICON IDI_ABOUT,IDC_STATIC,16,17,20,20
CTEXT "献给我最爱的兔子。",IDC_STATIC2,0,80,213,8
CTEXT "作者:Tom Willow\n\[email protected]",IDC_STATIC3,0,98,213,28
END
IDD_DIALOGNAME DIALOGEX 0, 0, 177, 65
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_CAPTION
CAPTION "恭喜你登上排行榜!"
FONT 9, "宋体", 400, 0, 0x0
BEGIN
EDITTEXT IDC_EDITNAME,57,16,105,14,ES_AUTOHSCROLL
PUSHBUTTON "确定",IDOK,41,44,44,14
PUSHBUTTON "取消",IDCANCEL,91,44,44,14
LTEXT "留下大名:",IDC_STATIC,15,18,41,8
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
"IDD_ABOUT", DIALOG
BEGIN
END
"IDD_DIALOGNAME", DIALOG
BEGIN
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404b0"
BEGIN
VALUE "CompanyName", "Tom Willow"
VALUE "FileDescription", "您可任意传播该程序,但禁止用于商业用途。献给我最爱的兔子。"
VALUE "FileVersion", "1.0.1.0"
VALUE "InternalName", "2048 PC极速版v1.01.exe"
VALUE "LegalCopyright", "Tom Willow"
VALUE "OriginalFilename", "2048 PC极速版v1.01.exe"
VALUE "ProductName", "2048 PC极速版"
VALUE "ProductVersion", "1.0.1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//
IDR_WAVE1 WAVE "Resource\\1.wav"
IDR_CONGRATULATIONS WAVE "Resource\\039.wav"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_STRING_APPTITLE "2048 PC极速版v%d.%d%d by Tom Willow"
IDS_STRING_HIGHSCORE "最高分"
END
STRINGTABLE
BEGIN
IDS_STRING_SCORE "分数"
IDS_STRING_NEWGAME " 新游戏"
IDS_STRING_RANDOM "随机开局"
IDS_STRING_REDO "撤销(%d)"
IDS_STRING_SCOREBOARD "排行榜"
IDS_STRING_ABOUT "说明"
IDS_STRING_MEMO1 "把这些数合出2048!"
IDS_STRING_MEMO2 "玩法:上下左右,移动色块,合出更大的数字!"
IDS_STRING_CLOSETEXT "是否退出?\n(当前游戏将被保存)"
IDS_STRING_CLOSE "退出"
IDS_STRING_FAILTOSAVE "进度保存失败。"
IDS_STRING_PROMPT "提示"
IDS_STRING_STARTRANDOMTEXT "是否随机开局?\n(将开始新游戏)"
IDS_STRING_STARTRANDOM "随机开局"
END
STRINGTABLE
BEGIN
IDS_STRING_SCOREBOARD1 "\t--- 排行榜 ---\n"
IDS_STRING_SCOREBOARD2 "\n 排名 姓名\t 得分"
IDS_STRING_SCOREBOARD3 "\n %2d %-10.10s\t %-d分"
IDS_STRING_ABOUTTEXT1 "·键盘上下左右可移动色块。\n·按下Enter或空格键可随机走一步。\n·每得一万分可得到一次撤销机会。\n·高于1000分才能进排行榜。\n·随机开局的游戏必须超过8步才能认定为\n 玩家成绩,否则在排行榜中显示为“随\n 机”。"
IDS_STRING_ABOUTTEXT2 "献给我最爱的兔子。"
IDS_STRING_ABOUTTEXT3 "作者:Tom Willow\n\[email protected]"
IDS_STRING_OK "确定"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// 英语 resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_STRING_APPTITLE "2048 PC Quick Version%d.%d%d by Tom Willow"
IDS_STRING_HIGHSCORE "HighScore"
END
STRINGTABLE
BEGIN
IDS_STRING_SCORE "Score"
IDS_STRING_NEWGAME "New Game"
IDS_STRING_RANDOM "Random"
IDS_STRING_REDO "Redo(%d)"
IDS_STRING_SCOREBOARD "Scoreboard"
IDS_STRING_ABOUT "About"
IDS_STRING_MEMO1 "Combine these number to 2048 !"
IDS_STRING_MEMO2 "Play : Press the Keyboard to move the blocks."
IDS_STRING_CLOSETEXT "Do you want to quit?\n(Current game will be saved)"
IDS_STRING_CLOSE "Quit"
IDS_STRING_FAILTOSAVE "Fail to save the game."
IDS_STRING_PROMPT "Prompt"
IDS_STRING_STARTRANDOMTEXT
"Do you want to start a random game?\n(It will be a new game)"
IDS_STRING_STARTRANDOM "Random Game"
END
STRINGTABLE
BEGIN
IDS_STRING_SCOREBOARD1 "\t--- Scoreboard ---\n"
IDS_STRING_SCOREBOARD2 "\n Rank Name\t Score"
IDS_STRING_SCOREBOARD3 "\n %2d %-10.10s\t %-d"
IDS_STRING_ABOUTTEXT1 "Press the keys of UP, DOWN, LEFT, RIGHT to move the color blocks.\nYou can go a random step by pressing Enter or the space bar.\nYou get a opportunity to withdraw for every 10,000 points earned.\nAbove 1000 points to enter the leaderboard.\nRandom start of the game must play more than 8 steps in order to be recognized as player's result, or displayed as ""Machine"" in the scoreboard."
IDS_STRING_ABOUTTEXT2 "To my favorite Haeschen."
IDS_STRING_ABOUTTEXT3 "Author: Tom Willow\n\[email protected]"
IDS_STRING_OK "OK"
END
#endif // 英语 resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED