Crossfire Server, Trunk
materialtype_t Struct Reference

#include <material.h>

+ Collaboration diagram for materialtype_t:

Data Fields

const char * description
 
int material
 
int8_t mod [NROFATTACKS]
 
const char * name
 
int8_t save [NROFATTACKS]
 

Detailed Description

One material type.

Definition at line 32 of file material.h.

Field Documentation

◆ description

const char* materialtype_t::description

Description, unused.

Definition at line 34 of file material.h.

Referenced by get_empty_mat(), and load_materials().

◆ material

int materialtype_t::material

What basic type(s) it is linked to.

Definition at line 35 of file material.h.

Referenced by load_materials().

◆ mod

int8_t materialtype_t::mod[NROFATTACKS]

Modification to resistances.

Definition at line 37 of file material.h.

Referenced by get_empty_mat(), load_materials(), and transmute_materialname().

◆ name

const char* materialtype_t::name

Name of the material.

Definition at line 33 of file material.h.

Referenced by get_empty_mat(), and load_materials().

◆ save

int8_t materialtype_t::save[NROFATTACKS]

Save chances for the attacks.

Definition at line 36 of file material.h.

Referenced by animate_weapon(), did_make_save_item(), get_empty_mat(), and load_materials().


The documentation for this struct was generated from the following file: