1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 19:15:41 +00:00
Commit graph

256 commits

Author SHA1 Message Date
uramer
ef730c4395 Clean up global setting groups, don't try to destroy setting pages before they were rendered 2024-02-19 18:26:58 +01:00
psi29a
ec1cf46ec7 Merge branch 'lua_keybinds' into 'master'
Lua Implement mouse input engine handlers, improve inputBinding renderer

See merge request OpenMW/openmw!3855
2024-02-14 08:30:38 +00:00
uramer
4ffcb5b197 Prevent deepContentCopy corrupting non-plain tables 2024-02-13 00:59:39 +01:00
psi29a
a060a7297c Merge branch 'dehardcode-skillprogression' into 'master'
Lua: Dehardcode skill and level progression

See merge request OpenMW/openmw!3779
2024-02-12 14:10:51 +00:00
uramer
63a1bbb88d Enable Lua mouse engine handlers while in UI 2024-02-11 23:49:26 +01:00
uramer
f4fed4ca5f Simplify inputBinding renderer, allow binding controller buttons 2024-02-11 16:27:54 +01:00
Alexei Kotov
3301ebb2cb Merge branch 'localize_screenshot' into 'master'
Localize screenshot messages

See merge request OpenMW/openmw!3843
2024-02-10 13:54:05 +00:00
Alexei Kotov
d975ed33ab Merge branch 'lua_fix_move360' into 'master'
Lua Fix 360 controller movement

See merge request OpenMW/openmw!3851
2024-02-09 15:42:03 +00:00
Andrei Kortunov
6760fa4945 Localize screenshot messages 2024-02-08 12:50:12 +04:00
uramer
2463633c99 Put camera after playercontrols in load order not to override move360 controls 2024-02-07 18:10:36 +01:00
uramer
e7ef49e6df Deep update and destroy ui helpers 2024-02-06 15:35:04 +01:00
uramer
891f3583fe Only reset settings when there is no game, not on game end / player death 2024-02-04 11:12:12 +01:00
uramer
72136e7e92 Remove debug log 2024-02-04 11:12:12 +01:00
Mads Buvik Sandvei
3882ba15fb Rework documentation of skill used/level up handlers. 2024-02-02 20:10:25 +01:00
Mads Buvik Sandvei
4f8476efd4 Comments 2024-01-31 23:01:16 +01:00
Mads Buvik Sandvei
9f15f3b431 Add engine handler for skill levelup, to dehardcode the book/trainer case. 2024-01-30 21:25:39 +01:00
Mads Buvik Sandvei
2cfa819ccc Use interface in _onSkillUse engine handler. 2024-01-30 21:25:39 +01:00
Mads Buvik Sandvei
e1a22242d9 skillGain as a table 2024-01-30 21:25:38 +01:00
Mads Buvik Sandvei
011d9d6493 Dehardcode skill and level progression 2024-01-30 21:25:36 +01:00
uramer
2008f35e57 Don't reset player setting groups right after game load, refactor update group functions 2024-01-27 19:09:26 +01:00
uramer
9cce2e39ba Merge branch 'master' into menuscripts 2024-01-27 15:45:31 +01:00
uramer
d9f8c5c3e8 Fix menu setting page key set 2024-01-27 15:03:34 +01:00
uramer
ad5d594c28 Let menu scripts clean up before loading a game 2024-01-27 14:47:22 +01:00
Mads Buvik Sandvei
a94add741e Lua: Animation bindings 2024-01-26 21:39:33 +00:00
Andrei Kortunov
a340b49cbc Enhance light settings tweaking 2024-01-16 10:23:13 +04:00
uramer
94d782c4be Fix doc typos and add menu package to necessary lists 2024-01-14 17:47:23 +01:00
uramer
7cc0eae461 Fix Menu Lua settings reset between states 2024-01-13 00:46:24 +01:00
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
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
187f63d3d3 support postprocess distortion 2023-12-21 10:56:38 -08:00
Evil Eye
659d7fefa1 Add Russian localization 2023-12-01 16:38:38 +01:00
Evil Eye
23aacbd914 Introduce a minimum supported save game format 2023-12-01 16:37:29 +01: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
Zackhasacat
f230e3cab0 Merge branch 'lua_ui_select_renderer_invalid' into 'master'
Render invalid 'select' setting renderer values instead of silent failure

See merge request OpenMW/openmw!3584
2023-11-21 23:06:22 +00:00
Zackhasacat
6fb6c7a32f Merge branch 'misisng_plugins' into 'master'
Display missing plugins upon savegame loading

Closes #7608

See merge request OpenMW/openmw!3594
2023-11-20 00:19:43 +00:00
Andrei Kortunov
f88b99201a Display missing plugins upon savegame loading (feature 7608) 2023-11-18 14:12:18 +04:00
Joakim Berg
624d6ce7d0 Update file sv.yaml 2023-11-14 21:11:27 +00:00
Joakim Berg
818cd8343f Update file sv.yaml 2023-11-14 10:52:28 +00:00
Joakim Berg
f62b43d2d6 Update file sv.yaml 2023-11-14 05:27:30 +00:00
uramer
435e9731df Render invalid 'select' setting renderer values instead of silent failure 2023-11-11 18:09:00 +01:00
Cody Glassman
0f53088014 re-sync docs with postprocessing API 2023-11-05 10:22:22 -08: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
psi29a
ab798be320 Merge branch 'fix_scrollbars' into 'master'
Do not use deprecated MyGUI properties

Closes #5896

See merge request OpenMW/openmw!3320
2023-08-20 11:04:23 +00:00
Petr Mikheev
b34930d3f2 Add missing 'local' in playercontrols.lua 2023-08-09 10:18:26 +02:00
Andrei Kortunov
a2d509a4b5 Do not use deprecated MyGUI features for scrollbars 2023-08-08 09:30:22 +04:00
Andrei Kortunov
f3cf61627c Do not use deprecated MyGUI features for list boxes 2023-08-08 09:30:13 +04:00
Andrei Kortunov
370807281f Do not use deprecated MyGUI features for progress bars 2023-08-08 09:30:02 +04:00
Chris Vigil
996f5fd7ad Resolve "Extend searching in the console with regex and toggleable case-sensitivity" 2023-08-05 10:02:07 +00: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
Joakim Berg
c612c2a218 Last Swedish translations as of now (#7417) 2023-07-08 12:39:00 +00:00
psi29a
dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2023-06-25 20:11:19 +00:00
psi29a
e406b13233 Merge branch 'transjune23' into 'master'
More translations in Swedish

See merge request OpenMW/openmw!3165
2023-06-23 20:09:19 +00:00
Joakim Berg
6e54fbe9bc Update file sv.yaml 2023-06-21 20:08:12 +00:00
psi29a
6ff46bbb5d Merge branch 'lua-translate' into 'master'
Do not translate a Lua language name

See merge request OpenMW/openmw!3168
2023-06-21 15:40:18 +00:00
Andrei Kortunov
a75c81ed54 Do not translate a Lua language name 2023-06-21 18:13:58 +04:00
psi29a
47b1247fa2 Merge branch 'l10n' into 'master'
Make configurable whether GMST strings have priority over built-in interface messages

See merge request OpenMW/openmw!3134
2023-06-21 06:52:30 +00: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