Fighter.rc
上传用户:hydatong
上传日期:2022-08-07
资源大小:219k
文件大小:13k
源码类别:

游戏

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // Chinese (P.R.C.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  18. #endif //_WIN32
  19. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Dialog
  22. //
  23. IDD_FIGHTER_DIALOG DIALOGEX 0, 0, 358, 257
  24. STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  25. EXSTYLE WS_EX_APPWINDOW
  26. CAPTION "打飞机"
  27. FONT 9, "宋体", 0, 0, 0x1
  28. BEGIN
  29.     CONTROL         "Button1",IDC_BUTTON_NEW,"Button",BS_OWNERDRAW | 
  30.                     WS_TABSTOP,219,32,33,11
  31.     CONTROL         "Button2",IDC_BUTTON_POSITION,"Button",BS_OWNERDRAW | 
  32.                     WS_TABSTOP,258,32,33,11
  33.     CONTROL         "Button3",IDC_BUTTON_SAVE,"Button",BS_OWNERDRAW | 
  34.                     WS_TABSTOP,219,51,33,11
  35.     CONTROL         "Button4",IDC_BUTTON_OPTION,"Button",BS_OWNERDRAW | 
  36.                     WS_TABSTOP,258,51,33,11
  37.     CONTROL         "Button5",IDC_BUTTON_LOAD,"Button",BS_OWNERDRAW | 
  38.                     WS_TABSTOP,219,69,33,11
  39.     CONTROL         "Button6",IDC_BUTTON_QUIT,"Button",BS_OWNERDRAW | 
  40.                     WS_TABSTOP,258,69,33,11
  41. END
  42. IDD_RANK_PAGE DIALOG DISCARDABLE  0, 0, 220, 161
  43. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  44. CAPTION "排行榜"
  45. FONT 9, "宋体"
  46. BEGIN
  47.     LTEXT           "前十名炮手",IDC_STATIC,48,20,95,8
  48.     CONTROL         "List1",IDC_LIST_RANK,"SysListView32",LVS_REPORT | 
  49.                     WS_BORDER | WS_TABSTOP,21,50,173,102
  50.     ICON            IDI_GUN,IDC_STATIC,20,15,20,20
  51.     CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,40,206,1
  52. END
  53. IDD_CONGRADUATION DIALOG DISCARDABLE  0, 0, 135, 117
  54. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  55. CAPTION "恭喜恭喜"
  56. FONT 9, "宋体"
  57. BEGIN
  58.     EDITTEXT        IDC_NAME,50,28,78,13,ES_AUTOHSCROLL
  59.     CTEXT           "恭喜恭喜",IDC_STATIC,30,7,76,8
  60.     LTEXT           "姓名:",IDC_STATIC,7,31,27,9
  61.     EDITTEXT        IDC_BOMB,50,50,78,13,ES_AUTOHSCROLL | ES_READONLY
  62.     LTEXT           "炮弹数:",IDC_STATIC,7,53,38,8
  63.     EDITTEXT        IDC_PERCENTAGE,50,71,78,13,ES_AUTOHSCROLL | ES_READONLY
  64.     LTEXT           "命中率:",IDC_STATIC,7,75,34,8
  65.     DEFPUSHBUTTON   "OK",IDOK,43,96,50,14
  66. END
  67. IDD_ABOUT_PAGE DIALOGEX 0, 0, 220, 161
  68. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  69. CAPTION "关于"
  70. FONT 9, "宋体", 0, 0, 0x1
  71. BEGIN
  72.     ICON            IDR_MAINFRAME,IDC_STATIC,20,15,20,20
  73.     LTEXT           "打飞机 1.0版",IDC_STATIC,48,10,63,8,SS_NOPREFIX
  74.     LTEXT           "作者:魏镇江",IDC_STATIC,48,20,67,8
  75.     LTEXT           "个人主页:http://xiaogi.diy.163.com",IDC_HOMEPAGE,48,30,
  76.                     146,8
  77.     LTEXT           "Email:xiaogi@sohu.com",IDC_EMAIL,122,20,85,8
  78.     LTEXT           "版权所有 (C) 2002",IDC_STATIC,122,10,73,8
  79.     CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,40,206,1
  80.     LTEXT           "Static",IDC_DISPLAY_STATIC,7,45,206,109,0,
  81.                     WS_EX_CLIENTEDGE
  82. END
  83. IDD_SETTING_PAGE DIALOG DISCARDABLE  0, 0, 220, 161
  84. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  85. CAPTION "设置"
  86. FONT 9, "宋体"
  87. BEGIN
  88.     CONTROL         "打开音效",IDC_SOUND,"Button",BS_AUTOCHECKBOX | 
  89.                     WS_TABSTOP,15,49,92,8
  90.     CONTROL         "创建快捷方式",IDC_SHORTCUT,"Button",BS_AUTOCHECKBOX | 
  91.                     WS_TABSTOP,15,65,92,8
  92.     EDITTEXT        IDC_BOSS_FILE,29,126,162,12,ES_AUTOHSCROLL
  93.     PUSHBUTTON      "…",IDC_BROWSE_BOSS_FILE,195,126,11,11
  94.     LTEXT           "老板键打开的文件:",IDC_STATIC,29,112,82,8
  95.     CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,40,206,1
  96.     ICON            IDI_SETTING,IDC_STATIC,20,15,20,20
  97.     LTEXT           "进行游戏基本设置",IDC_STATIC,48,20,70,8
  98.     EDITTEXT        IDC_SHORTCUT_NAME,29,79,140,12,ES_AUTOHSCROLL
  99.     LTEXT           "老板键设置:",IDC_STATIC,15,99,92,8
  100. END
  101. IDD_QUIT DIALOG DISCARDABLE  0, 0, 162, 57
  102. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  103. CAPTION "退出"
  104. FONT 9, "宋体"
  105. BEGIN
  106.     DEFPUSHBUTTON   "退出",IDOK,88,36,35,14
  107.     PUSHBUTTON      "取消",IDCANCEL,37,36,35,14
  108.     ICON            IDR_MAINFRAME,IDC_STATIC,7,7,20,20
  109.     LTEXT           "确定要退出游戏吗?",IDC_STATIC,40,14,80,8
  110. END
  111. IDD_OPERATION_PAGE DIALOG DISCARDABLE  0, 0, 220, 161
  112. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  113. CAPTION "操作"
  114. FONT 9, "宋体"
  115. BEGIN
  116.     LTEXT           "游戏进行中的鼠标操作:",IDC_STATIC,7,51,104,8
  117.     LTEXT           "发炮弹。请先推断一下机头所在格。",IDC_STATIC,74,66,130,
  118.                     8
  119.     LTEXT           "左键双击:",IDC_STATIC,25,66,43,8
  120.     LTEXT           "左键单击:",IDC_STATIC,25,79,42,8
  121.     LTEXT           "表示你推断所点击的那格有飞机。",IDC_STATIC,74,79,124,8
  122.     LTEXT           "右键单击:",IDC_STATIC,25,92,41,8
  123.     LTEXT           "表示你推断所点击的那格没有飞机。",IDC_STATIC,74,92,133,
  124.                     8
  125.     LTEXT           "游戏手动布局时的鼠标操作:",IDC_STATIC,7,107,112,8
  126.     LTEXT           "左键单击:",IDC_STATIC,26,121,42,8
  127.     LTEXT           "表示该格分布为飞机头。",IDC_STATIC,75,121,124,8
  128.     LTEXT           "右键单击:",IDC_STATIC,26,133,41,8
  129.     LTEXT           "表示该格分布为飞机其他机身部位。",IDC_STATIC,75,133,133,
  130.                     8
  131.     ICON            IDI_MOUSE,IDC_STATIC,20,15,21,21
  132.     CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,40,206,1
  133.     LTEXT           "游戏中用到的基本鼠标操作",IDC_STATIC,48,20,133,8
  134. END
  135. /////////////////////////////////////////////////////////////////////////////
  136. //
  137. // DESIGNINFO
  138. //
  139. #ifdef APSTUDIO_INVOKED
  140. GUIDELINES DESIGNINFO DISCARDABLE 
  141. BEGIN
  142.     IDD_FIGHTER_DIALOG, DIALOG
  143.     BEGIN
  144.         LEFTMARGIN, 7
  145.         RIGHTMARGIN, 351
  146.         TOPMARGIN, 7
  147.         BOTTOMMARGIN, 250
  148.     END
  149.     IDD_RANK_PAGE, DIALOG
  150.     BEGIN
  151.         LEFTMARGIN, 7
  152.         RIGHTMARGIN, 212
  153.         TOPMARGIN, 8
  154.         BOTTOMMARGIN, 152
  155.     END
  156.     IDD_ABOUT_PAGE, DIALOG
  157.     BEGIN
  158.         LEFTMARGIN, 7
  159.         RIGHTMARGIN, 213
  160.         TOPMARGIN, 7
  161.         BOTTOMMARGIN, 154
  162.     END
  163.     IDD_SETTING_PAGE, DIALOG
  164.     BEGIN
  165.         LEFTMARGIN, 7
  166.         RIGHTMARGIN, 213
  167.         TOPMARGIN, 7
  168.         BOTTOMMARGIN, 154
  169.     END
  170.     IDD_QUIT, DIALOG
  171.     BEGIN
  172.         LEFTMARGIN, 7
  173.         RIGHTMARGIN, 155
  174.         TOPMARGIN, 7
  175.         BOTTOMMARGIN, 50
  176.     END
  177.     IDD_OPERATION_PAGE, DIALOG
  178.     BEGIN
  179.         LEFTMARGIN, 7
  180.         RIGHTMARGIN, 213
  181.         TOPMARGIN, 7
  182.         BOTTOMMARGIN, 154
  183.     END
  184. END
  185. #endif    // APSTUDIO_INVOKED
  186. #ifndef _MAC
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // Version
  190. //
  191. VS_VERSION_INFO VERSIONINFO
  192.  FILEVERSION 1,0,0,1
  193.  PRODUCTVERSION 1,0,0,1
  194.  FILEFLAGSMASK 0x3fL
  195. #ifdef _DEBUG
  196.  FILEFLAGS 0x1L
  197. #else
  198.  FILEFLAGS 0x0L
  199. #endif
  200.  FILEOS 0x4L
  201.  FILETYPE 0x1L
  202.  FILESUBTYPE 0x0L
  203. BEGIN
  204.     BLOCK "StringFileInfo"
  205.     BEGIN
  206.         BLOCK "080404b0"
  207.         BEGIN
  208.             VALUE "Comments", ""
  209.             VALUE "CompanyName", ""
  210.             VALUE "FileDescription", "打飞机 MFC应用程序"
  211.             VALUE "FileVersion", "1, 0, 0, 1"
  212.             VALUE "InternalName", "Fighter"
  213.             VALUE "LegalCopyright", "版权所有 (C) 2002"
  214.             VALUE "LegalTrademarks", ""
  215.             VALUE "OriginalFilename", "Fighter.EXE"
  216.             VALUE "PrivateBuild", ""
  217.             VALUE "ProductName", "打飞机应用程序"
  218.             VALUE "ProductVersion", "1, 0, 0, 1"
  219.             VALUE "SpecialBuild", ""
  220.         END
  221.     END
  222.     BLOCK "VarFileInfo"
  223.     BEGIN
  224.         VALUE "Translation", 0x804, 1200
  225.     END
  226. END
  227. #endif    // !_MAC
  228. #ifdef APSTUDIO_INVOKED
  229. /////////////////////////////////////////////////////////////////////////////
  230. //
  231. // TEXTINCLUDE
  232. //
  233. 1 TEXTINCLUDE DISCARDABLE 
  234. BEGIN
  235.     "resource.h"
  236. END
  237. 2 TEXTINCLUDE DISCARDABLE 
  238. BEGIN
  239.     "#include ""afxres.h""rn"
  240.     ""
  241. END
  242. 3 TEXTINCLUDE DISCARDABLE 
  243. BEGIN
  244.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  245.     "#define _AFX_NO_OLE_RESOURCESrn"
  246.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  247.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  248.     "rn"
  249.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)rn"
  250.     "#ifdef _WIN32rn"
  251.     "LANGUAGE 9, 1rn"
  252.     "#pragma code_page(936)rn"
  253.     "#endif //_WIN32rn"
  254.     "#include ""res\Fighter.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  255.     "#include ""afxres.rc""         // Standard componentsrn"
  256.     "#endifrn"
  257.     ""
  258. END
  259. #endif    // APSTUDIO_INVOKED
  260. /////////////////////////////////////////////////////////////////////////////
  261. //
  262. // Icon
  263. //
  264. // Icon with lowest ID value placed first to ensure application icon
  265. // remains consistent on all systems.
  266. IDR_MAINFRAME           ICON    DISCARDABLE     "res\Fighter.ico"
  267. IDI_SETTING             ICON    DISCARDABLE     "RES\setting.ico"
  268. IDI_GUN                 ICON    DISCARDABLE     "RES\gun.ico"
  269. IDI_MOUSE               ICON    DISCARDABLE     "res\mouse.ico"
  270. /////////////////////////////////////////////////////////////////////////////
  271. //
  272. // Bitmap
  273. //
  274. IDR_TOOLBAR             BITMAP  DISCARDABLE     "res\toolbar.bmp"
  275. IDB_FRAME               BITMAP  DISCARDABLE     "RES\frame.bmp"
  276. IDB_SAVE                BITMAP  DISCARDABLE     "RES\save.bmp"
  277. IDB_NEW                 BITMAP  DISCARDABLE     "RES\new.bmp"
  278. IDB_OPTION              BITMAP  DISCARDABLE     "RES\option.bmp"
  279. IDB_POSITION            BITMAP  DISCARDABLE     "RES\posi.bmp"
  280. IDB_QUIT                BITMAP  DISCARDABLE     "RES\quit.bmp"
  281. IDB_LOAD                BITMAP  DISCARDABLE     "RES\load.bmp"
  282. IDB_HEART               BITMAP  DISCARDABLE     "res\bitmap1.bmp"
  283. IDB_PLANE               BITMAP  DISCARDABLE     "res\plane.bmp"
  284. IDB_SHANSHUI            BITMAP  DISCARDABLE     "RES\shanshui.bmp"
  285. /////////////////////////////////////////////////////////////////////////////
  286. //
  287. // Cursor
  288. //
  289. IDC_HAND                CURSOR  DISCARDABLE     "res\hand.cur"
  290. /////////////////////////////////////////////////////////////////////////////
  291. //
  292. // Menu
  293. //
  294. IDR_MENU_POPUP MENU DISCARDABLE 
  295. BEGIN
  296.     POPUP "Popup"
  297.     BEGIN
  298.         MENUITEM "显示(&C)",                  ID_MENU_SHOW
  299.         MENUITEM "音效(&Y)",                  ID_MENU_SOUND
  300.         MENUITEM SEPARATOR
  301.         MENUITEM "保存(&S)...",               ID_MENU_SAVE
  302.         MENUITEM "载入(&L)