Atrinik Server  4.0
Functions | Variables
material.c File Reference
#include <global.h>

Go to the source code of this file.

Functions

void material_init (void)
 

Variables

material_t materials [NROFMATERIALS]
 
material_real_t materials_real [NUM_MATERIALS_REAL]
 

Detailed Description

Material related code.

Author
Alex Tokar

Definition in file material.c.

Function Documentation

void material_init ( void  )

Initialize materials from file.

Definition at line 62 of file material.c.

Variable Documentation

Initial value:
= {
{"paper"},
{"metal"},
{"crystal"},
{"leather"},
{"wood"},
{"organics"},
{"stone"},
{"cloth"},
{"magic material"},
{"liquid"},
{"soft metal"},
{"bone"},
{"ice"},
}

Material types.

Definition at line 37 of file material.c.

material_real_t materials_real[NUM_MATERIALS_REAL]

Real material types. This array is initialized by material_init().

Definition at line 56 of file material.c.