Crossfire Server, Branches 1.12  R18729
Material types.

Macros

#define M_ADAMANT   256
 
#define M_BONE   2048
 
#define M_CLOTH   128
 
#define M_GLASS   4
 
#define M_ICE   4096
 
#define M_IRON   2
 
#define M_LEATHER   8
 
#define M_LIQUID   512
 
#define M_ORGANIC   32
 
#define M_PAPER   1
 
#define M_SOFT_METAL   1024
 
#define M_SPECIAL
 
#define M_STONE   64
 
#define M_WOOD   16
 
#define NROFMATERIALS   13
 

Detailed Description

Macro Definition Documentation

#define M_ADAMANT   256

Definition at line 52 of file material.h.

Referenced by decay_objects(), and place_fountain_with_specials().

#define M_BONE   2048

Definition at line 55 of file material.h.

Referenced by decay_objects().

#define M_CLOTH   128

Definition at line 51 of file material.h.

Referenced by decay_objects(), and do_throw().

#define M_GLASS   4

Definition at line 46 of file material.h.

Referenced by decay_objects(), and do_throw().

#define M_ICE   4096

Definition at line 56 of file material.h.

Referenced by decay_objects().

#define M_IRON   2

Definition at line 45 of file material.h.

Referenced by decay_objects(), and hit_with_one_attacktype().

#define M_LEATHER   8

Definition at line 47 of file material.h.

Referenced by decay_objects(), and do_throw().

#define M_LIQUID   512

Definition at line 53 of file material.h.

Referenced by decay_objects().

#define M_ORGANIC   32

Definition at line 49 of file material.h.

Referenced by decay_objects(), and do_throw().

#define M_PAPER   1

Definition at line 44 of file material.h.

Referenced by decay_objects(), and do_throw().

#define M_SOFT_METAL   1024

Definition at line 54 of file material.h.

Referenced by decay_objects().

#define M_SPECIAL
Value:
8192 /* when displaying names, don't show the
materialname */

Definition at line 57 of file material.h.

Referenced by query_base_name().

#define M_STONE   64

Definition at line 50 of file material.h.

Referenced by alchemy_failure_effect(), and decay_objects().

#define M_WOOD   16

Definition at line 48 of file material.h.

Referenced by decay_objects().

#define NROFMATERIALS   13

Definition at line 42 of file material.h.