X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Factiveobject.h;h=c46ae61b2a980987a258e45895713f928e2a2bb2;hb=f01c988094ee53920602a7a296264528095fc9bd;hp=041be0778b8f6d42abeee1d024aeeb9699bf7f26;hpb=4b54b291ae2ba5a5f214cadad74f0bed29376f84;p=oweals%2Fminetest.git diff --git a/src/activeobject.h b/src/activeobject.h index 041be0778..c46ae61b2 100644 --- a/src/activeobject.h +++ b/src/activeobject.h @@ -20,9 +20,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef ACTIVEOBJECT_HEADER #define ACTIVEOBJECT_HEADER -#include "common_irrlicht.h" +#include "irrlichttypes.h" #include +#define ACTIVEOBJECT_TYPE_INVALID 0 +// Other types are defined in content_object.h + struct ActiveObjectMessage { ActiveObjectMessage(u16 id_, bool reliable_=true, std::string data_=""): @@ -36,10 +39,6 @@ struct ActiveObjectMessage std::string datastring; }; -#define ACTIVEOBJECT_TYPE_INVALID 0 -#define ACTIVEOBJECT_TYPE_TEST 1 -#define ACTIVEOBJECT_TYPE_ITEM 2 - /* Parent class for ServerActiveObject and ClientActiveObject */