1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:23:53 +00:00
Commit graph

7691 commits

Author SHA1 Message Date
uramer
4ba2aca3d3 Handle Element root changing type 2023-11-24 20:36:45 +01:00
uramer
919e067ab7 Error when encountering destroyed widgets 2023-11-24 20:36:45 +01:00
uramer
a36360cbde Update parent coords when updating element 2023-11-24 20:36:45 +01:00
uramer
4a4cef5709 Attach elements to each other, safely destroy 2023-11-24 20:36:45 +01:00
uramer
f037dc814d Allow UI Elements in UI Content 2023-11-24 20:36:45 +01:00
elsid
f08ab9af56
Use SDL2 generate cmake files to find the package 2023-11-24 15:56:54 +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
jvoisin
08538dd137 Merge branch 'rm_unused_variable' into 'master'
Remove unused variable

See merge request OpenMW/openmw!3607
2023-11-22 19:46:38 +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
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
81fa7836fe
Remove unused variable 2023-11-20 00:36:53 +01:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 2023-11-18 23:54:37 +01:00
elsid
40688c0e7c
Rename findPath to findPolygonPath to avoid name collision with other findPath 2023-11-18 22:37:58 +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
Andrei Kortunov
f88b99201a Display missing plugins upon savegame loading (feature 7608) 2023-11-18 14:12:18 +04:00
Evil Eye
63875a7954 Merge branch 'concepts' into 'master'
Use concepts for some argument types

See merge request OpenMW/openmw!3598
2023-11-18 09:59:39 +00:00
jvoisin
2150e4cae6 Merge branch 'warningfixes' into 'master'
Fix warnings

See merge request OpenMW/openmw!3587
2023-11-17 23:41:47 +00: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
AnyOldName3
94ea0541f3 Merge branch 'editormarkerrendering' into 'master'
NifLoader: Only handle editor marker extra data for the root node

See merge request OpenMW/openmw!3595
2023-11-17 18:04:32 +00:00
elsid
b17afc4641
Use concepts for some argument types 2023-11-16 22:22:46 +01:00
elsid
fb0b95a2dd
Define editor settings as typed struct members 2023-11-16 22:14:58 +01:00
Zackhasacat
35da9578ca Merge gitlab.com:openmw/openmw into lua_class_data 2023-11-16 11:33:44 -06:00
uramer
d6220b7d03 Merge branch 'postprocess_version' into 'master'
[Postprocessing] Add an API version, mirroring Lua

See merge request OpenMW/openmw!3552
2023-11-16 15:24:16 +00:00
Cody Glassman
de8c93d049 [Postprocessing] Add an API version, mirroring Lua 2023-11-16 15:24:16 +00:00
Andrei Kortunov
aeb46f5fba Fix Coverity warnings 2023-11-16 18:53:43 +04:00
Zackhasacat
10030a55e0 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 2023-11-16 07:37:03 -06:00
Zackhasacat
a2b47f44d2 Fix misspelling 2023-11-16 07:36:40 -06:00
Alexei Kotov
1e0d549d1d NifLoader: Only handle editor marker extra data for the root node 2023-11-16 15:18:28 +03:00
Alexei Kotov
d495e5af62 Merge branch 'missing_settings_values' into 'master'
Use settings values for missed cases (#6876)

See merge request OpenMW/openmw!3589
2023-11-16 11:54:04 +00:00
jvoisin
9b1cb99b1a Merge branch 'ncroot' into 'master'
Improve BulletNifLoader handling of extra data

See merge request OpenMW/openmw!3590
2023-11-15 22:37:57 +00:00
jvoisin
710b560f91 Merge branch 'dont_reset_luminance' into 'master'
consistent average scene luminance (#7679)

See merge request OpenMW/openmw!3579
2023-11-14 10:56:26 +00:00
Alexei Kotov
c7d5ea9fbf Improve BulletNifLoader handling of extra data
Only handle extra data for the root node(s)
Properly handle MRK flag editor marker filtering
Fix BSXFlags test
2023-11-14 01:30:36 +03:00
Dave Corley
d76ae20c29 Feat(textedit): Set max text length for lua textEdit boxes to int_max by default 2023-11-12 23:59:52 +00:00
elsid
1fa5d2ca98
Use settings values for GUI tags 2023-11-12 16:33:48 +01:00
Alexei Kotov
e11bee250f Merge branch 'init_field2' into 'master'
Init missing fields

See merge request OpenMW/openmw!3574
2023-11-11 21:34:53 +00:00
Cody Glassman
85fcfbafda apply same logic to render targets, remove UB 2023-11-10 21:22:11 -08:00
jvoisin
374b9759b0 Merge branch '76timesthedetail' into 'master'
Read (almost) all NIF files from SeventySix - Meshes.ba2

See merge request OpenMW/openmw!3577
2023-11-10 12:40:56 +00:00
jvoisin
32a9581394 Merge branch 'deepdepths' into 'master'
Depth flag handling fixes (bug #7380)

See merge request OpenMW/openmw!3568
2023-11-08 22:47:29 +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
AnyOldName3
9b6d82566f Merge branch 'unbound' into 'master'
Don't use Bounding Box node bounds as the original collision shape

See merge request OpenMW/openmw!3562
2023-11-08 16:33:16 +00:00
Alexei Kotov
7f92c1821e Read BSCollisionQueryProxyExtraData 2023-11-08 13:38:14 +03:00
Alexei Kotov
fdf9184cae Improve or fix FO76-related definitions 2023-11-08 13:38:14 +03:00
Zackhasacat
ec81bd7f1b rename specilizationIndexToLuaId 2023-11-07 12:01:54 -06:00
Zackhasacat
cb705ff02a Revert redundant changes 2023-11-07 11:52:53 -06:00
Zackhasacat
76f872aaa2 use std:;array 2023-11-07 11:40:43 -06:00
Andrei Kortunov
47c7997a23 Init an another field 2023-11-07 15:57:25 +04:00
Andrei Kortunov
2d4e1b88b2 Init missing field 2023-11-07 15:52:49 +04: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
Alexei Kotov
116ef1c62b Depth flag handling fixes (bug #7380)
Properly disable depth test while allowing depth writes to happen
Remove NiStencilProperty interaction
Don't set up depth flags for BSShaderPPLightingProperty
2023-11-06 02:19:56 +03:00
Cody Glassman
0f53088014 re-sync docs with postprocessing API 2023-11-05 10:22:22 -08:00
Alexei Kotov
9176326eeb Merge branch 'fix_lua_atlasing' into 'master'
Fix Lua UI atlasing

See merge request OpenMW/openmw!3525
2023-11-05 17:25:23 +00:00
jvoisin
e88f8e09c3 Merge branch 'fixed' into 'master'
Replace more variable width integers in ESM code

See merge request OpenMW/openmw!3518
2023-11-05 16:36:13 +00:00
Evil Eye
9fe0e4c035 Merge branch 'bsshaderdepth' into 'master'
Support BSShader/BSLightingShader depth flags

See merge request OpenMW/openmw!3560
2023-11-05 09:03:31 +00:00
Alexei Kotov
820fc068d1 Support point specular lighting (#6188)
Fix passing light specular colors with shader lighting methods (with help from wazabear)
2023-11-04 17:58:51 +03:00
Alexei Kotov
c1f7a9c258 Merge branch 'fix_persistent_buffers' into 'master'
Fix persistent buffers and issue with glsl_version

See merge request OpenMW/openmw!3553
2023-11-03 22:53:37 +00:00
Alexei Kotov
f992d0dbf4 Merge branch 'settings_categories_includes' into 'master'
Cleanup settings categories includes

See merge request OpenMW/openmw!3551
2023-11-03 22:52:24 +00:00
Zackhasacat
c311caef9a Redo specialization field 2023-11-03 17:19:53 -05:00
Alexei Kotov
2c1db92d04 Don't use Bounding Box node bounds as the original collision shape
Bounding Box node bounds are not used for non-actor collision in Morrowind and the generated box isn't actually used for actor collision in OpenMW
Preserving btBoxShape cloning code because it might get used in the future
2023-11-04 00:56:14 +03:00
Cody Glassman
9a5fa9b8d6 fix persistent buffers and glsl_version 2023-11-03 12:59:23 -07:00
AnyOldName3
e67135a517 Merge branch 'expiredborders' into 'master'
Fix #7621

Closes #7621

See merge request OpenMW/openmw!3533
2023-11-03 18:13:02 +00:00
Evil Eye
23afffcc33 Merge branch 'letitsnow' into 'master'
Read LTEX::INAM

See merge request OpenMW/openmw!3538
2023-11-03 16:33:34 +00:00
Evil Eye
e51d1967f4 Base cell size on worldspace 2023-11-03 17:24:35 +01:00
Alexei Kotov
af08205f19 Support BSShader/BSLightingShader depth flags 2023-11-03 18:38:01 +03:00
AnyOldName3
07594037ca Merge branch 'settings_values_shadows' into 'master'
Use settings values for Shadows settings (#6876)

See merge request OpenMW/openmw!3550
2023-11-03 11:35:58 +00:00
Alexei Kotov
410fc17159 Merge branch 'fo4_abc' into 'master'
Use correct template flags for FO4 NPCs

See merge request OpenMW/openmw!3544
2023-11-03 01:30:08 +00:00
Evil Eye
1e06d74f82 Fix #7621 2023-11-02 21:53:22 +01:00
elsid
f4efbcc1c4
Use settings values for Shadows settings 2023-11-02 16:36:44 +01:00
Alexei Kotov
4445a55084 Merge branch 'font_fix' into 'master'
Fix TrueType fonts scaling

See merge request OpenMW/openmw!3541
2023-11-02 13:09:17 +00:00
Andrei Kortunov
960d903217 Add comment 2023-11-02 13:35:54 +04:00
elsid
633fd89270
Cleanup settings categories includes 2023-11-01 23:34:54 +01:00
Alexei Kotov
8a8d77a444 Merge branch 'settings_reload' into 'master'
Support reload for settings values

See merge request OpenMW/openmw!3543
2023-11-01 21:06:09 +00:00
Mads Buvik Sandvei
f41de6b02d Use accumulated movement whenever possible. Apply diagonal movement by rotating accumulated movement and sliding based on that, rather than ignoring accumulated movement. 2023-11-01 20:31:57 +01:00
Petr Mikheev
6c01ce2672 Use correct template flags for FONV and FO4 NPCs 2023-10-31 23:48:29 +01:00
Alexei Kotov
0b8739711e Merge branch 'settings_values_video' into 'master'
Use settings values for Video settings (#6876)

See merge request OpenMW/openmw!3527
2023-10-31 21:24:53 +00:00
Alexei Kotov
c49c401441 Merge branch 'settings_values_stereo' into 'master'
Use settings values for Stereo settings (#6876)

See merge request OpenMW/openmw!3530
2023-10-31 21:21:32 +00:00
elsid
ebfcb661ee
Support reload for settings values
Convert local static variables into unique_ptr static members of StaticValues.
Add clear member function to reset them. Use it when settings have to be
reloaded.
2023-10-31 11:30:31 +01:00
Andrei Kortunov
377d8c905c Fix TrueType fonts scaling 2023-10-31 10:59:57 +04:00
Alexei Kotov
03c3818229 Place ESM4::ItemMod into the scene 2023-10-31 00:54:44 +03:00
Alexei Kotov
9a6c2fd2cc Fill out ESM4::ItemMod 2023-10-30 23:23:39 +03:00
Alexei Kotov
f4b27a521a Read LTEX::INAM 2023-10-30 02:34:47 +03:00
Alexei Kotov
6d776ac833 Merge branch 'range' into 'master'
Use a dynamic falloff range for soft effect

See merge request OpenMW/openmw!3532
2023-10-29 22:03:05 +00:00
Cody Glassman
09928ba265 use a dynamic falloff range for soft effect and use shader flags 2023-10-28 10:23:55 -07:00
elsid
bb7ac64f19
Use settings values for Stereo and Stereo View settings 2023-10-27 23:30:17 +02:00
elsid
561a6bf854
Avoid using camera settings from stereo manager 2023-10-27 23:29:07 +02:00
Alexei Kotov
3f4591eb3b Add movable static and ESM4 land texture stores 2023-10-27 22:53:40 +03:00
elsid
dcd81d026f
Use settings values for Video settings
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
2023-10-27 14:31:23 +02:00
uramer
f9888230af Fix Lua UI atlasing 2023-10-26 20:46:34 +02:00
psi29a
6a87ba8f33 Merge branch 'mygui343_fix' into 'master'
Fix MyGUI 3.4.3 issues [#7528]

See merge request OpenMW/openmw!3319
2023-10-25 12:35:13 +00:00
Evil Eye
212f6bae56 Use correct skip and fix MSVC 2023-10-24 20:59:20 +02:00
Evil Eye
77aaa6177e Use more fixed size ints 2023-10-24 19:25:52 +02:00
Evil Eye
dc781bad5d Use fixed size unsigned ints for inventory offsets 2023-10-24 17:51:12 +02:00
Evil Eye
77c978c226 Use more fixed size integers 2023-10-24 17:23:54 +02:00
psi29a
c058b30322 Merge branch 'riggeometry' into 'master'
Refurbish SceneUtil::RigGeometry

See merge request OpenMW/openmw!3472
2023-10-24 10:20:12 +00:00
psi29a
698fd00269 Merge branch 'killerqueen' into 'master'
Support NiParticleBomb (feature #7634)

Closes #7634

See merge request OpenMW/openmw!3512
2023-10-24 10:19:59 +00:00
Petr Mikheev
26ff56f150 Merge branch 'lua_ui_focus_loss' into 'master'
Work around MyGUI bug in a less destructive way

See merge request OpenMW/openmw!3511
2023-10-24 09:24:33 +00:00
Alexei Kotov
715efe6cb1 Handle NiParticleBomb (feature #7634) 2023-10-22 16:26:46 +03:00
Alexei Kotov
76939aae45 Refurbish RigGeometry
Restructure/untangle influence data
Don't store the input influence data
Overall cleanup
2023-10-22 16:20:32 +03:00
uramer
6081dcc43c Work around MyGUI bug in a less destructive way 2023-10-22 11:29:00 +02:00