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

33614 commits

Author SHA1 Message Date
AnyOldName3
9638fbabb4 https://www.youtube.com/watch?v=2_6U9gkQeqY 2024-03-15 00:11:19 +00:00
AnyOldName3
ff3ffa13b6 Auto format 2024-03-14 23:54:22 +00:00
AnyOldName3
28131fd62b Fixes for a whole bunch of warnings
These warnings were always enabled, but we didn't see them due to https://gitlab.com/OpenMW/openmw/-/issues/7882.
I do not fully understand the cause of 7822 as I can't repro it in a minimal CMake project.

Some of these fixes are thought through.
Some are sensible best guesses.
Some are kind of a stab in the dark as I don't know whether there was a
possible bug the warning was telling me about that I've done nothing to
help by introducing a static_cast.

Nearly all of these warnings were about some kind of narrowing
conversion, so I'm not sure why they weren't firing with GCC and Clang,
which have -Wall -Wextra -pedantic set, which should imply -Wnarrowing,
and they can't have been affected by 7882.

There were also some warnings being triggered from Boost code.
The vast majority of library headers that do questionable things weren't
firing warnings off, but for some reason, /external:I wasn't putting
these Boost headers into external mode.

We need these warnings dealt with one way or another so we can switch
the default Windows CI from MSBuild (which doesn't do ccache) to Ninja
(which does).
I have the necessary magic for that on a branch, but the branch won't
build because of these warnings.
2024-03-14 23:39:33 +00:00
psi29a
f06b93d019 Merge branch '1.0milestone' into 'master'
Replace readme 1.0 label link with 1.0 milestone link (#7876)

Closes #7876

See merge request OpenMW/openmw!3946
2024-03-13 07:56:54 +00:00
psi29a
dce0a9e11e Merge branch 'sea-cache' into 'master'
MSVC CCache support

See merge request OpenMW/openmw!3938
2024-03-12 08:36:17 +00:00
psi29a
df1be7102f Merge branch 'resolution_follow_up' into 'master'
Partially revert 5dcac4c48f

See merge request OpenMW/openmw!3940
2024-03-12 08:17:18 +00:00
Alexei Kotov
75d4ea5d5d Replace readme 1.0 label link with 1.0 milestone link (#7876) 2024-03-12 04:03:04 +03:00
psi29a
b5b6744321 Merge branch 'hotfix_ui_update' into 'master'
Fix Lua UI updates

See merge request OpenMW/openmw!3936
2024-03-11 11:14:26 +00:00
psi29a
0557a649ce Merge branch 'skill-used-rework' into 'master'
Rewrite SkillProgression.skillUsed to allow directly adding xp

See merge request OpenMW/openmw!3927
2024-03-11 09:48:14 +00:00
psi29a
3cb8d05fe5 Merge branch 'vfs_normalized_path_4' into 'master'
Use VFS::Path::Normalized in few more places

See merge request OpenMW/openmw!3934
2024-03-11 07:29:55 +00:00
psi29a
466f31a032 Merge branch 'shadersorffp' into 'master'
Log whether shaders or FFP are used for rendering

See merge request OpenMW/openmw!3937
2024-03-11 07:28:50 +00:00
AnyOldName3
7ec723e9b9 More sensible conditions 2024-03-10 23:26:45 +00:00
uramer
eba4ae94b0 Fix re-rendering of settings on value changes 2024-03-10 14:06:21 +01:00
uramer
af8662daee Detach Lua Elements properly from their parent 2024-03-10 14:05:37 +01:00
Andrei Kortunov
f7e5ef74c6 Partially revert 5dcac4c48f 2024-03-10 14:53:55 +04:00
Alexei Kotov
30f314025a Log whether shaders or FFP are used for rendering 2024-03-10 04:53:30 +03:00
AnyOldName3
6cf0b9990d Don't bother setting up CCache for MSBuild builds
It can't work as it ignores compiler launchers
2024-03-10 01:32:38 +00:00
AnyOldName3
7b89ca6bb2 Make CCache work for MSVC builds with debug symbols 2024-03-10 01:31:55 +00:00
uramer
0f60052bb8 Set Element state in Element::create 2024-03-09 22:27:10 +01:00
Mads Buvik Sandvei
57d7f5977c Bump interface version 2024-03-09 21:56:46 +01:00
AnyOldName3
72cf015401 Make ccache viable for Windows Release builds 2024-03-09 20:18:41 +00:00
Mads Buvik Sandvei
7cb316f3c9 Docu fix 2024-03-09 16:35:24 +01:00
psi29a
61d01f3b62 Merge branch 'openmw-sv-2024-03' into 'master'
Bring sv translations up to date

See merge request OpenMW/openmw!3926
2024-03-09 09:49:14 +00:00
Joakim Berg
709c12053a Bring sv translations up to date 2024-03-09 09:49:14 +00:00
psi29a
6f9ceff3f3 Merge branch 'windows_build' into 'master'
Add option to disable precompiled headers

See merge request OpenMW/openmw!3933
2024-03-09 09:48:57 +00:00
psi29a
ef8228f2f3 Merge branch 'fix/hardcoded-weather-meshes' into 'master'
Fix: hardcoded weather meshes, use settings instead

See merge request OpenMW/openmw!3880
2024-03-09 09:48:26 +00:00
psi29a
c3a44ca74a Merge branch 'mapped' into 'master'
Track map position using MWWorld::Cell

See merge request OpenMW/openmw!3932
2024-03-09 09:48:14 +00:00
elsid
cc35df9409
Use VFS::Path::Normalized for fx::Technique file path 2024-03-09 00:21:17 +01:00
elsid
ffbeb5ab98
Build localization path using VFS::Path::Normalized 2024-03-09 00:21:17 +01:00
elsid
84adb0a148
Make VFS::Path::Normalized constructor from std::string_view explicit 2024-03-09 00:21:16 +01:00
Evil Eye
504a9e7d43 Address feedback 2024-03-08 17:09:49 +01:00
jvoisin
a63528343d Merge branch 'master' into 'master'
conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys

See merge request OpenMW/openmw!3930
2024-03-08 14:24:38 +00:00
psi29a
a926f4a5a9 Merge branch 'alt_tab_fix' into 'master'
Do not treat Alt-Tab as resolution change

Closes #7866

See merge request OpenMW/openmw!3931
2024-03-08 08:41:55 +00:00
psi29a
f09f5c644c Merge branch 'update_setting_pages' into 'master'
Optimize setting group rendering

See merge request OpenMW/openmw!3929
2024-03-08 08:39:49 +00:00
elsid
5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
2024-03-08 02:11:51 +01:00
Evil Eye
b055367b3b Track map position using MWWorld::Cell 2024-03-07 21:36:21 +01:00
Andrei Kortunov
5dcac4c48f Do not treat Alt-Tab as resolution change (bug 7866) 2024-03-07 15:43:35 +04:00
psi29a
65d51665e5 Merge branch 'fix_osg_utf8_build' into 'master'
Fix build with OSG_USE_UTF8_FILENAME

See merge request OpenMW/openmw!3928
2024-03-07 09:09:11 +00:00
Sam Hellawell
c6ee01b0be Apply fix to sky manager
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-03-07 04:49:48 +00:00
Sam Hellawell
bf7819f71d fix clang format 2024-03-07 02:28:14 +00:00
Sam Hellawell
f28b3f6601 Style tweak
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-03-07 02:28:14 +00:00
Sam Hellawell
af8c2a94df Fix: hardcoded weather meshes, use settings instead
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-03-07 02:28:14 +00:00
Martin
d8c74e1d62 conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys 2024-03-06 23:22:03 +00:00
uramer
a11e553de4 Optimize setting group rendering by rendering them as separate elements, support element-rendered setting renderers 2024-03-06 23:16:02 +01:00
uramer
9ae61f1932 Fix child UI Elements created in the same frame as parent 2024-03-06 23:16:02 +01:00
uramer
7a5493796f Update setting page elements when possible 2024-03-06 23:16:02 +01:00
elsid
5acfb07850
Fix build with OSG_USE_UTF8_FILENAME 2024-03-06 20:51:48 +01:00
Mads Buvik Sandvei
312f6c90e0 Rewrite SkillProgression.skillUsed to allow directly adding xp instead of going via useType. 2024-03-06 20:27:41 +01:00
psi29a
231b5753e4 Merge branch 'launcher_help_version' into 'master'
Open matching version of documentation for Launcher Help

See merge request OpenMW/openmw!3909
2024-03-05 09:24:52 +00:00
psi29a
effb4fc383 Merge branch 'whoanotouchy' into 'master'
Properly calculate touch spell hit position (#6156)

Closes #6156

See merge request OpenMW/openmw!3920
2024-03-05 09:24:35 +00:00