diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 08:03:26 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 08:03:26 +1000 |
commit | 227e60ca4c927ed9f6b7db5e5c53c45addd1428b (patch) | |
tree | 5a8a080c4d60084bfb864252407cd4fc145926a3 /source/core/StarLua.hpp | |
parent | ed8b22c472b9159550ade374328092d15b575ade (diff) |
new object lighting toggle, log non-master entity render/update exceptions
Diffstat (limited to 'source/core/StarLua.hpp')
-rw-r--r-- | source/core/StarLua.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarLua.hpp b/source/core/StarLua.hpp index 2fe275d..09e81e6 100644 --- a/source/core/StarLua.hpp +++ b/source/core/StarLua.hpp @@ -519,6 +519,9 @@ public: ByteArray compile(char const* contents, size_t size, char const* name = nullptr); ByteArray compile(String const& contents, String const& name = String()); ByteArray compile(ByteArray const& contents, String const& name = String()); + + // Returns the debug info of the state. + lua_Debug const& debugInfo(int level = 1, const char* what = "nSlu"); // Generic from/to lua conversion, calls template specialization of // LuaConverter for actual conversion. @@ -734,6 +737,7 @@ private: unsigned m_recursionLimit; int m_nullTerminated; HashMap<tuple<String, unsigned>, shared_ptr<LuaProfileEntry>> m_profileEntries; + lua_Debug m_debugInfo; }; // Built in conversions |