Changeset 346 for code/branches/FICN/src/loader/LevelLoader.cc
- Timestamp:
- Nov 29, 2007, 4:21:30 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN
-
Property
svn:ignore
set to
FICN.sln
FICN.ncb
FICN.vcproj
FICN.vcproj.RGRIEDERT60.rgrieder.user
FICN.suo
obj
-
Property
svn:ignore
set to
-
code/branches/FICN/src/loader/LevelLoader.cc
r341 r346 15 15 dir.append("/"); 16 16 dir.append(file); 17 rootNode = XMLNode::openFileHelper( dir.c_str(),"WorldDataFile");17 rootNode = XMLNode::openFileHelper((const wchar_t*)dir.c_str(),(const wchar_t*)"WorldDataFile"); 18 18 // TODO: Error handling 19 19 20 20 // Assing general level infos to class variables 21 this->name_ = rootNode.getChildNode("name").getText();22 this->description_ = rootNode.getChildNode("description").getText();23 this->image_ = rootNode.getChildNode("image").getText();21 this->name_ = (const char*)rootNode.getChildNode((const wchar_t*)"name").getText(); 22 this->description_ = (const char*)rootNode.getChildNode((const wchar_t*)"description").getText(); 23 this->image_ = (const char*)rootNode.getChildNode((const wchar_t*)"image").getText(); 24 24 25 25 this->loadingScreen(); 26 26 27 27 // Assign sub-nodes 28 if (rootNode.nChildNode( "LightManager")==1)28 if (rootNode.nChildNode((const wchar_t*)"LightManager")==1) 29 29 { 30 30 // Init Luightmanager...
Note: See TracChangeset
for help on using the changeset viewer.