elsid
20c15b30de
Move getLuaType out of MWWorld::PtrBase
...
This function is used only for Lua related code and don't need to be present
everywhere ptr.hpp is included.
2022-07-05 00:53:19 +02:00
elsid
4613840914
Use single implementation to check whether marker is hidden
2022-07-05 00:36:37 +02:00
Cody Glassman
051832d7ae
[Lua] Set simulation time scale
2022-07-03 12:51:28 +00:00
Petr Mikheev
50b143b53f
Fast fix in cellbindings.cpp
2022-06-24 23:41:11 +00:00
Petr Mikheev
377c00261a
[Lua] Ability to distinguish normal interiors and quasi exteriors (like Mournhold).
2022-06-24 18:24:02 +02:00
Petr Mikheev
8123e41a75
Fix #6824
2022-06-21 21:11:15 +02:00
uramer
36a1e18b6f
Increment Lua API revision
2022-06-19 17:31:53 +02:00
uramer
3761e7b24e
Pass a 0-count object to onConsume instead of the record id
2022-06-18 11:13:54 +02:00
psi29a
eac1d8599a
Merge branch 'lua_record_paths' into 'master'
...
Correct VFS paths in Lua records
See merge request OpenMW/openmw!1853
2022-06-12 18:45:24 +00:00
psi29a
bf8cc36645
Merge branch 'camera_settings' into 'master'
...
In-game camera settings
Closes #6715
See merge request OpenMW/openmw!1924
2022-06-12 12:47:11 +00:00
uramer
bf905fce4c
Don't use WindowManager outside of UI, correct paths for new record types
2022-06-12 13:07:50 +02:00
uramer
1fb136a417
Correct icon and mesh paths in Lua records
2022-06-12 11:30:29 +02:00
psi29a
bb0dad7c08
Update to C++20 and see if our CI can handle it.
2022-06-12 08:00:11 +00:00
Petr Mikheev
c548708a27
Remove Lua package openmw.settings
2022-06-12 00:06:39 +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
Petr Mikheev
1240b60a24
Console command reloadlua
also reloads l10n used by Lua scripts
2022-06-06 23:56:08 +02:00
Kindi
aa2e724342
Lua API for Repair records
2022-06-06 16:24:54 +00:00
Petr Mikheev
a70d5831c5
Lua scripts configuration in omwaddon
2022-06-05 01:36:39 +02:00
beelzebielsk
fb5eb542ff
Lua api for potion records
2022-06-01 13:19:03 +00:00
Petr Mikheev
11f21c39ec
Merge branch 'addmiscluabinds' into 'master'
...
Lua API for Miscellaneous records
See merge request OpenMW/openmw!1954
2022-05-31 08:54:08 +00:00
Kindi
638ad15af8
Lua API for Miscellaneous records
2022-05-31 08:54:07 +00:00
Cody Glassman
447b586d7d
[Postprocessing] Fix a couple awkward issues with Lua API
2022-05-31 08:45:27 +00:00
Kindi
3d0adf259b
Lua API for Apparatus records
2022-05-29 23:03:36 +00:00
psi29a
f84be8c3f9
Merge branch 'lua-api-containers' into 'master'
...
Add bindings for container record
See merge request OpenMW/openmw!1932
2022-05-28 08:03:13 +00:00
adam
e2528a1562
Add docs and automagical declaration
2022-05-26 07:20:50 +00:00
adam
dddc1dc2bb
Add bindings for capacity and encumbrance
2022-05-26 06:41:53 +00:00
adam
aa56e40bc3
Add bindings for container record
2022-05-26 01:11:22 +00:00
elsid
639bdd5801
Use free function instead of virtual MWBase::World::positionToIndex
...
The virtual function does the same thing.
* Change return type to osg::Vec2i to avoid dependency on ESM3.
* Rename to positionToCellIndex to make it clear what is the index.
2022-05-24 19:31:23 +02:00
Kindi
1b37d5d2ad
Lua API for Lockpick and Probe records
2022-05-24 11:48:13 +00:00
cody glassman
6093cb5f2c
postprocessing lua api extensions
2022-05-22 18:53:38 -07:00
Petr Mikheev
6a0a2eed33
[Lua] core.getRealTime()
2022-05-20 21:49:19 +02:00
uramer
70eacbbefc
onObjectActive and onItemActive Lua engine handlers
2022-05-20 19:27:21 +00:00
psi29a
67421a400a
Merge branch 'bookluabinds' into 'master'
...
Lua API for Book records
See merge request OpenMW/openmw!1886
2022-05-20 14:09:09 +00:00
kuyondo
5109777d3b
remove duplication
2022-05-20 18:50:00 +08:00
kuyondo
7dbccc914a
no skill returns nil
2022-05-20 06:03:12 +08:00
kuyondo
8a1a838ffa
update book.cpp and weapon.cpp
2022-05-20 00:39:19 +08:00
kuyondo
a26898d8ed
no addtype
2022-05-19 20:18:47 +08:00
kuyondo
cad68a5566
Add lua binding for books
2022-05-19 20:02:18 +08:00
psi29a
d4e2000d5b
Merge branch 'render_targets' into 'master'
...
Bind custom render targets per pass
See merge request OpenMW/openmw!1884
2022-05-19 11:03:02 +00:00
glassmancody.info
3d03052717
dont bind rendertargets unless we use them, otherwise texture limit will be reached quickly
2022-05-18 19:45:09 -07:00
kuyondo
93aae5e116
Add lua binding for activators
2022-05-19 04:23:22 +08:00
psi29a
d3f331793e
Merge branch 'sol' into 'master'
...
Update sol. Replace combined sol.hpp with loose files.
See merge request OpenMW/openmw!1851
2022-05-18 07:57:32 +00: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
elsid
c88d3e712d
Cleanup mwlua includes
2022-05-16 22:25:48 +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
Petr Mikheev
7ccbf95503
[Lua] makeStrictReadOnly for enums
2022-05-16 00:16:26 +02:00
Petr Mikheev
d16fa553c8
Fix LuaUtil::Callback
2022-05-15 21:34:48 +02:00
cody glassman
04843fed6d
moddable post-processing pipeline
2022-05-15 10:03:58 -07: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
95ad67eb8b
Add extraRoll to the Lua camera package
2022-05-12 23:21:47 +02:00