Commit Graph

25 Commits (0d9b1a579522fa96c3257bc8df364387c7b1a743)

Author SHA1 Message Date
Cody Glassman a53d002262 lua - add swizzling to vector types 5 months ago
psi29a 664a844853 Merge branch 'fix_get_angles_zyx' into 'master'
Fix getAnglesZYX (#7741)

Closes #7741

See merge request OpenMW/openmw!4199
6 months ago
elsid 89a30532b7
Fix getAnglesZYX implementation 6 months ago
Evil Eye d6fc0744c7 Move Lua index helpers to components and make owner.factiooRank match other ranks 7 months ago
uramer c9eaeb47d5 Minor API inconsistencies 1 year ago
elsid 5a0ad8cdd7
Add Morrowind specific tests 1 year ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2 years ago
glassmancody.info a7b7f99d72 Expose game object's bounding box in lua api 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
uramer c17eedd348 Documentation and API fixes (part of !2529) 2 years ago
Petr Mikheev 95999afefd Apply clang-format to the previous commit 2 years ago
Kindi 07da7eddea Add remap and round to lua utils 2 years ago
Petr Mikheev 55db95d4cf Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case) 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
psi29a ce90484898 Merge branch 'fix_lua_color' into 'openmw-48'
Make r, g, b, a read-only properties, rather than getters

See merge request OpenMW/openmw!2380

(cherry picked from commit 85f343e87a)

19d01f26 Make r, g, b, a read-only properties, rather than getters
2 years ago
Andrei Kortunov e3ad30a517 Do not copy data when it is not needed 2 years ago
Petr Mikheev 7ccbf95503 [Lua] makeStrictReadOnly for enums 3 years ago
Petr Mikheev 45c9635e94 Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G 3 years ago
Petr Mikheev eca64b48e8 Bitwise operations in Lua 3 years ago
uramer ede9d27437 Element-wise multiplication and division of Lua vectors 3 years ago
uramer d1d8f058ac Lua bindings for Colours 3 years ago
Petr Mikheev 7549496162 A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize 3 years ago
Petr Mikheev d5ca091d6e Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation 3 years ago
Petr Mikheev 48538d5cef 3D transforms in Lua 3 years ago
Petr Mikheev 4b068b27ca Add components/lua/luastate and components/lua/utilpackage 4 years ago