MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // thing/material.h -- material handling header |
| 4 | // |
| 5 | // $Id: material.h 6930 2008-08-09 09:20:16Z Zesstra $ |
| 6 | |
| 7 | #ifndef __THING_MATERIAL_H__ |
| 8 | #define __THING_MATERIAL_H__ |
| 9 | |
| 10 | #define P_MATERIAL "material" |
| 11 | #define MATERIALDB "/secure/materialdb" |
| 12 | #define P_MATERIAL_KNOWLEDGE "material_knowledge" |
| 13 | #define MATERIAL_SYMMETRIC_RECOGNIZABILITY "mat_sym_recoc" |
| 14 | |
| 15 | // Materialien nicht beim Laden durch MatDB includen |
| 16 | // TODO: besser recoc-propertydefinitionen woanders rein und Materialien hier |
| 17 | // immer includen |
| 18 | #ifndef _SKIP_MATERIALS_ |
| 19 | #include <materials.h> |
| 20 | #endif |
| 21 | |
| 22 | #ifdef NEED_PROTOTYPES |
| 23 | #ifndef __THING_MATERIAL_H_PROTO__ |
| 24 | #define __THING_MATERIAL_H_PROTO__ |
| 25 | |
| 26 | int QueryMaterial(string mat); |
| 27 | int QueryMaterialGroup(string matgroup); |
| 28 | string MaterialList(int casus, mixed idinf); |
| 29 | |
| 30 | #endif // __THING_MATERIAL_H_PROTO__ |
| 31 | #endif // NEED_PROTOTYPES |
| 32 | #endif // __THING_MATERIAL_H__ |