home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / OS2 / SPEL / UCHESS / UCHESSRC / UCHESS.RC < prev    next >
Text File  |  1994-11-07  |  4KB  |  117 lines

  1. #include <os2.h>
  2.  
  3. #include "UChess.h"
  4.  
  5. ICON ID_FRAME_RES UChess.ICO
  6.  
  7. MENU MENU_ID PRELOAD
  8. {
  9.    SUBMENU  "~Game", 10
  10.       {
  11.          MENUITEM "~Load Game",                IDM_LOADGAME
  12.          MENUITEM "~Save Game",                IDM_SAVEGAME
  13.          MENUITEM SEPARATOR
  14.          MENUITEM "L~ist Game",                IDM_LISTGAME
  15.          MENUITEM "~New Game",                 IDM_NEWGAME
  16.          MENUITEM SEPARATOR
  17.          MENUITEM "E~xit\tAlt+X",                 IDM_EXIT
  18.       }
  19.    SUBMENU  "~Options",    20
  20.       {
  21.          MENUITEM "~Time Controls",          IDM_TIMECONTROL
  22.          MENUITEM "~Players",            IDM_PLAYERS
  23.          MENUITEM "Toggle ~Beep",            IDM_LOOK
  24.          MENUITEM "Toggle ~Verbose", IDM_VERBOSE
  25.          MENUITEM "~Skill Level",            IDM_SKILL
  26.       }
  27.    SUBMENU  "~Special",    30
  28.       {
  29.          MENUITEM "~Hint\tAlt+H",            IDM_HINT
  30.          MENUITEM "~Move Now\tAlt+M",            IDM_MOVENOW
  31.          MENUITEM "~Undo Move",            IDM_TAKEBACK
  32.          MENUITEM SEPARATOR
  33.          MENUITEM "~Edit Board",            IDM_EDIT
  34.          MENUITEM SEPARATOR
  35.          MENUITEM "~Calc Pgm Rating",          IDM_CALC
  36.          MENUITEM "~Test CPU Speed",            IDM_TEST
  37.       }
  38.    SUBMENU  "~Help",    40
  39.       {
  40.          MENUITEM "~Help index",            IDM_HELPINDEX
  41.          MENUITEM "~General help",          IDM_HELPEXTENDED
  42.       /*   MENUITEM "~Keys help",             IDM_HELPKEYS */
  43.          MENUITEM "~Using help",            IDM_HELPHELPFORHELP
  44.          MENUITEM SEPARATOR
  45.          MENUITEM "~Product information...",IDM_HELPPRODUCTINFO
  46.       }
  47. }
  48.  
  49. ACCELTABLE MENU_ID PRELOAD
  50. {
  51.     "X",     IDM_EXIT,          ALT
  52.     "x",     IDM_EXIT,          ALT
  53.     "H",     IDM_HINT,          ALT
  54.     "h",     IDM_HINT,          ALT
  55.     "M",     IDM_MOVENOW,          ALT
  56.     "m",     IDM_MOVENOW,          ALT
  57. }
  58.  
  59.  
  60.  
  61. /*--------------------------------------------------------------*\
  62.  *  Help table definition                                       *
  63. \*--------------------------------------------------------------*/
  64. HELPTABLE   UCHESS_HELP_TABLE
  65. {
  66.     HELPITEM   MENU_ID,     SUBTABLE_MAIN,            PANEL_MAIN
  67. //    HELPITEM   IDD_TIMEDLG, SUBTABLE_TIMEDLG,  PANEL_TIMEDLG
  68.  //   HELPITEM   IDD_SKILL,    SUBTABLE_SKILLDLG,  PANEL_SKILLDLG
  69. }
  70.  
  71. /*--------------------------------------------------------------*\
  72.  *  Main window subtable, includes menu item help               *
  73. \*--------------------------------------------------------------*/
  74. HELPSUBTABLE SUBTABLE_MAIN
  75. SUBITEMSIZE     2
  76. {
  77.     HELPSUBITEM     IDM_HELPHELPFORHELP,     PANEL_HELPHELPFORHELP
  78.     HELPSUBITEM     IDM_HELPEXTENDED,        PANEL_HELPEXTENDED
  79.     HELPSUBITEM     IDM_HELPKEYS,            PANEL_HELPKEYS
  80.     HELPSUBITEM     IDM_HELPINDEX,           PANEL_HELPINDEX
  81.  
  82.     HELPSUBITEM     IDM_SKILL,               PANEL_SKILLMENU
  83.     HELPSUBITEM     IDM_TIMECONTROL,                PANEL_TIMEMENU
  84.     HELPSUBITEM     IDM_PLAYERS,                PANEL_PLAYERMENU
  85.     HELPSUBITEM     IDM_HINT,                PANEL_HINT
  86.     HELPSUBITEM     IDM_MOVENOW,                PANEL_MOVENOW
  87.     HELPSUBITEM     IDM_TAKEBACK,                PANEL_UNDO
  88.     HELPSUBITEM     IDM_EDIT,                PANEL_EDIT
  89.     HELPSUBITEM     IDM_CALC,                PANEL_CALC
  90.     HELPSUBITEM     IDM_TEST,                PANEL_TEST
  91.     HELPSUBITEM     IDM_LOOK,                PANEL_BEEP
  92.     HELPSUBITEM     IDM_VERBOSE,                PANEL_VERBOSE
  93. /*    HELPSUBITEM     IDM_SET,                 PANEL_HELPSET*/
  94. /*    HELPSUBITEM     IDM_ON,                  PANEL_HELPON*/
  95. /*    HELPSUBITEM     IDM_OFF,                 PANEL_HELPOFF*/
  96. }
  97.  
  98. /*--------------------------------------------------------------*\
  99.  *  Enter text dialog help subtable                             *
  100. \*--------------------------------------------------------------*/
  101. //HELPSUBTABLE SUBTABLE_TIMEDLG
  102. //SUBITEMSIZE     2
  103. //{
  104. //    HELPSUBITEM     IDD_ENTRYFLD,            PANEL_PRODUCTINFO_OK
  105. //    HELPSUBITEM     DID_OK,                  PANEL_PRODUCTINFO_OK
  106. //}
  107.  
  108. STRINGTABLE
  109. {
  110.     IDS_HELPLIBRARYNAME         "UChess.HLP"
  111.     IDS_HELPWINDOWTITLE         "UChess Help"
  112. }
  113.  
  114.  
  115. rcinclude uchess.dlg
  116.  
  117.