Crossfire Server
1.75.0
material.h
Go to the documentation of this file.
1
6
/* #defines are needed by living.h, so they must be loaded early */
7
#ifndef MATERIAL_H
8
#define MATERIAL_H
9
14
#define M_PAPER 1
15
#define M_IRON 2
16
#define M_GLASS 4
17
#define M_LEATHER 8
18
#define M_WOOD 16
19
#define M_ORGANIC 32
20
#define M_STONE 64
21
#define M_CLOTH 128
22
#define M_ADAMANT 256
23
#define M_LIQUID 512
24
#define M_SOFT_METAL 1024
25
#define M_BONE 2048
26
#define M_ICE 4096
27
#define M_SPECIAL 8192
32
struct materialtype_t {
33
const
char
*name;
34
const
char
*description;
35
int
material;
36
int8_t save[
NROFATTACKS
];
37
int8_t mod[
NROFATTACKS
];
38
};
39
41
EXTERN
std::vector<materialtype_t *>
materials
;
42
43
#endif
/* MATERIAL_H */
NROFATTACKS
#define NROFATTACKS
Definition:
attack.h:15
materials
EXTERN std::vector< materialtype_t * > materials
Material types.
Definition:
material.h:42
EXTERN
#define EXTERN
Define external variables.
Definition:
global.h:15
include
material.h
Generated on Sun Aug 3 2025 06:40:42 for Crossfire Server by
1.8.13