Lines Matching defs:name

38 	const char *name;
205 const char *name, *descr;
220 { "catname", "the name of your (first) cat (e.g., catname:Tabby)",
225 { "dogname", "the name of your (first) dog (e.g., dogname:Fang)",
242 { "fruit", "the name of a fruit you enjoy eating",
246 { "horsename", "the name of your (first) horse (e.g., horsename:Silver)",
276 { "name", "your character's name (e.g., name:Merlin-W)",
316 { "tile_file", "name of tile file", 70, DISP_IN_GAME}, /*WC*/
384 * The command name list is duplicated in the compopt array.
387 const char *name;
447 substring of a particular option name; option string might have
502 for (i = 0; boolopt[i].name; i++) {
937 for (i = 0; boolopt[i].name; i++) {
938 if (match_optname(opts, boolopt[i].name, 3, FALSE)) {
951 for (i = 0; compopt[i].name; i++) {
952 if (match_optname(opts, compopt[i].name, strlen(compopt[i].name), TRUE)) {
957 compopt[i].name);
1485 /* name:string */
1486 fullname = "name";
1990 * tile_file:name */
2099 fullname = default_menu_cmd_info[i].name;
2133 for (i = 0; boolopt[i].name; i++) {
2134 if (match_optname(opts, boolopt[i].name, 3, FALSE)) {
2139 boolopt[i].name);
2144 rejectoption(boolopt[i].name);
2150 duplicate_opt_detection(boolopt[i].name, 0);
2333 const char *option; /* option name */
2347 for (i=0; compopt[i].name; i++)
2348 if (strcmp(option, compopt[i].name) == 0) break;
2350 if (compopt[i].name) {
2391 for (i = 0; boolopt[i].name; i++)
2400 if (is_wc_option(boolopt[i].name) &&
2401 !wc_supported(boolopt[i].name)) continue;
2402 if (is_wc2_option(boolopt[i].name) &&
2403 !wc2_supported(boolopt[i].name)) continue;
2408 boolopt[i].name, *bool_p ? "true" : "false");
2411 boolopt[i].name, *bool_p ? "true" : "false");
2427 /* spin through the options to find the biggest name
2430 for (i = 0; compopt[i].name; i++)
2432 strlen(compopt[i].name) > (unsigned) biggest_name)
2433 biggest_name = (int) strlen(compopt[i].name);
2438 /* deliberately put `name', `role', `race', `gender' first */
2439 doset_add_menu(tmpwin, "name", 0);
2445 for (i = 0; compopt[i].name; i++)
2447 if (!strcmp(compopt[i].name, "name") ||
2448 !strcmp(compopt[i].name, "role") ||
2449 !strcmp(compopt[i].name, "race") ||
2450 !strcmp(compopt[i].name, "gender"))
2452 else if (is_wc_option(compopt[i].name) &&
2453 !wc_supported(compopt[i].name))
2455 else if (is_wc2_option(compopt[i].name) &&
2456 !wc2_supported(compopt[i].name))
2459 doset_add_menu(tmpwin, compopt[i].name,
2497 boolopt[opt_indx].name);
2499 if (wc_supported(boolopt[opt_indx].name) ||
2500 wc2_supported(boolopt[opt_indx].name))
2501 preference_update(boolopt[opt_indx].name);
2506 if (!special_handling(compopt[opt_indx].name,
2508 Sprintf(buf, "Set %s to what?", compopt[opt_indx].name);
2512 Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2);
2516 if (wc_supported(compopt[opt_indx].name) ||
2517 wc2_supported(compopt[opt_indx].name))
2518 preference_update(compopt[opt_indx].name);
3031 else if (!strcmp(optname, "name"))
3060 Sprintf(buf, "%s", rolestring(flags.initrole, roles, name.m));
3124 Sprintf(buf, "%s", windowprocs.name);
3306 for (i = 0; boolopt[i].name; i++) {
3312 next_opt(datawin, boolopt[i].name);
3319 for (i = 0; compopt[i].name; i++) {
3320 Sprintf(buf2, "`%s'", compopt[i].name);
3322 compopt[i+1].name ? ',' : '.');
3386 /* if not user-specified, then it's a fruit name for a fruit on
3618 for (k = 0; boolopt[k].name; k++) {
3619 if (!strncmpi(boolopt[k].name, optnam, strlen(optnam))) {
3624 for (k = 0; compopt[k].name; k++) {
3625 if (!strncmpi(compopt[k].name, optnam, strlen(optnam))) {