Implement Lua bindings for sound system

This commit is contained in:
Andrei Kortunov 2023-07-19 17:21:17 +04:00
parent 18f3e937cb
commit 7ce9fc25c5
21 changed files with 605 additions and 51 deletions

View file

@ -19,6 +19,7 @@ Lua API reference
openmw_self
openmw_nearby
openmw_input
openmw_ambient
openmw_ui
openmw_camera
openmw_postprocessing

View file

@ -0,0 +1,5 @@
Package openmw.ambient
======================
.. raw:: html
:file: generated_html/openmw_ambient.html

View file

@ -21,6 +21,8 @@
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|:ref:`openmw.nearby <Package openmw.nearby>` | by local scripts | | Read-only access to the nearest area of the game world. |
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|:ref:`openmw.ambient <Package openmw.ambient>` | by player scripts | | Controls background sounds for given player. |
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|:ref:`openmw.input <Package openmw.input>` | by player scripts | | User input. |
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|:ref:`openmw.ui <Package openmw.ui>` | by player scripts | | Controls :ref:`user interface <User interface reference>`. |