moving the t_material structure to the Materials.h file

develop
simon 2010-04-28 17:40:27 +02:00
parent c37f164c39
commit 8065867a3b
4 changed files with 13 additions and 10 deletions

@ -7,9 +7,9 @@
#include "DFMemInfo.h"
#include "DFProcess.h"
#include "modules/Materials.h"
#include "modules/Creatures.h"
#include "modules/Maps.h"
#include "modules/Materials.h"
#include "modules/Position.h"
#include "modules/Translation.h"
#include "modules/Vegetation.h"

@ -260,14 +260,6 @@ namespace DFHack
uint32_t experience;
uint16_t rating;
};
struct t_material
{
int16_t typeA;
int16_t typeB;
int16_t typeC;
int32_t typeD;
uint32_t flags;
};
struct t_job
{
bool active;

@ -59,6 +59,16 @@ namespace DFHack
} tilecolor;
};
// this structure describes what are things made of in the DF world
struct t_material
{
int16_t typeA;
int16_t typeB;
int16_t typeC;
int32_t typeD;
uint32_t flags;
};
class DFHACK_EXPORT Materials
{
public:

@ -35,6 +35,7 @@ distribution.
#include <shms.h>
#include <mod-core.h>
#include <mod-creature2010.h>
#include "modules/Materials.h"
#include "modules/Creatures.h"