Crossfire Server, Trunk
material.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  materialtype_t
 

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   8192
 
#define M_STONE   64
 
#define M_WOOD   16
 

Variables

EXTERN std::vector< materialtype_t * > materials
 

Detailed Description

Material structures and defines.

Definition in file material.h.

Macro Definition Documentation

◆ M_ADAMANT

#define M_ADAMANT   256

Adamant.

Definition at line 22 of file material.h.

◆ M_BONE

#define M_BONE   2048

Bone.

Definition at line 25 of file material.h.

◆ M_CLOTH

#define M_CLOTH   128

Cloth.

Definition at line 21 of file material.h.

◆ M_GLASS

#define M_GLASS   4

Glass.

Definition at line 16 of file material.h.

◆ M_ICE

#define M_ICE   4096

Ice.

Definition at line 26 of file material.h.

◆ M_IRON

#define M_IRON   2

Iron.

Definition at line 15 of file material.h.

◆ M_LEATHER

#define M_LEATHER   8

Leather.

Definition at line 17 of file material.h.

◆ M_LIQUID

#define M_LIQUID   512

Liquid.

Definition at line 23 of file material.h.

◆ M_ORGANIC

#define M_ORGANIC   32

General organic.

Definition at line 19 of file material.h.

◆ M_PAPER

#define M_PAPER   1

Paper.

Definition at line 14 of file material.h.

◆ M_SOFT_METAL

#define M_SOFT_METAL   1024

Soft metal.

Definition at line 24 of file material.h.

◆ M_SPECIAL

#define M_SPECIAL   8192

When displaying names, don't show the materialname.

Definition at line 27 of file material.h.

◆ M_STONE

#define M_STONE   64

Stone.

Definition at line 20 of file material.h.

◆ M_WOOD

#define M_WOOD   16

Wood.

Definition at line 18 of file material.h.

Variable Documentation

◆ materials

EXTERN std::vector<materialtype_t *> materials

Material types.

Definition at line 41 of file material.h.