Searched refs:roles (Results 1 - 16 of 16) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Drole.c8 /*** Table of all roles ***/
22 * to the roles has been reduced by the amount allocated to
27 const struct Role roles[] = { variable in typeref:struct:Role
193 0, 0, 0, /* chosen randomly from among the other roles */
517 return (rolenum >= 0 && rolenum < SIZE(roles)-1);
524 return (rn2(SIZE(roles)-1));
540 for (i = 0; roles[i].name.m; i++) {
542 if (!strncmpi(str, roles[i].name.m, len))
545 if (roles[i].name.f && !strncmpi(str, roles[
[all...]
H A Dbotl.c76 for (role = (struct Role *) roles; role->name.m; role++)
109 /* Loop through each of the roles */
110 for (i = 0; roles[i].name.m; i++)
112 if (roles[i].rank[j].m && !strncmpi(str,
113 roles[i].rank[j].m, strlen(roles[i].rank[j].m))) {
115 if (title_length) *title_length = strlen(roles[i].rank[j].m);
116 return roles[i].malenum;
118 if (roles[i].rank[j].f && !strncmpi(str,
119 roles[
[all...]
H A Dtopten.c165 Strcpy(tt->plrole, roles[i].filecode);
892 for (i = 0; roles[i].name.m; i++)
893 if (!strncmp(plch, roles[i].filecode, ROLESZ)) {
894 if (fem && roles[i].femalenum != NON_PM)
895 return roles[i].femalenum;
896 else if (roles[i].malenum != NON_PM)
897 return roles[i].malenum;
H A Dpray.c1798 case 0: gnam = roles[which].lgod; break;
1799 case 1: gnam = roles[which].ngod; break;
1800 case 2: gnam = roles[which].cgod; break;
H A Doptions.c3060 Sprintf(buf, "%s", rolestring(flags.initrole, roles, name.m));
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Drole.c8 /*** Table of all roles ***/
22 * to the roles has been reduced by the amount allocated to
27 const struct Role roles[] = { variable in typeref:struct:Role
193 0, 0, 0, /* chosen randomly from among the other roles */
517 return (rolenum >= 0 && rolenum < SIZE(roles)-1);
524 return (rn2(SIZE(roles)-1));
540 for (i = 0; roles[i].name.m; i++) {
542 if (!strncmpi(str, roles[i].name.m, len))
545 if (roles[i].name.f && !strncmpi(str, roles[
[all...]
H A Dbotl.c76 for (role = (struct Role *) roles; role->name.m; role++)
109 /* Loop through each of the roles */
110 for (i = 0; roles[i].name.m; i++)
112 if (roles[i].rank[j].m && !strncmpi(str,
113 roles[i].rank[j].m, strlen(roles[i].rank[j].m))) {
115 if (title_length) *title_length = strlen(roles[i].rank[j].m);
116 return roles[i].malenum;
118 if (roles[i].rank[j].f && !strncmpi(str,
119 roles[
[all...]
H A Dtopten.c165 Strcpy(tt->plrole, roles[i].filecode);
892 for (i = 0; roles[i].name.m; i++)
893 if (!strncmp(plch, roles[i].filecode, ROLESZ)) {
894 if (fem && roles[i].femalenum != NON_PM)
895 return roles[i].femalenum;
896 else if (roles[i].malenum != NON_PM)
897 return roles[i].malenum;
H A Dpray.c1798 case 0: gnam = roles[which].lgod; break;
1799 case 1: gnam = roles[which].ngod; break;
1800 case 2: gnam = roles[which].cgod; break;
H A Doptions.c3060 Sprintf(buf, "%s", rolestring(flags.initrole, roles, name.m));
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dyou.h140 extern const struct Role roles[]; /* table of available roles */
207 /* increment to 3 if you allow neuter roles */
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dyou.h140 extern const struct Role roles[]; /* table of available roles */
207 /* increment to 3 if you allow neuter roles */
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/win/tty/
H A Dwintty.c391 for (i = 0; roles[i].name.m; i++) {
395 thisch = lowc(roles[i].name.m[0]);
398 if (flags.initgend == 1 && roles[i].name.f)
399 Strcpy(rolenamebuf, roles[i].name.f);
401 Strcpy(rolenamebuf, roles[i].name.m);
403 if (roles[i].name.f) {
404 Strcpy(rolenamebuf, roles[i].name.m);
406 Strcat(rolenamebuf, roles[i].name.f);
408 Strcpy(rolenamebuf, roles[i].name.m);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/win/tty/
H A Dwintty.c391 for (i = 0; roles[i].name.m; i++) {
395 thisch = lowc(roles[i].name.m[0]);
398 if (flags.initgend == 1 && roles[i].name.f)
399 Strcpy(rolenamebuf, roles[i].name.f);
401 Strcpy(rolenamebuf, roles[i].name.m);
403 if (roles[i].name.f) {
404 Strcpy(rolenamebuf, roles[i].name.m);
406 Strcat(rolenamebuf, roles[i].name.f);
408 Strcpy(rolenamebuf, roles[i].name.m);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex1410 cursed objects than other character roles.
1647 Some character roles and some monsters are vegetarian. Vegetarian monsters
3264 the game alongside the familiar human race. Monk and Ranger roles joined
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex1410 cursed objects than other character roles.
1647 Some character roles and some monsters are vegetarian. Vegetarian monsters
3264 the game alongside the familiar human race. Monk and Ranger roles joined

Completed in 216 milliseconds