1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 04:15:33 +00:00
Commit graph

7757 commits

Author SHA1 Message Date
Andrei Kortunov
c5b16d1ba2 Do not include formatting spaces to localizable strings 2023-11-30 13:06:50 +04:00
Evil Eye
f52e8f76c6 Use std::erase instead of using std::remove without erasing 2023-11-29 16:59:01 +01:00
Evil Eye
fe67407f74 Merge branch 'bullettotheheart' into 'master'
BulletNifLoader: Move NiGeometry triangulation to NiGeometry

See merge request OpenMW/openmw!3613
2023-11-29 15:49:19 +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
Andrei Kortunov
623510c073 Use multiplication character in the launcher instead of 'x' 2023-11-28 22:47:27 +04: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
Alexei Kotov
9a43ca2d00 Move NiGeometry triangulation to NiGeometry 2023-11-24 23:39:49 +03:00
uramer
9403f06618 Fix visibility breaking after multiple updates 2023-11-24 20:36:45 +01:00
uramer
d214f6f6ef Get rid of unncesesary onCoordChange 2023-11-24 20:36:45 +01:00
uramer
f3a7b087eb Clean up unncesesary namespace prefixes 2023-11-24 20:36:45 +01:00
uramer
86ea12a458 Handle moving element into another element layout 2023-11-24 20:36:45 +01:00
uramer
cf84386cc2 Use Element Content children for Settings UI 2023-11-24 20:36:45 +01:00
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
Bret Curtis
1bd4860026 no more obsolete mygui shizzle for macos 2023-10-22 11:25:39 +02:00
psi29a
a08ca11c34 Merge branch 'boundingboxing' into 'master'
BulletNifLoader: Replicate node bounds handling more closely

See merge request OpenMW/openmw!3505
2023-10-22 08:52:23 +00:00
Alexei Kotov
0748e2094d Read NiParticleBomb 2023-10-22 11:45:39 +03:00
Evil Eye
536a167bb4 Merge branch 'anothersettlementneedsyourhelp' into 'master'
Read all official Fallout 4 NIF files

See merge request OpenMW/openmw!3506
2023-10-22 08:42:29 +00:00
Alexei Kotov
8ce9f7b9cf Read BSPackedCombinedSharedGeomDataExtra 2023-10-20 17:39:58 +03:00
Alexei Kotov
23eb6289b3 Read BSLightingShaderPropertyUShortController 2023-10-20 17:09:42 +03:00
Alexei Kotov
981e482171 Read BSSubIndexTriShape
It's currently handled exactly like BSTriShape, which works ok enough for our purposes
2023-10-20 17:02:46 +03:00
Alexei Kotov
9405e5cb3c BulletNifLoader: Replicate node bounds handling more closely 2023-10-19 03:11:55 +03:00
Cody Glassman
5fc46b166a track debug window size and dimensions between sessions 2023-10-18 09:04:57 -07:00
Evil Eye
97009f1e23 Merge Assumeru/mystringvui 2023-10-17 23:53:04 +02:00
Bret Curtis
589a27d09c additional clean up for clang 2023-10-17 23:53:04 +02:00
Bret Curtis
e97b07b6a4 additional cleanup 2023-10-17 23:53:04 +02:00
Bret Curtis
1df448f59b remove hack from 3.4.2 2023-10-17 23:53:04 +02:00
Bret Curtis
43a931d3c4 [#7528] Fix MyGUI 3.4.3 issues 2023-10-17 23:53:04 +02:00
psi29a
798ff7062b Merge branch 'bullet' into 'master'
BulletNifLoader updates

See merge request OpenMW/openmw!3498
2023-10-17 07:40:45 +00:00
psi29a
9259f5c056 Merge branch 'merryweather' into 'master'
Replace more sized reads and change weather loading

See merge request OpenMW/openmw!3496
2023-10-16 20:06:59 +00:00
psi29a
97d9f9c4f3 Merge branch 'dont-lose-your-head' into 'master'
Add missing headers to components/CMakeLists.txt

See merge request OpenMW/openmw!3499
2023-10-16 20:06:47 +00:00
elsid
7ac402390a
Use settings values for Water settings 2023-10-15 23:24:46 +02:00
AnyOldName3
2ed584428c Add missing headers to components/CMakeLists.txt
Otherwise, they won't show up as part of the project in IDEs.
2023-10-15 15:44:24 +01:00
Alexei Kotov
40313019ef BulletNifLoader updates
Refactor root node, visual collision type and filename handling
Only handle BSXFlags for the root, handle BSXFlags collision flag and absence
Properly distinguish collision node and autogenerated flag
2023-10-15 15:22:59 +03:00
psi29a
febfa353e0 Merge branch 'save_metadata' into 'master'
Add additional fields to save metadata

See merge request OpenMW/openmw!3493
2023-10-15 11:42:02 +00:00
psi29a
03fa273394 Merge branch 'settings_values_sound' into 'master'
Use settings values for Sound settings (#6876)

See merge request OpenMW/openmw!3494
2023-10-15 11:41:30 +00:00
Evil Eye
514723a4e6 Use fixed size ints for Region and use an array for weather odds 2023-10-14 16:36:45 +02:00
Evil Eye
1c47062083 Replace more explicitly sized reads 2023-10-14 16:22:28 +02:00
Andrei Kortunov
fc74cc49dd Add additional fields to save metadata (feature 7618) 2023-10-14 09:53:44 +04:00
AnyOldName3
bb6fdc1e21 Merge branch 'wrap' into 'master'
Use a more clear error message for clamp wrap mode use (#7487)

Closes #7487

See merge request OpenMW/openmw!3479
2023-10-13 16:23:32 +00:00
elsid
a84e412a37
Use settings values for Sound settings 2023-10-13 12:58:58 +02:00
psi29a
de11bbc008 Merge branch 'settings_values_shaders' into 'master'
Use settings values for Shaders settings (#6876)

See merge request OpenMW/openmw!3489
2023-10-13 07:34:43 +00:00
elsid
08902371b4
Use settings values for Shaders settings 2023-10-12 20:43:53 +02:00
Kindi
58a16dacbe take2 resolve 2023-10-13 00:53:59 +08:00
Alexei Kotov
8c58ec9c32 Merge branch 'esm4actors' into 'master'
Show ESM4 NPCs

See merge request OpenMW/openmw!3312
2023-10-11 21:33:14 +00:00
Alexei Kotov
d2a79c4205 Use a more clear error message for clamp wrap mode 2023-10-11 05:24:39 +03:00
psi29a
01ee448c61 Merge branch 'settings_values_navigator' into 'master'
Use settings values for Navigator settings (#6876)

See merge request OpenMW/openmw!3468
2023-10-10 03:24:33 +00:00
elsid
7b4b8763ff
Use settings values for Post Processing settings 2023-10-08 11:58:16 +02:00