1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 21:29:56 +00:00
Commit graph

2657 commits

Author SHA1 Message Date
uramer
d7bd50e45f Only set controls.jump to true for one frame when jumping 2024-02-20 20:20:38 +01:00
Andrei Kortunov
3971abf5e6 Minor launcher improvements (feature 7843) 2024-02-20 14:02:59 +04:00
uramer
cfa6dc076b Render global setting groups on renderlua 2024-02-19 19:39:52 +01:00
uramer
586706ffe0 Handle group resets gracefully 2024-02-19 19:35:41 +01:00
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
Zackhasacat
95ade48292 Fix menu doc 2024-02-16 19:22:34 -06:00
AnyOldName3
9c959d9698 Make a long sentence more concise
Thanks Bing Chat for doing a mediocre job of this that inspired me to do a competent job of it.
2024-02-16 01:33:52 +00:00
AnyOldName3
91e7eebefb Clarify interaction between clamp lighting and terrain 2024-02-14 13:32:39 +00: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
psi29a
29c2042432 Merge branch 'lua_callback_crash' into 'master'
Lua Fix crash when passing a non-callback table to a callback argument

Closes #7827

See merge request OpenMW/openmw!3861
2024-02-14 08:29:58 +00:00
psi29a
744cd50520 Merge branch 'decoupled-audio' into 'master'
Add option to use camera as sound listener

Closes #5944

See merge request OpenMW/openmw!3836
2024-02-13 09:18:18 +00:00
Epoch
6486f3f2cf Add option to use camera as sound listener 2024-02-13 09:18:18 +00:00
psi29a
50ea852928 Merge branch 'STOP_IGNORING_ME_AND_LOOK_ME_IN_THE_EYES' into 'master'
add ignore list to raycasts (#7788)

See merge request OpenMW/openmw!3848
2024-02-13 09:15:49 +00:00
psi29a
9fb28a250c Merge branch 'a2c-grammar' into 'master'
Fix grammar for A2C checkbox

See merge request OpenMW/openmw!3858
2024-02-13 09:15:17 +00:00
uramer
4ffcb5b197 Prevent deepContentCopy corrupting non-plain tables 2024-02-13 00:59:39 +01:00
Cody Glassman
56b31ceaf5 add ignore list to raycasts 2024-02-12 07:52:47 -08:00
AnyOldName3
567d36240e Clarify shaders documentation
We know people get confused by it. Hopefully this should help.
2024-02-12 15:02:21 +00:00
psi29a
1c2fc59a6f Merge branch 'water' into 'master'
Refraction fog based on water depth

See merge request OpenMW/openmw!3842
2024-02-12 14:13:48 +00:00
psi29a
e9c97b835e Merge branch 'acertainsign' into 'master'
Expose birth signs to Lua

See merge request OpenMW/openmw!3850
2024-02-12 14:11:29 +00: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
AnyOldName3
5913ca67d5 .ts files, too 2024-02-11 23:53:58 +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
525dee00f1 Refraction fog based on water depth (feature 5926) 2024-02-08 18:07:48 +04:00
Andrei Kortunov
6760fa4945 Localize screenshot messages 2024-02-08 12:50:12 +04:00
Alexei Kotov
6ce9c20d56 Merge branch 'lua_ui_aux' into 'master'
Lua deep update and destroy UI helpers

See merge request OpenMW/openmw!3846
2024-02-08 08:26:56 +00:00
Alexei Kotov
6be6f47503 Merge branch 'lua_enchantment_charge_nil' into 'master'
Lua Use nil instead of -1 for default enchantment charge

See merge request OpenMW/openmw!3845
2024-02-08 08:25:15 +00:00
Evil Eye
5715e6428a Merge branch 'lua_separate_owner' into 'master'
Group owner bindings into a table

See merge request OpenMW/openmw!3841
2024-02-07 19:06:18 +00:00
Evil Eye
f114d409c8 Add get and set birth sign 2024-02-07 19:35:26 +01:00
uramer
2463633c99 Put camera after playercontrols in load order not to override move360 controls 2024-02-07 18:10:36 +01:00
Evil Eye
f7aa9f8d94 Expose birth signs to Lua 2024-02-07 18:08:06 +01:00
uramer
b1773d7e9f Use nil instead of -1 for default enchantment charge 2024-02-06 17:30:48 +01:00
uramer
88ce12ecd8 Copy all the luadoc files into resources/lua_api directory 2024-02-06 17:03:29 +01:00
uramer
e7ef49e6df Deep update and destroy ui helpers 2024-02-06 15:35:04 +01:00
uramer
6792cf02b2 Group owner bindings into a table 2024-02-05 18:48:53 +01:00
Andrei Kortunov
66b2d428c8 Merge branch 'qt_localization' into 'master'
Localize Launcher and Wizard

See merge request OpenMW/openmw!3571
2024-02-05 15:11:42 +00: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
uramer
5d0537e57c Document core.sendGlobalEvent behavior in menu scripts 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
uramer
b988db9bda Merge branch 'master' into menuscripts 2024-02-01 20:11:02 +01:00
Andrei Kortunov
7e345436f4 Localize Launcher and Wizard 2024-02-01 09:47:25 +04:00
Mads Buvik Sandvei
4f8476efd4 Comments 2024-01-31 23:01:16 +01:00
uramer
47d5868e2c creationTime field in save info 2024-01-30 22:09:12 +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
7755c97fdf update docs 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
Zackhasacat
4fcacd59aa Add model to NPC lua 2024-01-27 12:02:56 -06: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
Zackhasacat
daa9c5f0e1 Lua: Add water level to Core.Cell 2024-01-26 20:37:04 +00:00
Mads Buvik Sandvei
1f416d7c8a Lua: Creature skill bindings 2024-01-20 11:56:36 +00:00
psi29a
639b7b0b17 Merge branch 'light_settings' into 'master'
Enhance light settings tweaking

See merge request OpenMW/openmw!3782
2024-01-19 08:28:23 +00:00
Andrei Kortunov
a340b49cbc Enhance light settings tweaking 2024-01-16 10:23:13 +04:00
uramer
0a2adfee16 SaveInfo.timePlayed field 2024-01-14 17:47:27 +01:00
uramer
94d782c4be Fix doc typos and add menu package to necessary lists 2024-01-14 17:47:23 +01:00
Andrei Kortunov
14e6af8bea Add a table with fadeOut argument for streamMusic 2024-01-13 15:42:17 +04:00
uramer
7cc0eae461 Fix Menu Lua settings reset between states 2024-01-13 00:46:24 +01:00
uramer
4ed2af7666 Merge branch 'master' into menuscripts 2024-01-10 23:21:42 +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
962ecc4329 Allow menu scripts to read global sections while a game is loaded 2024-01-10 22:28:57 +01:00
Evil Eye
e7d1611be3 Update ActiveEffect documentation 2024-01-09 18:19:04 +01:00
uramer
9b54f479e8 Move settings rendering to Menu scripts 2024-01-08 21:58:11 +01:00
uramer
88049ffac6 Document packages available in menu scripts 2024-01-08 21:58:11 +01:00
uramer
a3fd1b3d6f Document menu scripts 2024-01-08 21:58:07 +01:00
uramer
d1268acf95 Merge branch 'master' into menuscripts 2024-01-07 23:15:21 +01: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
Evil Eye
26a0d27e57 Merge branch 'fix-mwui-docs' into 'master'
Missing newlines in MWUI documentation

See merge request OpenMW/openmw!3726
2024-01-06 11:09:35 +00:00
Evil Eye
8e17aff6a6 Fix MagicSchoolData documentation 2024-01-05 22:17:46 +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
c1e8e88914 Fix input trigger docs 2024-01-02 13:47:04 +01:00
uramer
5f2cbf810d Check if controls are on for Use action 2024-01-02 13:38:55 +01:00
jvoisin
db0d78ba24 Merge branch 'normalizednormals' into 'master'
Don't handle per-vertex normals as tangent space normals (#7748)

See merge request OpenMW/openmw!3704
2023-12-31 17:12:05 +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
Alexei Kotov
91a01ae1e2 Remove duplicate ToggleWeapon trigger handler registration 2023-12-30 03:23:27 +03:00
Alexei Kotov
f83a7b711a Don't handle per-vertex normals as tangent space normals 2023-12-30 03:09:56 +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
c53abd870b Merge branch 'waterscatter' into 'master'
Use sun visibility for sunlight scattering (bug #7309)

Closes #7309

See merge request OpenMW/openmw!3478
2023-12-28 22:18:03 +00:00
Cody Glassman
8f85c9194d lua - add bindings to get frame duration 2023-12-26 09:15:55 -08:00
psi29a
ff514df5a1 Merge branch 'distortion' into 'master'
Distortion

See merge request OpenMW/openmw!3536
2023-12-26 10:31:51 +00:00
elsid
851bad4262 Merge branch 'precipitationripples' into 'master'
Use fallback weather ripple settings (bug #7292)

Closes #7292

See merge request OpenMW/openmw!3671
2023-12-26 09:51:23 +00:00
Alexei Kotov
51b05647e2 Merge branch 'move_files' into 'master'
Move *.ui files for different applications to different folders

See merge request OpenMW/openmw!3659
2023-12-24 09:58:24 +00:00
Alexei Kotov
099c39ae87 Use fallback weather ripple settings (bug #7292) 2023-12-23 11:46:08 +03:00
Cody Glassman
187f63d3d3 support postprocess distortion 2023-12-21 10:56:38 -08:00
Andrei Kortunov
2e041073fc Move *.ui files for different applications to different folders 2023-12-19 15:21:08 +04:00
Alexei Kotov
93ea9dbc3b Do all lighting calculations in one place, support per-vertex specularity
Force PPL when specular maps are used
2023-12-15 11:44:54 +03:00
Alexei Kotov
d1274fd3db Deduplicate lambert calculations, consolidate doLighting 2023-12-15 10:36:47 +03:00
Alexei Kotov
4a96885323 Untangle normals and parallax handling
Move tangent space generation to the vertex shaders
Support diffuse parallax when no normal map is present
Don't use diffuse parallax if there's no diffuse map
Generalize normal-to-view conversion
Rewrite parallax
2023-12-12 22:42:53 +03:00
jvoisin
b67d89f2e0 Merge branch 'saveformat' into 'master'
Drop support for old saves

See merge request OpenMW/openmw!3629
2023-12-06 12:33:07 +00:00
Evil Eye
7cdf702a14 Merge branch 'niftestbsatool' into 'master'
bsatool and NIF debugging improvements

See merge request OpenMW/openmw!3619
2023-12-04 19:24:10 +00:00
Alexei Kotov
53f5e4dd3c Merge branch 'highlight_color' into 'master'
Highlight new items in launcher by text formatting, not by color

See merge request OpenMW/openmw!3625
2023-12-03 20:29:25 +00: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
AnyOldName3
952bf58bc1 Merge branch 'turnitup' into 'master'
Support Oblivion parallax setup

See merge request OpenMW/openmw!3620
2023-12-03 18:52:17 +00: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
jvoisin
d230c89a56 Merge branch 'rework_resolutions' into 'master'
Rework resolution selection

Closes #7709

See merge request OpenMW/openmw!3622
2023-11-29 13:18:20 +00:00
Andrei Kortunov
5e96825e6b Highlight new items in launcher by text formatting, not by color 2023-11-29 11:14:44 +04:00
Zackhasacat
ae3f9f8dcf Merge branch 'lua_ui_child_element' into 'master'
Lua Element as layout children

See merge request OpenMW/openmw!3582
2023-11-28 21:54:55 +00:00
Alexei Kotov
99024d3826 Revamp NIF debug logging
Disabled by default
Extend it to supported files
Log more version info
Reduce noise
2023-11-28 21:46:29 +03:00
Andrei Kortunov
81a6a7cd2f Rework resolution selection (feature 7709) 2023-11-28 22:22:34 +04:00
Alexei Kotov
9c94058727 Support Oblivion parallax setup 2023-11-27 03:41:51 +03:00
uramer
4d250263d7 Missing return type of split 2023-11-25 17:01:26 +01:00
uramer
6db75a7b7e Fix servicesOffered types 2023-11-25 15:22:57 +01:00
uramer
2be3824d9e Clarify child element update behavior in the documentation 2023-11-24 20:41:54 +01:00
uramer
39df270ff2 Update UI Content docs 2023-11-24 20:36:45 +01:00
Zackhasacat
5623a5cf01 Merge branch 'lua_sgetcurrent_conditionofitem_itemdata_idea' into 'master'
Lua API to get/set item condition

See merge request OpenMW/openmw!3421
2023-11-23 23:10:39 +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
a38d17a918 Merge branch 'api_inconsistencies' into 'master'
Minor API inconsistencies

See merge request OpenMW/openmw!3601
2023-11-21 03:04:24 +00:00
uramer
c9eaeb47d5 Minor API inconsistencies 2023-11-21 03:04:24 +00:00
Zackhasacat
ad1d6c0d0f Merge branch 'find_nearest_nav_mesh_position' into 'master'
Add Navigator and Lua API function to find nearest position on navmesh

See merge request OpenMW/openmw!2681
2023-11-21 03:01:51 +00:00
kuyondo
9ebbdc3a22 expell->expel 2023-11-20 15:59:11 +08: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
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 2023-11-18 23:54:37 +01:00
Evil Eye
5a1a54b959 Merge branch 'lua_class_data' into 'master'
Add class records to lua

See merge request OpenMW/openmw!3515
2023-11-18 20:55:45 +00:00
Evil Eye
d5906dcf29 Merge branch 'lua_navmesh_doc' into 'master'
Define tables for navmesh related lua bindings as separate types

See merge request OpenMW/openmw!3599
2023-11-18 20:33:16 +00:00
Andrei Kortunov
f88b99201a Display missing plugins upon savegame loading (feature 7608) 2023-11-18 14:12:18 +04:00
Zackhasacat
13deb0fba8 Merge branch 'imod' into 'master'
Fill out item modification records and add them to the scene

See merge request OpenMW/openmw!3540
2023-11-17 18:22:17 +00:00
elsid
fbb39802a1
Define tables for navmesh related lua bindings as separate types 2023-11-17 13:50:19 +01:00
Zackhasacat
16f178b80e Remove character 2023-11-16 07:43:45 -06:00
Zackhasacat
10030a55e0 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 2023-11-16 07:37:03 -06: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
jvoisin
d8cd465d61 Merge branch 'navmesh_doc' into 'master'
Reword navigation mesh related docs and tooltips

See merge request OpenMW/openmw!3569
2023-11-08 22:48:52 +00:00
jvoisin
60ec894d8a Merge branch 'lightitupbaby' into 'master'
Support point specular lighting (#6188)

Closes #6188

See merge request OpenMW/openmw!3559
2023-11-08 22:43:42 +00:00
Zackhasacat
279e9affa8 Merge branch 'docs-mwscript-variables' into 'master'
Fix MWScript variables documentation type

See merge request OpenMW/openmw!3572
2023-11-08 16:28:52 +00:00
Zackhasacat
72a5b50002 Merge branch 'interfaces-item-usage' into 'master'
Add ItemUsage to interfaces package type definition

See merge request OpenMW/openmw!3573
2023-11-08 00:05:31 +00:00
Zackhasacat
ae4eafdfd4 Move classes to types.NPC 2023-11-07 11:50:09 -06:00
Alexei Kotov
e1cd5250af Use sun visibility for sunlight scattering (bug #7309) 2023-11-07 10:30:26 +03:00
Alexei Kotov
bdc019647a Merge branch 'figure-skaters' into 'master'
Use accumulated movement when possible

Closes #5062

See merge request OpenMW/openmw!3549
2023-11-07 03:01:56 +00:00