Lines Matching refs:shown_stats
247 static struct X_status_value shown_stats[NUM_STATS] = { variable
291 for (i = 0, sv = shown_stats; i < NUM_STATS; i++, sv++) { in null_out_status()
338 if (attr_rec == &shown_stats[F_NAME]) {
358 } else if (attr_rec == &shown_stats[F_DLEVEL]) {
383 if (attr_rec == &shown_stats[F_HUNGER]) {
385 } else if (attr_rec == &shown_stats[F_ENCUMBER]) {
387 } else if (attr_rec == &shown_stats[F_SICK]) {
410 if (attr_rec == &shown_stats[F_TIME]) {
414 set_name(attr_rec->w, shown_stats[F_TIME].name);
426 else if (attr_rec == &shown_stats[F_EXP]) {
431 set_name(attr_rec->w, shown_stats[F_EXP].name);
451 else if (attr_rec == &shown_stats[F_SCORE]) {
456 set_name(attr_rec->w, shown_stats[F_SCORE].name);
476 else if (attr_rec == &shown_stats[F_LEVEL]) {
485 set_name(attr_rec->w, shown_stats[F_LEVEL].name);
488 } else if (attr_rec == &shown_stats[F_EXP]) {
498 set_name(attr_rec->w, shown_stats[F_EXP].name);
510 if (attr_rec == &shown_stats[F_STR]) {
521 } else if (attr_rec == &shown_stats[F_ALIGN]) {
537 if (attr_rec->type != SV_NAME && attr_rec != &shown_stats[F_TIME]) {
577 for (i = 0, sv = shown_stats; i < NUM_STATS; i++, sv++) {
662 for (sv = shown_stats, i = 0; i < NUM_STATS; i++, sv++) { in check_turn_events()
690 case F_HUNGER: return shown_stats[F_HUNGER].name;
691 case F_CONFUSED:return shown_stats[F_CONFUSED].name;
692 case F_SICK: return shown_stats[F_SICK].name;
693 case F_BLIND: return shown_stats[F_BLIND].name;
694 case F_STUNNED: return shown_stats[F_STUNNED].name;
695 case F_HALLU: return shown_stats[F_HALLU].name;
696 case F_ENCUMBER:return shown_stats[F_ENCUMBER].name;
835 sv = &shown_stats[*ip];
839 XtSetArg(args[num_args], XtNfromVert, shown_stats[*(ip-1)].w);
848 set_widths(&shown_stats[*ip], max_width1, max_width2);
908 sv_name = &shown_stats[F_NAME];
912 sv_dlevel = &shown_stats[F_DLEVEL];
984 for (i = 0, sv = shown_stats; i < NUM_STATS; i++, sv++)