Commit Graph

64 Commits (dd5901d3517cc519819a2c45b37b1fd93e571ce8)

Author SHA1 Message Date
Petr Mikheev eae1e87081 [Lua] Update openmw.storage 3 years ago
Petr Mikheev 88d09c336c Lua console 3 years ago
Petr Mikheev 1363292fc9 Merge branch 'l10n_docs' into 'master'
L10n docs

See merge request OpenMW/openmw!1785
3 years ago
Benjamin Winger 2f455aa87b
Added fallback details to l10n docs 3 years ago
Benjamin Winger dac4415699
Moved localisation docs to dedicated page 3 years ago
fredzio d05a2facf3 Handle NCC flag in Nif files. Objects with this flag will collide only with camera.
Expose objects with NC flag to be used by Lua mods.
3 years ago
Petr Mikheev 45c9635e94 Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G 3 years ago
Petr Mikheev 51845e9553 Rendering raycasts in Lua 3 years ago
Benjamin Winger 21ffbcc4b4 Lua i18n updates 3 years ago
Petr Mikheev 3af8ea5dfc Update Lua bindings for the camera 3 years ago
Petr Mikheev 7186ea8ab4 [Lua] New overload `Actor.equipment(actor, slot)`. 3 years ago
Petr Mikheev eca64b48e8 Bitwise operations in Lua 3 years ago
Petr Mikheev fbc84465c5 Merge branch 'futureproof_layers' into 'master'
Add layer size, make layers API more flexible

See merge request OpenMW/openmw!1724
3 years ago
Evil Eye 93d195646c Lua stats 3 years ago
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 3 years ago
jvoisin eb46bde75e Merge branch 'lua_records' into 'master'
Lua bindings for ESM::Door and ESM::Weapon records

See merge request OpenMW/openmw!1717
3 years ago
Petr Mikheev 1b1e81b90e Lua bindings for ESM::Door and ESM::Weapon records 3 years ago
Petr Mikheev d185cb6dce Add Lua function `ui.screenSize()` 3 years ago
Petr Mikheev fa115418eb [Lua] Remove queries 3 years ago
Petr Mikheev 9af49cfa68 [Lua] Update documentation 3 years ago
uramer e7474490a1 Document using ui.texture to create atlases 3 years ago
uramer 94cc090f73 PR feedack for documentation 3 years ago
uramer e092ee2624 Document the Lua Image widget, add UI texture resources 3 years ago
uramer 4a0b784699 Use reasonable Luadoc comment headers 3 years ago
Petr Mikheev ff7ac7192b Merge branch 'ui_pairs' into 'master'
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.

See merge request OpenMW/openmw!1643
3 years ago
uramer a1abc84f59 Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way. 3 years ago
uramer cc6dce5443 Support controller touchpads (Resolves https://gitlab.com/OpenMW/openmw/-/issues/6639) 3 years ago
uramer ede9d27437 Element-wise multiplication and division of Lua vectors 3 years ago
uramer 643c1d6aeb Merge branch 'lua_ai' into 'master'
Control AI packages from Lua

See merge request OpenMW/openmw!1604
3 years ago
Evil Eye 7a7a95407a Merge branch 'lua_pairs' into 'master'
Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`.

See merge request OpenMW/openmw!1628
3 years ago
Petr Mikheev a294adcdaf Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`. 3 years ago
uramer 581c3f4882 Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI 3 years ago
Petr Mikheev 6c56436809 Control AI packages from Lua 3 years ago
Petr Mikheev 6e4f628866 Replace `inventory:get<Type>()` with `inventory:getAll(<Type>)` 3 years ago
psi29a cf8d49bb9a Merge branch 'lua_settings_ui' into 'master'
Lua settings UI

Closes #6454

See merge request OpenMW/openmw!1595
3 years ago
uramer 2945f6238e Fix util.color docs 3 years ago
uramer 946b8b804c MR feedback 3 years ago
Petr Mikheev 47c37e5849 Lua command `object:activateBy(actor)` and handler `onActivate` 3 years ago
uramer 2185fd29c5 Document ui.registerSettingsPage 3 years ago
uramer c31dedb89c Implement Yaw, Pitch and Use (attack / cast spell) in Lua self.controls 3 years ago
uramer d1d8f058ac Lua bindings for Colours 3 years ago
Petr Mikheev a182fdeea1 Permanent storage for Lua data 3 years ago
Petr Mikheev 2d1b100239 Change terminology of gameSecond/gameHour to simulationTime/gameTime 3 years ago
Petr Mikheev 0f246e7365 Use a separate instance of Lua i18n for every context 3 years ago
Petr Mikheev db72380ba9 Allow Lua scripts to handle input actions when UI is opened. Also fixes #6456. 3 years ago
Petr Mikheev 7549496162 A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize 3 years ago
uramer c865114b9b Lua UI Layers 3 years ago
Petr Mikheev 620748480b Merge branch 'lua_missing_key_codes' into 'master'
Lua binding for SDL_GetKeyName, two missing scan codes

See merge request OpenMW/openmw!1450

(cherry picked from commit d86e7d4c9a28bc96af0a5638b26879fa49b8a847)

9a073baa Add Apostrophe and Period scan codes
d66f3a35 Add getKeyName to Lua input API
ed64add9 Replace mentions of KeyEvent with KEY
3 years ago
Petr Mikheev 73821ace94 Update Lua docs 3 years ago
Petr Mikheev d5ca091d6e Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation 3 years ago