Changeset 1024 for code/trunk/src/orxonox/core/Script.cc
- Timestamp:
- Apr 10, 2008, 5:35:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/core/Script.cc
r1021 r1024 38 38 } 39 39 40 #include " tolua++.h"41 #include " ../../util/tolua/tolua_bind.h"40 #include "util/tolua/tolua++.h" 41 #include "util/tolua/tolua_bind.h" 42 42 43 43 namespace orxonox … … 57 57 { 58 58 output_ += str; 59 COUT( 0) << "Lua_output!:" << std::endl << str << std::endl << "***" << std::endl;59 COUT(4) << "Lua_output!:" << std::endl << str << std::endl << "***" << std::endl; 60 60 } 61 61 … … 89 89 90 90 if (luaTags) luaSource_ = replaceLuaTags(levelString); 91 COUT( 0) << "ParsedSourceCode: " << luaSource_ << std::endl;91 COUT(4) << "ParsedSourceCode: " << luaSource_ << std::endl; 92 92 } 93 93 … … 100 100 if (error == 0) 101 101 error = lua_pcall(luaState_, 0, 0, 0); 102 if (error != 0) COUT( 0) << "Error in Lua-script: " << lua_tostring(luaState_, -1) << std::endl;102 if (error != 0) COUT(2) << "Error in Lua-script: " << lua_tostring(luaState_, -1) << std::endl; 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.