1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 12:53:52 +00:00
Commit graph

78 commits

Author SHA1 Message Date
uramer
bd54292ff4 Update I.Settings.registerGroup documentation 2024-01-10 23:13:27 +01:00
uramer
8cc47f5363 Only allow menu scripts to register permanent groups 2024-01-10 23:13:27 +01:00
uramer
c2b8e318cf Move inputBinding renderer to menu context 2024-01-10 23:13:27 +01:00
uramer
79deb5f559 Remove settings pages in Lua 2024-01-10 23:13:27 +01:00
uramer
c6a27d06b0 Move controls settings to menu context 2024-01-10 23:13:27 +01:00
uramer
5b97a93169 Move camera settings to a menu script 2024-01-10 23:13:27 +01:00
uramer
6917384fc1 Don't reset menu-registered setting groups 2024-01-10 23:13:27 +01:00
uramer
d1d430b431 Initial Menu context Settings implementation 2024-01-10 22:29:03 +01:00
uramer
9b54f479e8 Move settings rendering to Menu scripts 2024-01-08 21:58:11 +01:00
uramer
d1268acf95 Merge branch 'master' into menuscripts 2024-01-07 23:15:21 +01:00
uramer
2c45d316fb Missing newlines in MWUI documentation 2024-01-05 11:21:12 +00:00
uramer
e734191b56 Add clarifying comment 2024-01-02 14:40:03 +01:00
uramer
9d1a3f243d Use the same controls check for startUse and processAttacking 2024-01-02 14:31:13 +01:00
uramer
5f2cbf810d Check if controls are on for Use action 2024-01-02 13:38:55 +01:00
Alexei Kotov
91a01ae1e2 Remove duplicate ToggleWeapon trigger handler registration 2023-12-30 03:23:27 +03:00
uramer
0e2e386dc9 Lua actions take 3 2023-12-29 18:56:59 +00:00
Evil Eye
047db00980 Merge branch 'useitem_force_fix' into 'master'
Allow not passing force in ItemUsage events

See merge request OpenMW/openmw!3609
2023-11-29 15:42:35 +00:00
Zackhasacat
67421d67e2 Allow not passing force in ItemUsage events 2023-11-29 15:42:34 +00:00
uramer
435e9731df Render invalid 'select' setting renderer values instead of silent failure 2023-11-11 18:09:00 +01:00
Alexei Kotov
d851eaa199 Merge branch 'fix_lua_sneak' into 'master'
Remember sneaking when game is saved and loaded(#7664)

See merge request OpenMW/openmw!3546
2023-11-03 20:36:15 +00:00
Zackhasacat
8d0d9a49c6 Remember sneaking when game is saved and loaded(#7664) 2023-11-03 20:36:14 +00:00
uramer
abae5f031d Fix docs type 2023-11-02 16:05:52 +00:00
Petr Mikheev
889ddc10d6 Enable openmw.input in menu scripts 2023-10-31 11:05:00 +01:00
Petr Mikheev
1dd7a15255 Draft: add new type of Lua scripts - menu scripts 2023-10-31 10:29:24 +01:00
Zackhasacat
ac9cfc782a Add functions to lua ui library to toggle HUD visibility, and check current status. 2023-10-25 12:34:56 +00:00
Petr Mikheev
15306c7d49 [Lua] Add CONTROL_SWITCH functions to types.Player and deprecate them in openmw.input 2023-10-10 01:15:09 +02:00
psi29a
2c81220cf7 Merge branch 'book' into 'master'
Reading ESM4 books

See merge request OpenMW/openmw!3471
2023-10-05 17:24:50 +00:00
Petr Mikheev
54cc1f25a2 Mention in Lua documentation that default tag is an empty string 2023-10-04 10:36:54 +02:00
Petr Mikheev
fcc7b9bb9e Support tags in I.Camera.disable*, I.Camera.enable* in the same way as in world.pause; Update I.Camera docs. 2023-10-04 10:20:56 +02:00
Petr Mikheev
6161953106 Allow reading ESM4 books 2023-10-03 10:55:12 +02:00
PharisMods
01aa67c792 Use thick border textures for thick border UI templates 2023-10-01 00:54:24 +00:00
Petr Mikheev
fb8ccf52d8 Add missing argument force in UseItem 2023-09-11 16:21:34 +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
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
Andrei Kortunov
66bf7be373 Preload new packages to console 2023-09-03 08:24:51 +04:00
Petr Mikheev
65cd518b44 Update camera logic related to paused game / opened UI 2023-09-03 04:21:18 +02:00
Petr Mikheev
23a7661d0b Control UI pause from Lua 2023-09-03 03:41:13 +02:00
Petr Mikheev
b4c8b8308f Lock actiovation when the game is paused; Lock movement controls when UI is opened. 2023-09-03 02:43:55 +02:00
Petr Mikheev
ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
Petr Mikheev
c5ba289bc7 Handle UI modes open/close sounds in Lua 2023-08-20 17:49:56 +02:00
Petr Mikheev
36d22cff1c Improve GUI mode validation 2023-08-20 17:49:56 +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
Petr Mikheev
b34930d3f2 Add missing 'local' in playercontrols.lua 2023-08-09 10:18:26 +02:00
psi29a
3032b340a2 Merge branch 'teleporting' into 'master'
A few Lua changes related to teleporting

See merge request OpenMW/openmw!3246
2023-07-27 09:32:28 +00:00
Petr Mikheev
2c212b18e4 Remove World::activate since all activation now goes trough LuaManager 2023-07-22 17:22:43 +02:00
Petr Mikheev
f2edf05a55 Move camera update after teleporting from worldimp to camera.lua 2023-07-19 10:42:58 +02:00
uramer
bf7b39f214 Fix typos in Lua documentation 2023-07-08 18:40:33 +02:00
psi29a
68415a952e Merge branch 'lua_quat' into 'master'
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion

See merge request OpenMW/openmw!3123
2023-06-20 09:59:06 +00:00