Commit Graph

17 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
Evil Eye c9783344a0 Wrap all memory allocating Lua functions in protected calls 4 months ago
Alexei Kotov 6515fdd73f Handle zero length Lua storage files more gracefully (#7823) 9 months ago
Andrei Kortunov ddd0945645 Add a storage mode to drop section on game exit 10 months ago
uramer 962ecc4329 Allow menu scripts to read global sections while a game is loaded 12 months ago
Petr Mikheev f5325e11e3 Rename mPermanentCallbacks -> mMenuScriptsCallbacks in LuaUtil::Storage 1 year ago
Petr Mikheev 1dd7a15255 Draft: add new type of Lua scripts - menu scripts 1 year ago
psi29a cdc753df70 Merge branch 'lua_refactoring' into 'master'
MWLua refactoring

See merge request OpenMW/openmw!2956
2 years ago
Petr Mikheev 4562b8c06b Add headers for all `.cpp` files in mwlua; move packages initilaization from LuaManager to luabindings.cpp 2 years ago
Petr Mikheev c362b2efa6 Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
Petr Mikheev 65885d994f Don't expose LuaUtil::Callback to lua 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
uramer 1fe794d935 Changing setting renderer arguments 3 years ago
Petr Mikheev eae1e87081 [Lua] Update openmw.storage 3 years ago
Petr Mikheev 067d71f7eb Fix heap use after free in components/lua/storage.cpp 3 years ago
Petr Mikheev a182fdeea1 Permanent storage for Lua data 3 years ago