XMLDocument.h

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
zephyr
Posts: 9
Joined: Mon Nov 15, 2010 4:01 pm

XMLDocument.h

Post by zephyr »

Where can I find XMLDocument.h for Irrlicht?
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Re: XMLDocument.h

Post by Midnight »

zephyr wrote:Where can I find XMLDocument.h for Irrlicht?
umm what?

irrlicht doesn't have an XMLDocument.h but you could link to it, or add your own. if you just want xml in irrlicht then you are looking in the wrong place.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

There is no XMLDocument.h - only irrXML.h. If you want DOM access to the XML (just my guess) then you have to use another reader (for example tinyXML) as irrXML is using SAX which is better optimized for serializing data.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
zephyr
Posts: 9
Joined: Mon Nov 15, 2010 4:01 pm

Post by zephyr »

I have:

#ifndef __MAIN_H_INCLUDED__
#define __MAIN_H_INCLUDED__

#include <XMLDocument.h>
#include <Irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
using namespace xml;

#include <IrrSteer.h>
using namespace IrrSteer;
using namespace OpenSteer;

scene::ITriangleSelector* loadMap(IrrlichtDevice* device);
void makeWaypoints(ISteerWaypointManager* wpmgr);

void setAnnotationText(IBillboardTextSceneNode* bb, core::stringc txt, IGUIFont* font){
stringw wt(txt);
bb->setText(wt.c_str());
bb->setSize((dimension2df)font->getDimension(wt.c_str()));
bb->setColor(SColor(255, 0,0,100));
}

#endif // __MAIN_H_INCLUDED__




found at the following link:
http://irrlicht.sourceforge.net/phpBB2/ ... t=irrsteer
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Well, ask there. It's not an Irrlicht file.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

First he's right you should ask there. Only they know what the file actually is, I'd guess from a google search that it's libxml2 but there is no way to be sure unless you look at the functions it's using from XMLDocument, but they could be the same.

Ask IrrSteer what it is?

edit::
http://abusoft.g0dsoft.com/IrrSteer/index.php?topic=8.0

Where did you get those files anyway?
Post Reply