home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / pmchessr / resource.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-01  |  8.6 KB  |  283 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. **
  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.  
  74. /*
  75. **  Define File Menu ID's
  76. */
  77. #define IDM_FILE                0x0100
  78. #define IDM_FILE_NEW            0x0101
  79. #define IDM_FILE_OPEN           0x0102
  80. #define IDM_FILE_SAVE           0x0103
  81. #define IDM_FILE_SAVEAS         0x0104
  82. #define IDM_FILE_LIST           0x0105
  83. #define IDM_FILE_EXIT           0x0106
  84.  
  85. /*
  86. **  Define Edit Menu ID's
  87. */
  88. #define IDM_EDIT                0x0200
  89. #define IDM_EDIT_BOARD          0x0201
  90. #define IDM_EDIT_GAME           0x0202
  91. #define IDM_EDIT_UNDO           0x0203
  92. #define IDM_EDIT_REMOVE         0x0204
  93. #define IDM_EDIT_FORCE          0x0205
  94. #define IDM_EDIT_DONE           0x0206
  95.  
  96. /*
  97. **  Define Options Menu ID's
  98. */
  99. #define IDM_OPTIONS             0x0300
  100. #define IDM_OPTIONS_TONE        0x0301
  101. #define IDM_OPTIONS_COOR        0x0302
  102. #define IDM_OPTIONS_STATS       0x0303
  103. #define IDM_OPTIONS_SPEED       0x0304
  104. #define IDM_OPTIONS_HASH        0x0305
  105. #define IDM_OPTIONS_BOTH        0x0306
  106. #define IDM_OPTIONS_BOOK        0x0307
  107. #define IDM_OPTIONS_AWINDOW     0x0308
  108. #define IDM_OPTIONS_BWINDOW     0x0309
  109. #define IDM_OPTIONS_CONTEMP     0x030A
  110.  
  111. /*
  112. **  Define Skill Menu ID's
  113. */
  114. #define IDM_SKILL               0x0400
  115. #define IDM_SKILL_TIME          0x0401
  116. #define IDM_SKILL_RANDOM        0x0402
  117. #define IDM_SKILL_EASY          0x0403
  118. #define IDM_SKILL_DEPTH         0x0404
  119.  
  120. /*
  121. **  Define Side Menu ID's
  122. */
  123. #define IDM_SIDE                0x0500
  124. #define IDM_SIDE_REVERSE        0x0501
  125. #define IDM_SIDE_SWITCH         0x0502
  126. #define IDM_SIDE_BLACK          0x0503
  127. #define IDM_SIDE_WHITE          0x0504
  128.  
  129. /*
  130. **  Define Colors Menu ID's
  131. */
  132. #define IDM_COLORS              0x0600
  133. #define IDM_COLORS_BACKGROUND   0x0601
  134. #define IDM_COLORS_BSQUARES     0x0602
  135. #define IDM_COLORS_WSQUARES     0x0603
  136. #define IDM_COLORS_BPIECES      0x0604
  137. #define IDM_COLORS_WPIECES      0x0605
  138. #define IDM_COLORS_TEXT         0x0606
  139. #define IDM_COLORS_DEFAULT      0x0607
  140.  
  141. /*
  142. **  Define Colors Menu ID's
  143. */
  144. #define IDM_HINT                0x0700
  145.  
  146. /*
  147. **  Define Help Menu ID's
  148. */
  149. #define IDM_HELP                0x0800
  150. #define IDM_HELP_DISPLAY        0x0801
  151. #define IDM_HELP_EXT            0x0802
  152. #define IDM_HELP_KEYS           0x0803
  153. #define IDM_HELP_INDEX          0x0804
  154. #define IDM_HELP_ABOUT          0x0805
  155.  
  156.  
  157. /*
  158. **  Define General Purpose Dialog Control Item ID's
  159. */
  160. #define IDC_NULL        -1
  161. #define IDC_OK              1
  162. #define IDC_CANCEL          2
  163. #define IDC_EDIT         3
  164. #define IDC_INFO            4
  165. #define IDC_HELP            5
  166. #define IDC_ADD             6
  167. #define IDC_CHANGE          7
  168. #define IDC_DELETE          8
  169. #define IDC_RESET           9
  170. #define IDC_LISTBOX         10
  171. #define IDC_FILE            11
  172. #define IDC_PATH            12
  173. #define IDC_TYPE            13
  174. #define IDC_DRIVE           14
  175. #define IDC_FILELIST        15
  176. #define IDC_PATHLIST        16
  177.  
  178.  
  179. /*
  180. **  File Menu Item Dialog ID's.
  181. */
  182. #define IDC_FILE_WIDTH              0x1000
  183. #define IDC_FILE_HEIGHT             0x1001
  184. #define IDC_FILE_COLORS             0x1002
  185. #define IDC_FILE_CM                 0x1003
  186. #define IDC_FILE_IN                 0x1004
  187. #define IDC_FILE_PX                 0x1005
  188. #define IDC_FILE_SCREEN             0x1006
  189. #define IDC_FILE_PRINTER            0x1007
  190.  
  191. /*
  192. **  Define IDD_COLORS Dialog Control Item ID's
  193. */
  194. #define IDC_COLORS_HEADER           0x2100
  195. #define IDC_COLORS_BLACK            0x2101
  196. #define IDC_COLORS_BLUE             0x2102
  197. #define IDC_COLORS_GREEN            0x2103
  198. #define IDC_COLORS_CYAN             0x2104
  199. #define IDC_COLORS_RED              0x2105
  200. #define IDC_COLORS_PINK             0x2106
  201. #define IDC_COLORS_YELLOW           0x2107
  202. #define IDC_COLORS_PALEGRAY         0x2108
  203. #define IDC_COLORS_DARKGRAY         0x2109
  204. #define IDC_COLORS_DARKBLUE         0x210A
  205. #define IDC_COLORS_DARKGREEN        0x210B
  206. #define IDC_COLORS_DARKCYAN         0x210C
  207. #define IDC_COLORS_DARKRED          0x210D
  208. #define IDC_COLORS_DARKPINK         0x210E
  209. #define IDC_COLORS_BROWN            0x210F
  210. #define IDC_COLORS_WHITE            0x2110
  211.  
  212. /*
  213. **  Define IDD_PROMOTE Dialog Control Item ID's
  214. */
  215. #define IDC_PROMOTE_QUEEN           0x2200
  216. #define IDC_PROMOTE_ROOK            0x2201
  217. #define IDC_PROMOTE_BISHOP          0x2202
  218. #define IDC_PROMOTE_KNIGHT          0x2203
  219.  
  220. /*
  221. **  Define IDD_TEST Dialog Control Item ID's
  222. */
  223. #define IDC_TEST_MOVELIST           0x2300
  224. #define IDC_TEST_CAPTURELIST        0x2301
  225.  
  226. /*
  227. **  Define IDD_STATS Dialog Control Item ID's
  228. */
  229. #define IDC_STATS_DEPTH             0x2400
  230. #define IDC_STATS_POSITION          0x2401
  231. #define IDC_STATS_SCORE             0x2402
  232. #define IDC_STATS_NODES             0x2403
  233. #define IDC_STATS_RATE              0x2404
  234. #define IDC_STATS_BEST              0x2405
  235.  
  236. /*
  237. **  Define IDD_SKILL_TIME Dialog Control Item ID's
  238. */
  239. #define IDC_SKILL_T5            0x0405
  240. #define IDC_SKILL_T15           0x0406
  241. #define IDC_SKILL_T30           0x0407
  242. #define IDC_SKILL_T60           0x0408
  243. #define IDC_SKILL_T600          0x0409
  244. #define IDC_SKILL_M1            0x040A
  245. #define IDC_SKILL_M10           0x040B
  246. #define IDC_SKILL_M20           0x040C
  247. #define IDC_SKILL_M40           0x040D
  248. #define IDC_SKILL_M60           0x040E
  249.  
  250. /*
  251. **  Define IDD_NUMDLG Dialog Control Item ID's
  252. */
  253. #define IDC_NUMDLG_CHAR             0x2500
  254. #define IDC_NUMDLG_INT              0x2501
  255.  
  256.  
  257. /*
  258. **  Define String Resource ID's
  259. */
  260. #define IDS_CHESS                    1
  261. #define IDS_ILLEGALMOVE              2
  262. #define IDS_AMBIGUOUSMOVE            3
  263. #define IDS_OBAE                     4
  264. #define IDS_OBNF                     5
  265. #define IDS_UNABLESAVE               6
  266. #define IDS_UNABLELIST               7
  267. #define IDS_DRAWGAME                 8
  268. #define IDS_YOUWIN                   9
  269. #define IDS_COMPUTERWIN             10
  270. #define IDS_MATESOON                11
  271. #define IDS_COMPMATE                12
  272. #define IDS_TTABLEAF                13
  273. #define IDS_SQDATAAF                14
  274. #define IDS_HISTORYAF               15
  275. #define IDS_TREEAF                  16
  276. #define IDS_GAMEAF                  17
  277. #define IDS_LOADFAILED              18
  278. #define IDS_SETAWIN                 19
  279. #define IDS_SETBWIN                 20
  280. #define IDS_SETCONTEMPT             21
  281. #define IDS_MAXSEARCH               22
  282. #define IDS_INITERROR               23
  283.