#include "serialization.h" // For decompressZlib
#include "gamedef.h"
#include "clientobject.h"
-#include "content_object.h"
#include "mesh.h"
#include "itemdef.h"
#include "tool.h"
TestCAO(IGameDef *gamedef, ClientEnvironment *env);
virtual ~TestCAO();
- u8 getType() const
+ ActiveObjectType getType() const
{
return ACTIVEOBJECT_TYPE_TEST;
}
ItemCAO(IGameDef *gamedef, ClientEnvironment *env);
virtual ~ItemCAO();
- u8 getType() const
+ ActiveObjectType getType() const
{
return ACTIVEOBJECT_TYPE_ITEM;
}
// Add a text node for showing the name
gui::IGUIEnvironment* gui = irr->getGUIEnvironment();
std::wstring wname = narrow_to_wide(m_name);
- m_textnode = smgr->addTextSceneNode(gui->getBuiltInFont(),
+ m_textnode = smgr->addTextSceneNode(gui->getSkin()->getFont(),
wname.c_str(), video::SColor(255,255,255,255), node);
m_textnode->grab();
m_textnode->setPosition(v3f(0, BS*1.1, 0));