Changeset 1085 for code/trunk/src
- Timestamp:
- Apr 16, 2008, 10:00:56 PM (17 years ago)
- Location:
- code/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Loader.cc
r1056 r1085 115 115 Script::init(Script::getLuaState()); 116 116 Script::run();*/ 117 Script* lua = Script::getInstance();118 lua->loadFile(level->getFile(), true);119 lua->run();117 //Script* lua = Script::getInstance(); 118 //lua->loadFile(level->getFile(), true); 119 //lua->run(); 120 120 121 121 try … … 124 124 COUT(3) << "Mask: " << Loader::currentMask_s << std::endl; 125 125 126 //ticpp::Document xmlfile(level->getFile());127 //xmlfile.LoadFile();126 ticpp::Document xmlfile(level->getFile()); 127 xmlfile.LoadFile(); 128 128 //ticpp::Element myelement(*Script::getFileString()); 129 ticpp::Document xmlfile;130 //xmlfile.ToDocument();131 xmlfile.Parse(lua->getLuaOutput(), true);129 //ticpp::Document xmlfile; 130 xmlfile.ToDocument(); 131 //xmlfile.Parse(lua->getLuaOutput(), true); 132 132 133 133 ticpp::Element rootElement; -
code/trunk/src/util/CMakeLists.txt
r1084 r1085 10 10 MultiTypeString.cc 11 11 MultiTypeMath.cc 12 tolua _event.c13 tolua _is.c14 tolua _map.c15 tolua _push.c16 tolua _to.c12 tolua/tolua_event.c 13 tolua/tolua_is.c 14 tolua/tolua_map.c 15 tolua/tolua_push.c 16 tolua/tolua_to.c 17 17 ${TINYXML_SRC_FILES} 18 18 )
Note: See TracChangeset
for help on using the changeset viewer.