/* resource set indices for GEM_RSC */

#define MENU               0 /* menu */
#define DOABOUT           12 /* STRING in tree MENU */
#define CURSORTOGGLE      25 /* STRING in tree MENU */
#define DOQUIT            30 /* STRING in tree MENU */

#define ROLECHOICE         1 /* form/dialog */
#define ROLEBOX            1 /* BOX in tree ROLECHOICE */
#define ROLE1              2 /* BUTTON in tree ROLECHOICE */
#define ROLEN             17 /* BUTTON in tree ROLECHOICE */
#define FLYROLECHOICE     18 /* IBOX in tree ROLECHOICE */
#define QROLE             19 /* BUTTON in tree ROLECHOICE */
#define OKROLE            20 /* BUTTON in tree ROLECHOICE */

#define STATUSLINE         2 /* form/dialog */
#define GRABSTATUS         1 /* BOX in tree STATUSLINE */
#define STATUS1            2 /* TEXT in tree STATUSLINE */
#define STATUS2            3 /* TEXT in tree STATUSLINE */

#define TEXTWIN3           3 /* form/dialog */
#define TW3MSG1            1 /* BOXTEXT in tree TEXTWIN3 */
#define TW3MSGN            3 /* BOXTEXT in tree TEXTWIN3 */
#define TW3UPMSG           4 /* BOXCHAR in tree TEXTWIN3 */
#define TW3DNMSG           5 /* BOXCHAR in tree TEXTWIN3 */
#define TW3GRABTEXTWIN     6 /* BOX in tree TEXTWIN3 */

#define MAPWIN             4 /* form/dialog */
#define MAPBOX             0 /* BOXTEXT in tree MAPWIN */
#define MAPCURSOR          1 /* IBOX in tree MAPWIN */

#define ABOUT              5 /* form/dialog */
#define FLYABOUT           0 /* BOX in tree ABOUT */
#define OKABOUT            1 /* BUTTON in tree ABOUT */
#define NETHACKIMG0        3 /* ICON in tree ABOUT */

#define LINES              6 /* form/dialog */
#define FLYLINES           0 /* BOX in tree LINES */
#define LSCRBOX            1 /* BOX in tree LINES */
#define LINEBOX            2 /* IBOX in tree LINES */
#define LINE1              3 /* BOXTEXT in tree LINES */
#define LINEN             22 /* BOXTEXT in tree LINES */
#define LSBBOX            23 /* IBOX in tree LINES */
#define LSBUP             24 /* BOXCHAR in tree LINES */
#define LSBRACK           25 /* BOX in tree LINES */
#define LSBKNOB           26 /* BOX in tree LINES */
#define LSBDN             27 /* BOXCHAR in tree LINES */
#define LINEICONBOX       28 /* IBOX in tree LINES */
#define QLINEBOX          29 /* IBOX in tree LINES */
#define QLINE             30 /* BUTTON in tree LINES */
#define OKLINE            31 /* BUTTON in tree LINES */

#define YNCHOICE           7 /* form/dialog */
#define FLYYNCHOICE        0 /* BOX in tree YNCHOICE */
#define YNPROMPT           1 /* TEXT in tree YNCHOICE */
#define SOMECHARS          2 /* BOX in tree YNCHOICE */
#define YN1                3 /* BUTTON in tree YNCHOICE */
#define YNN               28 /* BUTTON in tree YNCHOICE */
#define ANYCHAR           29 /* BOX in tree YNCHOICE */
#define CHOSENCH          30 /* FBOXTEXT in tree YNCHOICE */
#define COUNT             32 /* FBOXTEXT in tree YNCHOICE */
#define YNOK              33 /* BUTTON in tree YNCHOICE */

#define LINEGET            8 /* form/dialog */
#define FLYLINEGET         0 /* BOX in tree LINEGET */
#define LGPROMPT           1 /* TEXT in tree LINEGET */
#define LGREPLY            2 /* FBOXTEXT in tree LINEGET */
#define QLG                3 /* BUTTON in tree LINEGET */
#define LGOK               4 /* BUTTON in tree LINEGET */

#define DIRECTION          9 /* form/dialog */
#define FLYDIRECTION       0 /* BOX in tree DIRECTION */
#define DIR1               5 /* BOXCHAR in tree DIRECTION */
#define DIR9              13 /* BOXCHAR in tree DIRECTION */
#define DIRDOWN           14 /* BOXTEXT in tree DIRECTION */

#define MENULOW           10 /* free form */

#define POPUP             11 /* form/dialog */
#define POP1               1 /* TEXT in tree POPUP */
#define POPN              16 /* TEXT in tree POPUP */

#define REZWARN           12 /* form/dialog */
#define QREZWARN           2 /* BUTTON in tree REZWARN */
#define SMALLICONS        12 /* BOXTEXT in tree REZWARN */
#define LARGEICONS        13 /* BOXTEXT in tree REZWARN */
#define COLOURS2          15 /* BOXTEXT in tree REZWARN */
#define COLOURS4          16 /* BOXTEXT in tree REZWARN */
#define COLOURS16         17 /* BOXTEXT in tree REZWARN */
#define SMALLFONT         19 /* BOXTEXT in tree REZWARN */
#define LARGEFONT         20 /* BOXTEXT in tree REZWARN */

#define TEXTWIN           13 /* form/dialog */
#define MSG1               1 /* BOXTEXT in tree TEXTWIN */
#define MSGN2              4 /* BOXTEXT in tree TEXTWIN */
#define MSGN1              5 /* BOXTEXT in tree TEXTWIN */
#define MSGN               6 /* BOXTEXT in tree TEXTWIN */
#define MSGLAST            7 /* BOXTEXT in tree TEXTWIN */
#define UPMSG              8 /* BOXCHAR in tree TEXTWIN */
#define GRABTEXTWIN        9 /* BOX in tree TEXTWIN */
#define DNMSG             10 /* BOXCHAR in tree TEXTWIN */

#define INVWIN            14 /* form/dialog */

#define TEXTWINSMALL      15 /* form/dialog */
#define TWSMSG1            1 /* BOXTEXT in tree TEXTWINSMALL */
#define TWSMSGN            4 /* BOXTEXT in tree TEXTWINSMALL */
#define TWSUPMSG           5 /* BOXCHAR in tree TEXTWINSMALL */
#define TWSGRABTEXTWIN     6 /* BOX in tree TEXTWINSMALL */
#define TWSDNMSG           7 /* BOXCHAR in tree TEXTWINSMALL */

#define NAMEGET           16 /* form/dialog */
#define FLYNAMEGET         0 /* BOX in tree NAMEGET */
#define PLNAME             2 /* FBOXTEXT in tree NAMEGET */
#define NETHACKPICTURE     4 /* BOXTEXT in tree NAMEGET */

#define FILEERR            0 /* Alert string */

#define FILEERRN           1 /* Alert string */

