Changeset 611

Show
Ignore:
Timestamp:
12/21/07 20:11:06 (1 year ago)
Author:
takkaria
Message:

Add some extra colouring for the monster list.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/monster2.c

    r540 r611  
    622622        for (i = 1; (i < z_info->r_max) && (line < max); i++) 
    623623        { 
     624                monster_lore *l_ptr = &l_list[i]; 
     625 
    624626                /* No monsters of this race are visible */ 
    625627                if (!race_count[i]) continue; 
     
    638640                if (r_ptr->flags1 & RF1_UNIQUE) 
    639641                        attr = TERM_VIOLET; 
     642                else if (l_ptr->r_tkills && (r_ptr->level > p_ptr->depth)) 
     643                        attr = TERM_RED; 
    640644                else 
    641645                        attr = TERM_WHITE;