creating an xml parser without initializing device
creating an xml parser without initializing device
Is possible to create an xml parser before the initialization of an irrlicht device? I want to load config and then init device according to read values, instead of init, read and reinit screen.
ru guo ni yao ai, ni jiang bu hui shi qu
You will need to create the device first in order to use the IXMLReader.
To get around your problem, you can initialise the device using the software renderer, then read in your xml config file and close the device. You will be able to then use the new settings to create another device.
This is done in a similar way in the Tech demo, have a look at the code and see if it helps
________
MOTORCYCLE TIRES
To get around your problem, you can initialise the device using the software renderer, then read in your xml config file and close the device. You will be able to then use the new settings to create another device.
This is done in a similar way in the Tech demo, have a look at the code and see if it helps
________
MOTORCYCLE TIRES
Last edited by area51 on Tue Feb 22, 2011 1:00 pm, edited 1 time in total.