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

Go to the source code of this file.


void material_init (void)


material_t materials [NROFMATERIALS]
material_real_t materials_real [NUM_MATERIALS_REAL]

Detailed Description

Material related code.

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:
= {
{"magic material"},
{"soft metal"},

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.