Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 13, 2011, 11:58:07 PM (13 years ago)
Author:
landauf
Message:

Exported orxout() and the output levels to lua, replaces logMessage() and cout().
Note that OutputDefinitions.h is now included in the tolua section of core, even though the file is in util. But I guess that's ok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/LuaState.h

    r8729 r8840  
    8383
    8484        void luaPrint(const std::string& str); // tolua_export
    85         void luaLog(unsigned int level, const std::string& message); // tolua_export
     85        void luaOutput(orxonox::level::OutputLevel level, const std::string& context, const std::string& message); // tolua_export
     86        void luaOutput(orxonox::level::OutputLevel level, const std::string& message); // tolua_export
     87        void luaOutput(const std::string& message); // tolua_export
    8688        bool fileExists(const std::string& filename); // tolua_export
    8789        std::string getSourceCode(const std::string& filename); // tolua_export
Note: See TracChangeset for help on using the changeset viewer.