Petr Mikheev
|
72b8ff82ff
|
!3362 with safe reloadlua
|
2023-09-15 19:10:33 +02:00 |
|
Petr Mikheev
|
892f6d1aee
|
Make LiveCellRef to remove itself from PtrRegistry in destructor (to prevent potential use after free); Update ContainerStore::mPtr after copying container/actor.
|
2023-09-09 21:54:13 +02:00 |
|
Petr Mikheev
|
42f2ece8b3
|
Fix bug: UI modes that are added not through Lua don't show windows that were hidden by Lua in other mode.
|
2023-09-07 02:16:22 +02:00 |
|
Petr Mikheev
|
f1bcf64afb
|
Dehardcode input.ACTION.Inventory, input.ACTION.Journal, input.ACTION.QuickKeysMenu
|
2023-08-20 17:49:56 +02:00 |
|
Petr Mikheev
|
87eacf774a
|
Control GUI modes from Lua
|
2023-08-20 17:49:56 +02:00 |
|
psi29a
|
e21e3a0d46
|
Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts
See merge request OpenMW/openmw!3317
|
2023-08-18 08:22:04 +00:00 |
|
Petr Mikheev
|
efe2dfc056
|
Minor fix of error message in LuaManager::DealyedAction::apply
|
2023-08-12 11:08:19 +02:00 |
|
Petr Mikheev
|
87912065fd
|
Rename MWLua::WorldView -> MWLua::ObjectLists
|
2023-08-08 22:57:28 +02:00 |
|
Petr Mikheev
|
6c4e1f4e8f
|
Lua commands world.pause / world.unpause
|
2023-08-08 22:57:28 +02:00 |
|
Petr Mikheev
|
91c7585c8b
|
Move some time-related function from World and WorldView to DateTimeManager
|
2023-08-08 22:57:28 +02:00 |
|
psi29a
|
0c5faf8fbb
|
Merge branch 'save_apply_lua_actions' into 'master'
Apply delayed Lua actions before making a save
See merge request OpenMW/openmw!3294
|
2023-08-06 16:13:33 +00:00 |
|
Petr Mikheev
|
f344c26465
|
Apply delayed Lua actions before making a save
|
2023-07-30 02:50:22 +02:00 |
|
elsid
|
c9c32d9a0d
|
Cleanup includes
|
2023-07-29 00:16:43 +02:00 |
|
Petr Mikheev
|
4016e8b383
|
Lua engine handler onTeleported
|
2023-07-19 10:42:58 +02:00 |
|
Petr Mikheev
|
086fdb1f37
|
Run onNewGame handler in LuaManager::synchronizedUpdate
|
2023-07-19 10:07:30 +02:00 |
|
Petr Mikheev
|
b583aad14a
|
Fix bug in LuaManager::reloadAllScripts
|
2023-07-17 02:21:46 +02:00 |
|
psi29a
|
429e911da1
|
Merge branch 'lua_journal' into 'master'
Add Lua bindings for journal (second iteration of !3133)
See merge request OpenMW/openmw!3189
|
2023-07-11 07:37:13 +00:00 |
|
Tobias Tribble
|
c792582376
|
Add Lua bindings for journal
|
2023-07-08 13:37:39 +02:00 |
|
elsid
|
f6fce5ee15
|
Cleanup includes
|
2023-07-08 11:28:56 +02:00 |
|
psi29a
|
6601b0cb15
|
Merge branch 'fastandloose' into 'master'
Drop support for --fs-strict
Closes #7394
See merge request OpenMW/openmw!3093
|
2023-07-02 19:24:14 +00:00 |
|
Petr Mikheev
|
8ca7770d56
|
Fix #7439: world.players and nearby.players returns "0_-1" instead of "1_-1"
|
2023-06-27 23:56:45 +02:00 |
|
Petr Mikheev
|
9d15629ae2
|
[Lua] Add nearby.players and world.players
|
2023-06-17 19:56:25 +02:00 |
|
Petr Mikheev
|
790ddcf32e
|
Fix #7420 (Local scripts on items cause the game to crash when activated)
|
2023-06-12 21:25:48 +02:00 |
|
Evil Eye
|
eeda48ec50
|
Drop support for --fs-strict
|
2023-06-08 21:10:09 +02:00 |
|
elsid
|
9012207e32
|
Make WorldModel a front-end for PtrRegistry
|
2023-05-31 21:44:27 +02:00 |
|
elsid
|
ce91784085
|
Move Ptr registry into a separate type
There is no dependency on the rest of the WorldModel state.
|
2023-05-28 13:04:17 +02:00 |
|
Petr Mikheev
|
31eb3e6f5d
|
Use typed settings storage for Lua settings
|
2023-04-25 23:51:37 +02:00 |
|
Petr Mikheev
|
003f611bdb
|
Remove LuaManager::Action
|
2023-04-25 23:51:37 +02:00 |
|
Petr Mikheev
|
4562b8c06b
|
Add headers for all .cpp files in mwlua; move packages initilaization from LuaManager to luabindings.cpp
|
2023-04-25 23:24:51 +02:00 |
|
Petr Mikheev
|
f1beaa7b8c
|
Put ESMStore to Environment
|
2023-04-20 21:45:49 +02:00 |
|
psi29a
|
cace3e6566
|
Merge branch 'fix_teleporting' into 'master'
Fix bugs related to Lua commands `obj:teleport` and `obj:moveInto`
See merge request OpenMW/openmw!2937
|
2023-04-20 11:28:02 +00:00 |
|
Petr Mikheev
|
75e47f859c
|
Restore logic that was accidentally removed in !2852. Because of it onUpdate handler in local Lua scripts doesn't work.
|
2023-04-18 23:31:44 +02:00 |
|
Petr Mikheev
|
60a8d08e66
|
Refactor teleporting in Lua; fix a bug in worldmodel.cpp
|
2023-04-17 19:07:30 +02:00 |
|
Petr Mikheev
|
8d1e52ed51
|
Extract engine handlers processing from LuaManager to a new class EngineEvents
|
2023-03-26 03:38:40 +02:00 |
|
Petr Mikheev
|
7ef759c78b
|
Refactor mwlua/eventqueue and extract some code out of LuaManager
|
2023-03-26 03:38:40 +02:00 |
|
Petr Mikheev
|
4fd07cb58d
|
Implement MWWorld::Class::isItem(ptr) and remove a hacky MWLua::WorldView::isItem.
|
2023-03-26 03:38:40 +02:00 |
|
Petr Mikheev
|
0b385d5db9
|
Create MWWorld::SafePtr
|
2023-03-13 23:44:00 +01:00 |
|
Petr Mikheev
|
71ba7b88e2
|
Move asyncpackage from apps/openmw/mwlua to components/lua
|
2023-02-14 20:03:32 +01:00 |
|
psi29a
|
68b3b90255
|
Merge branch 'ui_content_leak' into 'master'
Move implementation of UI Content to Lua (#7155)
See merge request OpenMW/openmw!2661
|
2023-02-01 22:51:47 +00:00 |
|
uramer
|
fb0646dda1
|
Remove Ui Content counter in Lua profiler
|
2023-01-31 19:52:28 +01:00 |
|
Petr Mikheev
|
c4e8d38e30
|
Do several passes of garbage collecting in LuaManager::clear()
|
2023-01-31 11:08:01 +00:00 |
|
Petr Mikheev
|
c294898246
|
Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893)
|
2023-01-22 00:08:21 +01:00 |
|
Petr Mikheev
|
d9e9db0983
|
Additional information in Lua profiler
|
2023-01-13 21:14:23 +01:00 |
|
Petr Mikheev
|
b248c3e173
|
Allow passing initData to the :addSript call (#7091)
|
2022-12-31 22:08:17 +01:00 |
|
Petr Mikheev
|
310acaeee9
|
Don't pass MWLua::WorldView to MWLua::Action
|
2022-12-28 22:06:49 +01:00 |
|
Petr Mikheev
|
b8fb013edf
|
Merge MWLua::ObjectRegistry and MWWorld::WorldModel
|
2022-12-28 12:45:11 +01:00 |
|
psi29a
|
1d55be8214
|
Merge branch 'lua_profiler' into 'master'
Lua profiler
See merge request OpenMW/openmw!2523
|
2022-12-07 10:53:47 +00:00 |
|
Petr Mikheev
|
7c36a7eb49
|
Run Lua GC in every frame
|
2022-12-03 17:09:11 +01:00 |
|
Petr Mikheev
|
55db95d4cf
|
Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case)
|
2022-12-03 16:58:03 +01:00 |
|
Petr Mikheev
|
02a9069a0e
|
Lua Profiler
|
2022-11-30 00:06:14 +01:00 |
|