Commit Graph

85 Commits

Author SHA1 Message Date
Petr Mikheev 8bef84c16b util.color (0, 0, 0) -> util.color (`rgb(0, 0, 0)`) 2023-09-15 19:29:38 +02:00
Petr Mikheev fb8ccf52d8 Add missing argument `force` in UseItem 2023-09-11 16:21:34 +02:00
psi29a 938c487684
Merge branch 'time' into 'master'
[Lua] Ability to unpause the game when UI is opened.

See merge request OpenMW/openmw!3398
2023-09-06 08:16:49 +00:00
psi29a 5faf56950b
Merge branch 'lua_files' into 'master'
Implement Lua API for VFS

Closes #6864

See merge request OpenMW/openmw!3373
2023-09-03 17:06:14 +00:00
psi29a 0b74146b05
Merge branch 'luautflib' into 'master'
Lua utf-8 support

Closes #6505

See merge request OpenMW/openmw!3327
2023-09-03 17:05:27 +00:00
Petr Mikheev 23a7661d0b Control UI pause from Lua 2023-09-03 03:41:13 +02:00
psi29a b818414d82
Merge branch 'activate_and_use' into 'master'
Handle Use action in Lua in a similar way to Activate action

See merge request OpenMW/openmw!3354
2023-09-02 15:11:43 +00:00
Andrei Kortunov c04a0ca3a5 Implement Lua API for VFS 2023-09-02 08:47:46 +04:00
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 2023-08-31 20:56:02 +02:00
Petr Mikheev ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
Kindi af58b531da change function names and add documentation in overview.rst 2023-08-30 02:33:27 +08:00
Petr Mikheev c5ba289bc7 Handle UI modes open/close sounds in Lua 2023-08-20 17:49:56 +02:00
Petr Mikheev 87eacf774a Control GUI modes from Lua 2023-08-20 17:49:56 +02:00
Andrei Kortunov 7ce9fc25c5 Implement Lua bindings for sound system 2023-08-15 10:28:29 +04:00
Zackhasacat 8f303f46dc Lua Documentation clarification/fixes 2023-08-11 21:16:32 +00:00
Petr Mikheev 7d08243c95 Minor fixes in OpenMW Lua documentation. 2023-07-29 12:50:50 +02:00
Petr Mikheev 4016e8b383 Lua engine handler onTeleported 2023-07-19 10:42:58 +02:00
Petr Mikheev a09fb8d8f8 Rework Lua bindings for journal 2023-07-08 14:32:58 +02:00
Tobias Tribble c792582376 Add Lua bindings for journal 2023-07-08 13:37:39 +02:00
Evil Eye c1823e8742 Document onNewExterior 2023-06-13 17:30:52 +02:00
Petr Mikheev 61d207bd78 Allow Lua scripts to extend or override standard activation mechanics 2023-04-16 23:50:27 +02:00
uramer 7f3926db3f Merge branch 'lua_ai' into 'master'
Expose the argument `cancelOther` of `AiSequence::stack` to Lua

Closes #7245

See merge request OpenMW/openmw!2865
2023-03-30 19:35:48 +00:00
Petr Mikheev 3c5a9f55c5 Expose the argument `cancelOther` of `AiSequence::stack` to Lua 2023-03-27 02:28:45 +02:00
Petr Mikheev a72dc6c7a1 (Lua) Add onActivate handler in global scripts 2023-03-27 01:36:45 +02:00
uramer b883cc5a1b Move the Teal docs page out of Overview 2023-02-19 20:45:07 +01:00
uramer a8d32ebdca Rename the build_teal script 2023-02-11 14:10:16 +01:00
uramer dd3c89c5db Document the Teal workflow 2023-02-11 12:51:59 +01:00
Petr Mikheev 8dd2aa09ca Add naming policy for scripts and l10n files to documentation 2023-01-02 14:38:59 +01:00
Petr Mikheev 1869aeae5c Move some of player controls logic from C++ to Lua 2022-12-28 22:04:19 +01:00
uramer 3761e7b24e Pass a 0-count object to onConsume instead of the record id 2022-06-18 11:13:54 +02:00
Petr Mikheev 860d5899c4 Control camera settings in-game 2022-06-12 00:06:39 +02:00
uramer 6d2dcaea50 Lua UI: Enable autoSize for single line text edit 2022-06-11 22:24:20 +02:00
psi29a 9c1970dce4 Merge branch 'lua_esm' into 'master'
Advanced Lua scripts configuration in omwaddon

See merge request OpenMW/openmw!1947
2022-06-11 18:48:23 +00:00
uramer 6c9c832927 Lua UI: Support autosized multiline text 2022-06-06 21:52:55 +00:00
Petr Mikheev a70d5831c5 Lua scripts configuration in omwaddon 2022-06-05 01:36:39 +02:00
uramer e591f856fb Renderers 2022-05-24 19:11:13 +00:00
uramer 70eacbbefc onObjectActive and onItemActive Lua engine handlers 2022-05-20 19:27:21 +00:00
Petr Mikheev e326c5bd09 Add a couple of words about Lua console to the documentation 2022-05-19 10:59:31 +02:00
elsid 215b46503c
Support rendering for navmesh update frequency as a heatmap
Useful when need to find tiles with high number of updates.

Add debug Lua package with new functions to toggle render mode and set navmesh
render mode.
2022-05-17 01:54:20 +02:00
psi29a f092d8da9a Merge branch 'post_malone' into 'master'
Post Processing

See merge request OpenMW/openmw!1124
2022-05-16 14:51:13 +00:00
cody glassman 04843fed6d moddable post-processing pipeline 2022-05-15 10:03:58 -07:00
uramer be100749f8 Merge branch 'lua_onframe' into 'master'
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745)

See merge request OpenMW/openmw!1852
2022-05-15 16:48:38 +00:00
uramer 52d05be04b Styling for Settings 2022-05-14 10:27:30 +00:00
Petr Mikheev 0643685ea5 [Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745) 2022-05-13 19:14:34 +02:00
uramer cd3535cd63 Document Settings interface, add scripts to CMakeLists 2022-05-08 11:15:17 +02:00
uramer 38e0f5c0af Fix a docs typo 2022-05-08 11:15:17 +02:00
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 2022-05-03 17:36:49 +00:00
Petr Mikheev 88d09c336c Lua console 2022-04-21 21:57:07 +02:00
uramer 3580f8ab43 Add Flex widget documentation 2022-04-05 17:52:23 +02:00
glassmancody.info 26c7e308ed mygui bindings for color and alpha 2022-03-21 22:00:32 -07:00