Alexei Kotov
d1e79028e9
Merge branch 'lua-fix-active-spells-pairs-iterator-return' into 'master'
...
Lua: Fix return value for `Actor.ActiveSpells` iterator
See merge request OpenMW/openmw!3808
2024-01-26 20:38:13 +00:00
Alexei Kotov
30d637f5f6
Merge branch 'lua_water_level' into 'master'
...
Lua: Add water level to Core.Cell
See merge request OpenMW/openmw!3766
2024-01-26 20:37:04 +00:00
Zackhasacat
daa9c5f0e1
Lua: Add water level to Core.Cell
2024-01-26 20:37:04 +00:00
Pharis
3b0d654a3f
Return active spell id from pairs
2024-01-25 18:10:10 -06:00
Andrei Kortunov
9e55425b71
Use std::move() in /apps/openmw
2024-01-25 09:03:30 +04:00
Zackhasacat
3ef2f71062
Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor
2024-01-24 15:50:46 -06:00
jvoisin
ec6ac8058b
Merge branch 'vfs_normalized_path' into 'master'
...
Add type for normalized VFS path and use for VFS::Manager file map key
See merge request OpenMW/openmw!3781
2024-01-23 20:42:48 +00:00
Mads Buvik Sandvei
1f416d7c8a
Lua: Creature skill bindings
2024-01-20 11:56:36 +00:00
elsid
a2147d70cc
Use forward declaration for some VFS types
...
This will allow to save on preprocessed code size in the future changes.
2024-01-16 01:32:11 +01:00
uramer
0a2adfee16
SaveInfo.timePlayed field
2024-01-14 17:47:27 +01:00
Andrei Kortunov
14e6af8bea
Add a table with fadeOut argument for streamMusic
2024-01-13 15:42:17 +04:00
uramer
b9afd7245c
Create separate UI api tables for menu and player contexts
2024-01-13 10:13:13 +01:00
uramer
dd09c9b362
Don't save global storage if global scripts didn't run
2024-01-13 00:42:55 +01:00
Zackhasacat
f3229f8674
Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor
2024-01-12 12:01:44 -06:00
uramer
dd6017e81e
Avoid making engine handler methods public
2024-01-11 00:55:29 +01:00
uramer
4ed2af7666
Merge branch 'master' into menuscripts
2024-01-10 23:21:42 +01:00
uramer
1afc7ecd58
Test Lua widgets for text inputs correctly
2024-01-10 23:13:27 +01:00
uramer
79deb5f559
Remove settings pages in Lua
2024-01-10 23:13:27 +01:00
uramer
82a125fb6a
Replace onUpdate with onFrame for menu scripts
2024-01-10 23:13:27 +01:00
uramer
2107bbc01d
Reuse input engine handlers in menu scripts
2024-01-10 23:13:23 +01:00
uramer
962ecc4329
Allow menu scripts to read global sections while a game is loaded
2024-01-10 22:28:57 +01:00
Andrei Kortunov
e67d6c6ebf
Refactor Lua properties
2024-01-10 12:37:14 +04:00
psi29a
a0c0509e3f
Merge branch 'rm_unused_apps_includes' into 'master'
...
Use "" to quote apps/openmw includes and remove unused
See merge request OpenMW/openmw!3727
2024-01-09 08:59:23 +00:00
psi29a
5bd2020c23
Merge branch 'inactiveeffects' into 'master'
...
Make ActorActiveEffects:getEffect return an empty value and strip expired effects from __pairs
Closes #7440
See merge request OpenMW/openmw!3735
2024-01-09 08:58:42 +00:00
uramer
539dc1ee43
Remove confusing addPlayerQuestBindings method
2024-01-08 21:57:59 +01:00
uramer
a6e2ceebb8
Don't clear menu UI on game load
2024-01-07 23:29:20 +01:00
uramer
d1268acf95
Merge branch 'master' into menuscripts
2024-01-07 23:15:21 +01:00
elsid
067957f57b
Use "" to quote apps/openmw includes and remove unused
...
Using "" makes clangd to find unused includes which makes it quite easy to
remove them.
2024-01-07 17:57:11 +01:00
Andrei Kortunov
084fc80efd
Use string_view for readonly string properties
2024-01-07 19:21:45 +04:00
Evil Eye
74a6c81d53
Make ActorActiveEffects:getEffect return an empty value and strip expired effects from __pairs
2024-01-06 14:14:29 +01:00
jvoisin
5837f97b99
Merge branch 'nonexclusivesettings' into 'master'
...
Downgrade Settings GUI mode to a modal (bug #6758 )
Closes #6758
See merge request OpenMW/openmw!3720
2024-01-05 13:04:20 +00:00
Alexei Kotov
7310418984
Downgrade Settings GUI mode to a modal (bug #6758 )
2024-01-02 22:32:52 +03:00
uramer
e9b48e35c0
Coverity defects
2024-01-02 13:54:02 +01:00
Evil Eye
e63933efa6
Use NAM9 for stack count
2023-12-31 17:12:46 +00:00
Alexei Kotov
7e162a0d7c
Merge branch 'lua_real_frame_time' into 'master'
...
Pass real frame duration to onFrame
See merge request OpenMW/openmw!3621
2023-12-31 01:21:41 +00:00
psi29a
e9f3e5c6d1
Merge branch 'lua_actions_electric_boogaloo' into 'master'
...
Lua actions take 3
See merge request OpenMW/openmw!2628
2023-12-29 18:56:59 +00:00
uramer
0e2e386dc9
Lua actions take 3
2023-12-29 18:56:59 +00:00
Cody Glassman
8f85c9194d
lua - add bindings to get frame duration
2023-12-26 09:15:55 -08:00
elsid
81a483fc7f
Remove unused vfs argument from correctMeshPath
2023-12-26 14:14:52 +01:00
elsid
1a39ef07c8
Fix build with Lua 5.4.6
...
/home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp: In member function ‘void MWLua::LuaManager::update()’:
/home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:127:19: error: use of deleted function ‘Settings::SettingValue<T>::SettingValue(const Settings::SettingValue<T>&) [with T = int]’
127 | lua_gc(mLua.sol(), LUA_GCSTEP, Settings::lua().mGcStepsPerFrame);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/elsid/dev/openmw/components/settings/categories/camera.hpp:5,
from /home/elsid/dev/openmw/components/settings/values.hpp:4,
from /home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:16:
/home/elsid/dev/openmw/components/settings/settingvalue.hpp:355:9: note: declared here
355 | SettingValue(const SettingValue& other) = delete;
| ^~~~~~~~~~~~
2023-12-08 00:46:15 +01:00
Andrei Kortunov
6f68df9ac2
Avoid redundant copies
2023-12-06 23:45:25 +04:00
Evil Eye
efb819b9d2
Rename to Died
2023-12-04 17:50:18 +01:00
Evil Eye
ad68b7e18b
Turn onDeath the engine handler into OnDeath the regular event
2023-12-04 17:32:38 +01:00
Evil Eye
8cf99822ed
Add a death event to the Lua API
2023-12-04 17:11:51 +01:00
Alexei Kotov
98dfb68d4a
Merge branch 'ejaansalah' into 'master'
...
Fix the spelling of expel in lua api
See merge request OpenMW/openmw!3608
2023-12-03 20:28:01 +00:00
Zackhasacat
162ac452cf
Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor
2023-11-30 20:49:35 -06:00
Evil Eye
76172c73f3
Merge branch 'fix_restocking_remove' into 'master'
...
Fix Lua remove interacting with restocking items
See merge request OpenMW/openmw!3615
2023-11-29 15:43:23 +00:00
Zackhasacat
4beac9035a
Add bindings for controller cursor mode
2023-11-28 19:58:41 -06:00
uramer
1841341da2
Fix Lua remove interacting with restocking items
2023-11-25 17:39:00 +01:00
uramer
416fa331f1
Implement UI Element tostring
2023-11-24 20:36:45 +01:00