home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games 3 / cd.iso / os2 / pmgnuchs / resource.h < prev    next >
C/C++ Source or Header  |  1994-04-19  |  9KB  |  294 lines

  1. /*
  2. **  Copyright (C) 1986, 1987, 1988, 1989, 1990 Free Software Foundation, Inc.
  3. **  Copyright (c) 1988, 1989, 1990  John Stanback
  4. **
  5. **  Project:    OS/2 PM Port of GNU CHESS 3.1 (PmChess)
  6. **
  7. **  Version:    1990-11-17
  8. **
  9. **  Include:    Resource Include (Resource.h)
  10. **
  11. **   Porter:    Ported to Windows 3.0 by Darly Baker
  12. **
  13. **   Porter:    Ported to OS/2 1.2+ by Kent Cedola
  14. **
  15. **   System:    OS2 1.2 using Microsoft C 6.0
  16. **
  17. **  License:
  18. **
  19. **    CHESS is distributed in the hope that it will be useful, but WITHOUT ANY
  20. **    WARRANTY.  No author or distributor accepts responsibility to anyone for
  21. **    the consequences of using it or for whether it serves any particular
  22. **    purpose or works at all, unless he says so in writing.  Refer to the
  23. **    CHESS General Public License for full details.
  24. **
  25. **    Everyone is granted permission to copy, modify and redistribute CHESS,
  26. **    but only under the conditions described in the CHESS General Public
  27. **    License.  A copy of this license is supposed to have been given to you
  28. **    along with CHESS so you can know your rights and responsibilities.  It
  29. **    should be in a file named COPYING.  Among other things, the copyright
  30. **    notice and this notice must be preserved on all copies.
  31. */
  32.  
  33.  
  34. /*
  35. **  Define Window Resource ID's
  36. */
  37. #define IDR_PMCHESS             32
  38. #define IDR_EDIT                33
  39.  
  40. /*
  41. *bitmap id*
  42. */
  43. #define IDB_PAWNBASE            34
  44. #define IDB_PAWN                35
  45. #define IDB_KNIGHT              36
  46. #define IDB_BISHOP              37
  47. #define IDB_ROOK                38
  48. #define IDB_QUEEN               39
  49. #define IDB_KING                40
  50. #define IDB_PAWNM               41
  51. #define IDB_KNIGHTM             42
  52. #define IDB_BISHOPM             43
  53. #define IDB_ROOKM               44
  54. #define IDB_QUEENM              45
  55. #define IDB_KINGM               46
  56. #define IDB_PAWNO               47
  57. #define IDB_KNIGHTO             48
  58. #define IDB_BISHOPO             49
  59. #define IDB_ROOKO               50
  60. #define IDB_QUEENO              51
  61. #define IDB_KINGO               52
  62.  
  63. /*
  64. **  Define Dialog Resource ID's
  65. */
  66. #define    IDD_ABOUT            64
  67. #define    IDD_COLORS              65
  68. #define    IDD_PROMOTE             66
  69. #define    IDD_STATS               67
  70. #define    IDD_TEST                68
  71. #define    IDD_NUMDLG              69
  72. #define IDD_SKILL_TIME          70
  73. #define IDD_NOTAVAIL            71
  74. #define IDD_FILESAVE            72
  75.  
  76. /*
  77. **  Define File Menu ID's
  78. */
  79. #define IDM_FILE                0x0100
  80. #define IDM_FILE_NEW            0x0101
  81. #define IDM_FILE_OPEN           0x0102
  82. #define IDM_FILE_SAVE           0x0103
  83. #define IDM_FILE_SAVEAS         0x0104
  84. #define IDM_FILE_LIST           0x0105
  85. #define IDM_FILE_EXIT           0x0106
  86.  
  87. /*
  88. **  Define Edit Menu ID's
  89. */
  90. #define IDM_EDIT                0x0200
  91. #define IDM_EDIT_BOARD          0x0201
  92. #define IDM_EDIT_GAME           0x0202
  93. #define IDM_EDIT_UNDO           0x0203
  94. #define IDM_EDIT_REMOVE         0x0204
  95. #define IDM_EDIT_FORCE          0x0205
  96. #define IDM_EDIT_DONE           0x0206
  97. #define IDM_EDIT_MOVE           0x0207
  98. #define IDM_EDIT_STOP           0x0208
  99.  
  100. /*
  101. **  Define Options Menu ID's
  102. */
  103. #define IDM_OPTIONS             0x0300
  104. #define IDM_OPTIONS_TONE        0x0301
  105. #define IDM_OPTIONS_COOR        0x0302
  106. #define IDM_OPTIONS_STATS       0x0303
  107. #define IDM_OPTIONS_SPEED       0x0304
  108. #define IDM_OPTIONS_HASH        0x0305
  109. #define IDM_OPTIONS_BOTH        0x0306
  110. #define IDM_OPTIONS_BOOK        0x0307
  111. #define IDM_OPTIONS_AWINDOW     0x0308
  112. #define IDM_OPTIONS_BWINDOW     0x0309
  113. #define IDM_OPTIONS_CONTEMP     0x030A
  114.  
  115. /*
  116. **  Define Skill Menu ID's
  117. */
  118. #define IDM_SKILL               0x0400
  119. #define IDM_SKILL_TIME          0x0401
  120. #define IDM_SKILL_RANDOM        0x0402
  121. #define IDM_SKILL_EASY          0x0403
  122. #define IDM_SKILL_DEPTH         0x0404
  123.  
  124. /*
  125. **  Define Side Menu ID's
  126. */
  127. #define IDM_SIDE                0x0500
  128. #define IDM_SIDE_REVERSE        0x0501
  129. #define IDM_SIDE_SWITCH         0x0502
  130. #define IDM_SIDE_BLACK          0x0503
  131. #define IDM_SIDE_WHITE          0x0504
  132. #define IDM_SIDE_REFRESH        0x0505
  133.  
  134. /*
  135. **  Define Colors Menu ID's
  136. */
  137. #define IDM_COLORS              0x0600
  138. #define IDM_COLORS_BACKGROUND   0x0601
  139. #define IDM_COLORS_BSQUARES     0x0602
  140. #define IDM_COLORS_WSQUARES     0x0603
  141. #define IDM_COLORS_BPIECES      0x0604
  142. #define IDM_COLORS_WPIECES      0x0605
  143. #define IDM_COLORS_TEXT         0x0606
  144. #define IDM_COLORS_DEFAULT      0x0607
  145.  
  146. /*
  147. **  Define Colors Menu ID's
  148. */
  149. #define IDM_HINT                0x0700
  150.  
  151. /*
  152. **  Define Help Menu ID's
  153. */
  154. #define IDM_HELP                0x0800
  155. #define IDM_HELP_DISPLAY        0x0801
  156. #define IDM_HELP_EXT            0x0802
  157. #define IDM_HELP_KEYS           0x0803
  158. #define IDM_HELP_INDEX          0x0804
  159. #define IDM_HELP_ABOUT          0x0805
  160.  
  161. /*
  162. **  Define General Purpose Dialog Control Item ID's
  163. */
  164. #define IDC_NULL        -1
  165. #define IDC_OK              1
  166. #define IDC_CANCEL          2
  167. #define IDC_EDIT         3
  168. #define IDC_INFO            4
  169. #define IDC_HELP            5
  170. #define IDC_ADD             6
  171. #define IDC_CHANGE          7
  172. #define IDC_DELETE          8
  173. #define IDC_RESET           9
  174. #define IDC_LISTBOX         10
  175. #define IDC_FILE            11
  176. #define IDC_PATH            12
  177. #define IDC_TYPE            13
  178. #define IDC_DRIVE           14
  179. #define IDC_FILELIST        15
  180. #define IDC_PATHLIST        16
  181.  
  182.  
  183. /*
  184. **  File Menu Item Dialog ID's.
  185. */
  186. #define IDC_FILE_WIDTH              0x1000
  187. #define IDC_FILE_HEIGHT             0x1001
  188. #define IDC_FILE_COLORS             0x1002
  189. #define IDC_FILE_CM                 0x1003
  190. #define IDC_FILE_IN                 0x1004
  191. #define IDC_FILE_PX                 0x1005
  192. #define IDC_FILE_SCREEN             0x1006
  193. #define IDC_FILE_PRINTER            0x1007
  194.  
  195. /*
  196. **  Define IDD_COLORS Dialog Control Item ID's
  197. */
  198. #define IDC_COLORS_HEADER           0x2100
  199. #define IDC_COLORS_BLACK            0x2101
  200. #define IDC_COLORS_BLUE             0x2102
  201. #define IDC_COLORS_GREEN            0x2103
  202. #define IDC_COLORS_CYAN             0x2104
  203. #define IDC_COLORS_RED              0x2105
  204. #define IDC_COLORS_PINK             0x2106
  205. #define IDC_COLORS_YELLOW           0x2107
  206. #define IDC_COLORS_PALEGRAY         0x2108
  207. #define IDC_COLORS_DARKGRAY         0x2109
  208. #define IDC_COLORS_DARKBLUE         0x210A
  209. #define IDC_COLORS_DARKGREEN        0x210B
  210. #define IDC_COLORS_DARKCYAN         0x210C
  211. #define IDC_COLORS_DARKRED          0x210D
  212. #define IDC_COLORS_DARKPINK         0x210E
  213. #define IDC_COLORS_BROWN            0x210F
  214. #define IDC_COLORS_WHITE            0x2110
  215.  
  216. /*
  217. **  Define IDD_PROMOTE Dialog Control Item ID's
  218. */
  219. #define IDC_PROMOTE_QUEEN           0x2200
  220. #define IDC_PROMOTE_ROOK            0x2201
  221. #define IDC_PROMOTE_BISHOP          0x2202
  222. #define IDC_PROMOTE_KNIGHT          0x2203
  223.  
  224. /*
  225. **  Define IDD_TEST Dialog Control Item ID's
  226. */
  227. #define IDC_TEST_MOVELIST           0x2300
  228. #define IDC_TEST_CAPTURELIST        0x2301
  229.  
  230. /*
  231. **  Define IDD_STATS Dialog Control Item ID's
  232. */
  233. #define IDC_STATS_DEPTH             0x2400
  234. #define IDC_STATS_POSITION          0x2401
  235. #define IDC_STATS_SCORE             0x2402
  236. #define IDC_STATS_NODES             0x2403
  237. #define IDC_STATS_RATE              0x2404
  238. #define IDC_STATS_BEST              0x2405
  239.  
  240. /*
  241. **  Define IDD_SKILL_TIME Dialog Control Item ID's
  242. */
  243. #define IDC_SKILL_T5            0x0405
  244. #define IDC_SKILL_T15           0x0406
  245. #define IDC_SKILL_T30           0x0407
  246. #define IDC_SKILL_T60           0x0408
  247. #define IDC_SKILL_T600          0x0409
  248. #define IDC_SKILL_M1            0x040A
  249. #define IDC_SKILL_M10           0x040B
  250. #define IDC_SKILL_M20           0x040C
  251. #define IDC_SKILL_M40           0x040D
  252. #define IDC_SKILL_M60           0x040E
  253.  
  254. /*
  255. **  Define IDD_NUMDLG Dialog Control Item ID's
  256. */
  257. #define IDC_NUMDLG_CHAR             0x2500
  258. #define IDC_NUMDLG_INT              0x2501
  259.  
  260. /*
  261. **  Define String Resource ID's
  262. */
  263. #define IDS_CHESS                    1
  264. #define IDS_ILLEGALMOVE              2
  265. #define IDS_AMBIGUOUSMOVE            3
  266. #define IDS_OBAE                     4
  267. #define IDS_OBNF                     5
  268. #define IDS_UNABLESAVE               6
  269. #define IDS_UNABLELIST               7
  270. #define IDS_DRAWGAME                 8
  271. #define IDS_YOUWIN                   9
  272. #define IDS_COMPUTERWIN             10
  273. #define IDS_MATESOON                11
  274. #define IDS_COMPMATE                12
  275. #define IDS_TTABLEAF                13
  276. #define IDS_SQDATAAF                14
  277. #define IDS_HISTORYAF               15
  278. #define IDS_TREEAF                  16
  279. #define IDS_GAMEAF                  17
  280. #define IDS_LOADFAILED              18
  281. #define IDS_SETAWIN                 19
  282. #define IDS_SETBWIN                 20
  283. #define IDS_SETCONTEMPT             21
  284. #define IDS_MAXSEARCH               22
  285. #define IDS_INITERROR               23
  286. #define IDS_SAVE                    24
  287. #define IDS_HELPWINDOWTITLE         25
  288. #define IDS_HELPLIBRARYNAME         26
  289.  
  290. #define IDMSG_CANNOTLOADSTRING      1
  291. #define IDMSG_HELPDISPLAYERROR      2
  292. #define IDMSG_HELPLOADERROR         3
  293. #define IDMSG_YOURTUTORIAL          4
  294.