Crossfire Server, Trunk
R22047
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
30
31
32
typedef
struct
_materialtype
{
33
const
char
*
name
;
34
const
char
*
description
;
35
int
material
;
36
int8_t
save
[
NROFATTACKS
];
37
int8_t
mod
[
NROFATTACKS
];
38
struct
_materialtype
*
next
;
39
}
materialtype_t
;
40
42
EXTERN
materialtype_t
*
materialt
;
43
44
#endif
/* MATERIAL_H */
_materialtype::mod
int8_t mod[NROFATTACKS]
Definition:
material.h:38
_materialtype::name
const char * name
Definition:
material.h:34
materialt
EXTERN materialtype_t * materialt
Definition:
material.h:43
_materialtype::save
int8_t save[NROFATTACKS]
Definition:
material.h:37
_materialtype::material
int material
Definition:
material.h:36
materialtype_t
struct _materialtype materialtype_t
_materialtype
Definition:
material.h:33
int8_t
signed char int8_t
Definition:
win32.h:158
EXTERN
#define EXTERN
Definition:
init.c:19
NROFATTACKS
#define NROFATTACKS
Definition:
attack.h:17
_materialtype::next
struct _materialtype * next
Definition:
material.h:39
_materialtype::description
const char * description
Definition:
material.h:35
crossfire-code
server
trunk
include
material.h
Generated by
1.8.13