Crossfire Server, Branches 1.12  R18729
Values returned by can_apply_object().

Macros

#define CAN_APPLY_NEVER   0x1
 
#define CAN_APPLY_NOT_MASK   0xf
 
#define CAN_APPLY_RESTRICTION   0x2
 
#define CAN_APPLY_UNAPPLY   0x10
 
#define CAN_APPLY_UNAPPLY_CHOICE   0x40
 
#define CAN_APPLY_UNAPPLY_MULT   0x20
 

Detailed Description

Bitmask values for 'can_apply_object()' return values. the CAN_APPLY_ prefix is to just note what function the are returned from.

Macro Definition Documentation

#define CAN_APPLY_NEVER   0x1

Definition at line 1054 of file define.h.

Referenced by apply_special(), and can_apply_object().

#define CAN_APPLY_NOT_MASK   0xf

Definition at line 1056 of file define.h.

Referenced by monster_check_apply().

#define CAN_APPLY_RESTRICTION   0x2

Definition at line 1055 of file define.h.

Referenced by apply_special(), and can_apply_object().

#define CAN_APPLY_UNAPPLY   0x10

Definition at line 1057 of file define.h.

Referenced by can_apply_object().

#define CAN_APPLY_UNAPPLY_CHOICE   0x40

Definition at line 1059 of file define.h.

Referenced by apply_special(), and can_apply_object().

#define CAN_APPLY_UNAPPLY_MULT   0x20

Definition at line 1058 of file define.h.

Referenced by can_apply_object().