Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2008, 5:35:49 PM (16 years ago)
Author:
rgrieder
Message:

merged input back into trunk
note: I have created an asylum with obsolete code, please check the files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/core/Script.cc

    r1021 r1024  
    3838}
    3939
    40 #include "tolua++.h"
    41 #include "../../util/tolua/tolua_bind.h"
     40#include "util/tolua/tolua++.h"
     41#include "util/tolua/tolua_bind.h"
    4242
    4343namespace orxonox
     
    5757  {
    5858    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;
    6060  }
    6161
     
    8989
    9090    if (luaTags) luaSource_ = replaceLuaTags(levelString);
    91     COUT(0) << "ParsedSourceCode: " << luaSource_ << std::endl;
     91    COUT(4) << "ParsedSourceCode: " << luaSource_ << std::endl;
    9292  }
    9393
     
    100100    if (error == 0)
    101101      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;
    103103  }
    104104
Note: See TracChangeset for help on using the changeset viewer.