Crossfire Server, Trunk  R20739
_materialtype Struct Reference

#include <material.h>

+ Collaboration diagram for _materialtype:

Data Fields

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

Detailed Description

One material type.

Definition at line 33 of file material.h.

Field Documentation

◆ description

const char* _materialtype::description

Description, unused.

Definition at line 35 of file material.h.

Referenced by get_empty_mat(), and load_materials().

◆ material

int _materialtype::material

What basic type(s) it is linked to.

Definition at line 36 of file material.h.

Referenced by did_make_save_item(), load_materials(), and set_materialname().

◆ mod

int8_t _materialtype::mod[NROFATTACKS]

Modification to resistances.

Definition at line 38 of file material.h.

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

◆ name

const char* _materialtype::name

Name of the material.

Definition at line 34 of file material.h.

Referenced by get_empty_mat(), load_materials(), name_to_material(), and set_materialname().

◆ next

struct _materialtype* _materialtype::next

Next item on the list.

Definition at line 39 of file material.h.

Referenced by did_make_save_item(), free_materials(), get_empty_mat(), load_materials(), name_to_material(), and set_materialname().

◆ save

int8_t _materialtype::save[NROFATTACKS]

Save chances for the attacks.

Definition at line 37 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: