MAZE.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:9k
源码类别:

Windows编程

开发平台:

Visual C++

  1. #include "winmaze.h"
  2. MAZE ICON  MAZE.ICO
  3. //////////////////////////////////////////////////////////////////////////
  4. //////////////////////////////////////////////////////////////////////////
  5. LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
  6. MAZE MENU
  7.   BEGIN
  8.     POPUP  "&File"
  9.       BEGIN
  10.         MENUITEM "&New Game", IDM_F_NEWGAME
  11.         MENUITEM SEPARATOR
  12. MENUITEM "&Pause Game", IDM_O_PAUSE
  13. MENUITEM "&Stop Game", IDM_F_STOP
  14.         MENUITEM SEPARATOR
  15.         MENUITEM "E&xit", IDM_F_EXIT
  16.       END
  17.     POPUP  "&Options"
  18.       BEGIN
  19. MENUITEM "&Networked", IDM_O_NET, CHECKED
  20. MENUITEM "&Local", IDM_O_LOCAL
  21. MENUITEM SEPARATOR
  22. MENUITEM "&Pre-Stretch Players", IDM_O_PLAYERSTRETCH
  23. MENUITEM "Pre-Stretch d&Rones", IDM_O_DRONESTRETCH
  24. MENUITEM "&Bitmap Draw", IDM_O_BITMAP
  25. MENUITEM SEPARATOR
  26. MENUITEM "Player &Settings",IDM_O_PLAYERSET
  27. MENUITEM "&Drones", IDM_O_DRONES
  28.       END
  29.     MENUITEM "&About", IDM_ABOUT
  30.   END
  31. #include "MAZEDLG.DLG"
  32. FISHF BITMAP rscFISHF.BMP
  33. FISHL BITMAP rscFISHL.BMP
  34. FISHR BITMAP rscFISHR.BMP
  35. FISHB BITMAP rscFISHB.BMP
  36. FISHFM BITMAP rscFISHFM.BMP
  37. FISHLM BITMAP rscFISHLM.BMP
  38. FISHRM BITMAP rscFISHRM.BMP
  39. FISHBM BITMAP rscFISHBM.BMP
  40. REAPF BITMAP rscREAPF.BMP
  41. REAPL BITMAP rscREAPL.BMP
  42. REAPR BITMAP rscREAPR.BMP
  43. REAPB BITMAP rscREAPB.BMP
  44. REAPFM BITMAP rscREAPFM.BMP
  45. REAPLM BITMAP rscREAPLM.BMP
  46. REAPRM BITMAP rscREAPRM.BMP
  47. REAPBM BITMAP rscREAPBM.BMP
  48. ROBOF BITMAP rscROBOF.BMP
  49. ROBOL BITMAP rscROBOL.BMP
  50. ROBOR BITMAP rscROBOR.BMP
  51. ROBOB BITMAP rscROBOB.BMP
  52. ROBOFM BITMAP rscROBOFM.BMP
  53. ROBOLM BITMAP rscROBOLM.BMP
  54. ROBORM BITMAP rscROBORM.BMP
  55. ROBOBM BITMAP rscROBOBM.BMP
  56. SMILF BITMAP rscSMILF.BMP
  57. SMILL BITMAP rscSMILL.BMP
  58. SMILR BITMAP rscSMILR.BMP
  59. SMILB BITMAP rscSMILB.BMP
  60. SMILFM BITMAP rscSMILFM.BMP
  61. SMILLM BITMAP rscSMILLM.BMP
  62. SMILRM BITMAP rscSMILRM.BMP
  63. SMILBM BITMAP rscSMILBM.BMP
  64. FADE1 BITMAP rscFADE1.BMP
  65. FADE2 BITMAP rscFADE2.BMP
  66. SHOT1 BITMAP rscSHOT1.BMP
  67. SHOT2 BITMAP rscSHOT2.BMP
  68. MAZE BITMAP rscmaze.bmp
  69. STRINGTABLE
  70. BEGIN
  71.   IDS_ERR_CREATE_WINDOW,    "Window creation failed!"
  72.   IDS_ERR_REGISTER_CLASS,   "Error registering window class"
  73. IDS_MALLOCQUIT          "Out of memory -- Terminating."
  74. IDS_RECTALLOCFAIL       "Unable to allocate a rectangle"
  75. IDS_HSCONOTIMPL         "High Scores aren't implemented."
  76. IDS_SAFEZONE            "Nothing can harm you here."
  77. IDS_CRETMRFAIL          "Unable to create timer. Killing Game."
  78. IDS_SNDPCKTFAIL         "Unable to send Packet"
  79. IDS_RDSGRDTXTFLFAIL     "Unable to read SubGrids from text files"
  80. IDS_GETUSRNMFAIL        "Unable to get UserName"
  81. IDS_SNDQUITPCKTFAIL     "Unable to send 'leaving game' Packet"
  82. IDS_DEMOMODE            "Maze Lords - Demo Mode"
  83. IDS_MALLOCFAIL          "ERROR: Unable to allocate memory"
  84. IDS_MDFYSCO             "Modify score for unknown person"
  85. IDS_GETTXTMTRCSFAIL     "Unable to get text metrics. Scores/Text won't work right."
  86. IDS_SCOADD0FAIL         "Attempted to ADD 0 for SCORE ulID"
  87. IDS_CHGSCOFAIL          "Attempted to update nonexistant score."
  88. IDS_CHGDIRFAIL          "Attempted to update Direction."
  89. IDS_DELSCOFAIL          "Attempted to delete nonexistant score."
  90. IDS_BADCOMMSG              "Unknown WM_COMMAND message."
  91. IDS_MALLOCFAILABT       "Insufficient memory. Terminating program."
  92. IDS_FMT_DRONE           "Drone#%d"
  93. IDS_FMT_RUNDOWN         "You were run down by %s!"
  94. IDS_BADPCKTXMITFAIL     "Unknown packet ID -- Unable to transmit"
  95. IDS_CREMSLOTFAIL        "Unable to create MailSlot"
  96. IDS_CREMWATCHTHRFAIL    "Unable to create Mail Watch Thread"
  97. IDS_RDMSLOTFAIL         "Error reading from mailslot"
  98. IDS_FMT_JOIN            "%s has joined the game."
  99. IDS_FMT_ZAPPEDYOU       "%s Zapped you!"
  100. IDS_FMT_LEFT            "%s has left the game."
  101. IDS_FMT_HIT             "You hit Player %s!"
  102. IDS_BADMSG              "Received Unknown message ID"
  103. IDS_LDSGRIDRESFAIL      "Unable to load Subgrid Resource"
  104. IDS_FMT_BADNUMDRONES    "Number of Drones must be between 0 and %d."
  105. IDS_ERRINPUT            "Input Error"
  106. IDS_FMT_BADMOVESPERSEC  "Moves/Second must be between 0 and %d."
  107. IDS_TELEPORT            "You have been randomly teleported."
  108. IDS_SANCTUARY           "You materialize in the Sanctuary."
  109. IDS_NOVIOLENCE          "~<No violence allowed in the Sanctuary>~"
  110. IDS_FMT_YOUZAPPED       "You zapped %s!"
  111. IDS_FMT_SLEW            "You ran into %s and it slew you!"
  112. IDS_HSCO                "High Scores"
  113. IDS_FATALERR            "FATAL ERROR"
  114. IDS_ASKSTOP             "Do you really want to stop the game?"
  115. IDS_STOP                "Stop Game"
  116. IDS_INITFAIL            "Init Error"
  117. IDS_NETINIT             "Net Initialization"
  118. IDS_FMT_SANCTUARY       "You have %s the Sanctuary."
  119. IDS_ENTERED             "entered"
  120. IDS_LEFT                "left"
  121. IDS_FMT_BADPICNUM       "Unknown Pic #'%d' for %s: Using default."
  122. END
  123. RCINCLUDE grids.rc
  124. //////////////////////////////////////////////////////////////////////////
  125. //////////////////////////////////////////////////////////////////////////
  126. #ifdef JAPAN
  127. LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
  128. MAZE MENU
  129.   BEGIN
  130.     POPUP  "僼傽僀儖(&F)"
  131.       BEGIN
  132.         MENUITEM "怴婯僎乕儉(&N)",       IDM_F_NEWGAME
  133.         MENUITEM SEPARATOR
  134. MENUITEM "僎乕儉偺堦帪掆巭(&P)", IDM_O_PAUSE
  135. MENUITEM "僎乕儉偺掆巭(&S)",     IDM_F_STOP
  136.         MENUITEM SEPARATOR
  137.         MENUITEM "廔椆(&X)",             IDM_F_EXIT
  138.       END
  139.     POPUP  "僆僾僔儑儞(&O)"
  140.       BEGIN
  141. MENUITEM "僱僢僩儚乕僋(&N)",     IDM_O_NET, CHECKED
  142. MENUITEM "儘乕僇儖(&L)",         IDM_O_LOCAL
  143. MENUITEM SEPARATOR
  144. MENUITEM "梊傔僾儗乕儎偺嫃応強傪扵傞(&P)", IDM_O_PLAYERSTRETCH
  145. MENUITEM "梊傔僪儘乕儞偺嫃応強傪扵傞(&R)", IDM_O_DRONESTRETCH
  146. MENUITEM "價僢僩儅僢僾昞帵(&B)", IDM_O_BITMAP
  147. MENUITEM SEPARATOR
  148. MENUITEM "僾儗乕儎偺愝掕(&S)",   IDM_O_PLAYERSET
  149. MENUITEM "僪儘乕儞偺愝掕(&D)",   IDM_O_DRONES
  150.       END
  151.     MENUITEM "僶乕僕儑儞忣曬(&A)",       IDM_ABOUT
  152.   END
  153. STRINGTABLE
  154. BEGIN
  155.   IDS_ERR_CREATE_WINDOW,    "僂傿儞僪僂偺嶌惉偵幐攕偟傑偟偨!"
  156.   IDS_ERR_REGISTER_CLASS,   "僂傿儞僪僂 僋儔僗偺搊榐偱僄儔乕偑敪惗偟傑偟偨"
  157. IDS_MALLOCQUIT          "儊儌儕晄懌 -- 廔椆偟傑偡丅"
  158. IDS_RECTALLOCFAIL       "嬮宍偺妱傝摉偰偑偱偒傑偣傫"
  159. IDS_HSCONOTIMPL         "僴僀僗僐傾偼婰榐偝傟偰偄傑偣傫丅"
  160. IDS_SAFEZONE            "偙偙偱偼婋奞傪壛偊傜傟傞偙偲偼偁傝傑偣傫丅"
  161. IDS_CRETMRFAIL          "僞僀儅傪惗惉偱偒傑偣傫丅僎乕儉傪廔椆偟傑偡丅"
  162. IDS_SNDPCKTFAIL         "僷働僢僩偺憲怣偑偱偒傑偣傫"
  163. IDS_RDSGRDTXTFLFAIL     "僥僉僗僩僼傽僀儖偐傜 SubGrids 偺撉傒庢傝偵幐攕偟傑偟偨"
  164. IDS_GETUSRNMFAIL        "儐乕僓柤偺庢摼偵幐攕偟傑偟偨"
  165. IDS_SNDQUITPCKTFAIL     "'leaving game'僷働僢僩偺憲怣偵幐攕偟傑偟偨"
  166. IDS_DEMOMODE            "Maze Lords - 僨儌 儌乕僪"
  167. IDS_MALLOCFAIL          "僄儔乕: 儊儌儕偺妱傝摉偰偑偱偒傑偣傫"
  168. IDS_MDFYSCO             "晄柧側恖偺僗僐傾廋惓"
  169. IDS_GETTXTMTRCSFAIL     "僥僉僗僩 儊僩儕僢僋僗偺庢摼偑偱偒傑偣傫偺偱丄僗僐傾偼惓偟偔摦嶌偟側偄偱偟傚偆丅"
  170. IDS_SCOADD0FAIL         "僗僐傾ulID偵0傪捛壛偟傛偆偲偟傑偟偨"
  171. IDS_CHGSCOFAIL          "懚嵼偟側偄僗僐傾傪峏怴偟傛偆偲偟傑偟偨丅"
  172. IDS_CHGDIRFAIL          "曽埵偺峏怴偵幐攕偟傑偟偨丅"
  173. IDS_DELSCOFAIL          "懚嵼偟側偄僗僐傾傪嶍彍偟傛偆偲偟傑偟偨丅"
  174. IDS_BADCOMMSG              "晄柧側 WM_COMMAND 儊僢僙乕僕"
  175. IDS_MALLOCFAILABT       "儊儌儕晄懌偱偡丅僾儘僌儔儉傪廔椆偟傑偡丅"
  176. IDS_FMT_DRONE           "僪儘乕儞#%d"
  177. IDS_FMT_RUNDOWN         "%s 偵搢偝傟傑偟偨!"
  178. IDS_BADPCKTXMITFAIL     "晄柧側僷働僢僩ID -- 憲怣偱偒傑偣傫"
  179. IDS_CREMSLOTFAIL        "MailSlot 偺惗惉偵幐攕偟傑偟偨"
  180. IDS_CREMWATCHTHRFAIL    "MailWatchThread 偺惗惉偵幐攕偟傑偟偨"
  181. IDS_RDMSLOTFAIL         "mailslot 偺撉傒庢傝僄儔乕"
  182. IDS_FMT_JOIN            "%s 偑僎乕儉偵嶲壛偟傑偟偨丅"
  183. IDS_FMT_ZAPPEDYOU       "%s 偵搢偝傟傑偟偨!"
  184. IDS_FMT_LEFT            "%s 偑僎乕儉偐傜敳偗傑偟偨丅"
  185. IDS_FMT_HIT             "僾儗乕儎 %s 傪搢偟傑偟偨!"
  186. IDS_BADMSG              "晄柧側儊僢僙乕僕ID偑庴偗庢傜傟傑偟偨"
  187. IDS_LDSGRIDRESFAIL      "Subgrid 儕僜乕僗偺撉傒崬傒偵幐攕偟傑偟偨"
  188. IDS_FMT_BADNUMDRONES    "僪儘乕儞偺悢偼丄0 偐傜 %d 偺斖埻偱側偗傟偽側傝傑偣傫丅"
  189. IDS_ERRINPUT            "擖椡僄儔乕"
  190. IDS_FMT_BADMOVESPERSEC  "堏摦嫍棧/昩偼丄0 偐傜 %d 偺斖埻偱側偗傟偽側傝傑偣傫丅"
  191. IDS_TELEPORT            "儔儞僟儉側埵抲偵僥儗億乕僩偟傑偟偨丅"
  192. IDS_SANCTUARY           "惞堟偺拞偵偄傑偡丅"
  193. IDS_NOVIOLENCE          "~<惞堟撪偱偼婋奞傪壛偊傞偙偲偼嬛巭偝傟偰偄傑偡>~"
  194. IDS_FMT_YOUZAPPED       "%s 傪搢偟傑偟偨!"
  195. IDS_FMT_SLEW            "%s 偲徴撍偟偰搢偝傟偰偟傑偄傑偟偨!"
  196. IDS_HSCO                "僴僀僗僐傾"
  197. IDS_FATALERR            "抳柦揑側僄儔乕"
  198. IDS_ASKSTOP             "僎乕儉傪掆巭偟偰傕傛傠偟偄偱偡偐丠"
  199. IDS_STOP                "僎乕儉偺掆巭"
  200. IDS_INITFAIL            "弶婜壔僄儔乕"
  201. IDS_NETINIT             "僱僢僩儚乕僋偺弶婜壔"
  202. IDS_FMT_SANCTUARY       "惞堟%s丅"
  203. IDS_ENTERED              "偵擖傝傑偟偨"
  204. IDS_LEFT                "傪弌傑偟偨"
  205. IDS_FMT_BADPICNUM       "%s 偺晄柧側Pic #'%d': 婛掕抣傪揔梡偟傑偡丅"
  206. END
  207. #endif