Changeset 637

Show
Ignore:
Timestamp:
12/23/07 18:21:04 (1 year ago)
Author:
takkaria
Message:

Make DET_* -> DETECT_* in effects.c/.h as per Andrew Doull's request.

Files:

Legend:

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

    r618 r637  
    630630                } 
    631631 
    632                 case EF_DET_TREASURE: 
     632                case EF_DETECT_TREASURE: 
    633633                { 
    634634                        if (detect_treasure()) *ident = TRUE; 
     
    636636                } 
    637637 
    638                 case EF_DET_TRAP: 
     638                case EF_DETECT_TRAP: 
    639639                { 
    640640                        if (detect_traps()) *ident = TRUE; 
     
    642642                } 
    643643 
    644                 case EF_DET_DOORSTAIR: 
     644                case EF_DETECT_DOORSTAIR: 
    645645                { 
    646646                        if (detect_doorstairs()) *ident = TRUE; 
     
    648648                } 
    649649 
    650                 case EF_DET_INVIS: 
     650                case EF_DETECT_INVIS: 
    651651                { 
    652652                        if (detect_monsters_invis()) *ident = TRUE; 
     
    654654                } 
    655655 
    656                 case EF_DET_EVIL: 
     656                case EF_DETECT_EVIL: 
    657657                { 
    658658                        if (detect_monsters_evil()) *ident = TRUE; 
     
    660660                } 
    661661 
    662                 case EF_DET_ALL: 
     662                case EF_DETECT_ALL: 
    663663                { 
    664664                        if (detect_all()) *ident = TRUE; 
  • trunk/src/effects.h

    r580 r637  
    122122        EFFECT(RESIST_ALL,     FALSE, "grants resistance to everything!!!") 
    123123 
    124         EFFECT(DET_TREASURE,   FALSE, "detects all gold and objects on the level") 
    125         EFFECT(DET_TRAP,       FALSE, "detects all traps in the surrounding area") 
    126         EFFECT(DET_DOORSTAIR,  FALSE, "detects all doors and stairs on the level") 
    127         EFFECT(DET_INVIS,      FALSE, "detects all invisible creatures in the surrounding area") 
    128         EFFECT(DET_EVIL,       FALSE, "detects all evil creatures in the immidiate area") 
    129         EFFECT(DET_ALL,        FALSE, "detects treasure, objects, traps, doors, stairs, and all creatures in the surrounding area") 
     124        EFFECT(DETECT_TREASURE,   FALSE, "detects all gold and objects on the level") 
     125        EFFECT(DETECT_TRAP,       FALSE, "detects all traps in the surrounding area") 
     126        EFFECT(DETECT_DOORSTAIR,  FALSE, "detects all doors and stairs on the level") 
     127        EFFECT(DETECT_INVIS,      FALSE, "detects all invisible creatures in the surrounding area") 
     128        EFFECT(DETECT_EVIL,       FALSE, "detects all evil creatures in the immidiate area") 
     129        EFFECT(DETECT_ALL,        FALSE, "detects treasure, objects, traps, doors, stairs, and all creatures in the surrounding area") 
    130130 
    131131        EFFECT(ENCHANT_TOHIT,  FALSE, "attempts to magically enhance a weapon's to-hit bonus")