1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
Commit Graph

29543 Commits

Author SHA1 Message Date
elsid
ba04d1530e
Use proper values for clang format options 2022-09-25 16:21:34 +02:00
psi29a
f7da42870e Merge branch 'count' into 'master'
Improve item count handling

See merge request OpenMW/openmw!2430
2022-09-25 13:38:33 +00:00
psi29a
34c3897614 Merge branch 'try_clang_analyser' into 'master'
Enable clang-analyser in clang-tidy

See merge request OpenMW/openmw!2171
2022-09-25 13:38:00 +00:00
jvoisin
810f1e2c04 Enable clang-analyser in clang-tidy 2022-09-25 13:37:59 +00:00
psi29a
aed0ad6b83 Merge branch 'nifosg_tests' into 'master'
Add tests for NifOsg::Loader

See merge request OpenMW/openmw!2421
2022-09-25 13:37:14 +00:00
psi29a
d05494bfb9 Merge branch 'falling_actors' into 'master'
Do not adjust position for falling actors (#7009)

Closes #7009

See merge request OpenMW/openmw!2416
2022-09-25 13:36:55 +00:00
psi29a
f0e58ef872 Merge branch 'editor_fix' into 'master'
Fix topic infos creation

Closes #6686

See merge request OpenMW/openmw!2432
2022-09-25 13:34:43 +00:00
psi29a
e9cfc2381f Merge branch 'stereo_fix' into 'master'
Fix stereo crash in the editor

Closes #7019

See merge request OpenMW/openmw!2431
2022-09-25 13:32:43 +00:00
psi29a
d38c072030 Merge branch 'recall_how_to_recall' into 'master'
Prevent recursive calls to ActiveSpells::update

Closes #7022

See merge request OpenMW/openmw!2426
2022-09-25 13:30:07 +00:00
Andrei Kortunov
3163d9ed56 Fix topic infos creation 2022-09-25 15:17:20 +04:00
Andrei Kortunov
890be1b590 Fix crash in the editor 2022-09-25 12:31:56 +04:00
Andrei Kortunov
7d23ad29e0 Make count input box larger to fit larger text 2022-09-25 11:54:34 +04:00
Andrei Kortunov
dacb300dfb Improve item count handling 2022-09-25 11:22:17 +04:00
Alexei Kotov
ad44add658 Merge branch 'missing-sstream-timeconvert' into 'master'
Add missing include

See merge request OpenMW/openmw!2429
2022-09-25 00:27:57 +00:00
AnyOldName3
581b333386 Add missing include 2022-09-24 22:11:46 +00:00
AnyOldName3
ebbd4e059e Merge branch 'std-filesystem-time-hotfix' into 'master'
Fix "7020-crash-when-clicking-load-shortly-after-quicksaving"

Closes #7020

See merge request OpenMW/openmw!2428
2022-09-24 21:37:14 +00:00
Project579
6fe89ff22b Fix dumb regression, initialize "std::filesystem::file_time_type" with "clock::now()". 2022-09-24 21:52:10 +02:00
Project579
5cf2a958eb Make conversions between std::chrono time_point and string safer by not using "localtime" directly. 2022-09-24 21:47:27 +02:00
elsid
d2e1f18924
Add tests for NifOsg::Loader 2022-09-24 19:10:39 +02:00
elsid
06f7e8088e
Check for negative record list length 2022-09-24 19:10:38 +02:00
elsid
0688b6de40
Separate record list reading from its state
To make it possible to set record list state independently from reading NIF
file.
2022-09-24 19:10:35 +02:00
elsid
4b760e8846
Do not add redundant nullptr parent
There are no failed tests after this, so this is not really needed.
2022-09-24 19:10:31 +02:00
elsid
83bb2195b0
Move init functions for Nif nodes to a separate file
This will be used in other tests.
2022-09-24 19:10:25 +02:00
elsid
c338c1e5d3
Add Nif::FileView as read only interface for Nif::NIFFile
To make sure interface is scoped to what users require.
2022-09-24 19:10:21 +02:00
elsid
f2fb3d6de8
Separate NIFFileReader from NIFFile
NIFFile might not always be created from a file or stream containing NIF data.
Basically there are 2 different responsibilities for this class:
1. Read NIF file
2. Provide input for nifosg and bulletnifloader.

Remove no longer needed NIFFileMock since the state of NIFFfile can be
initialized independently from reading NIF file.
2022-09-24 19:10:14 +02:00
elsid
b39ccbeeef
Remove NIFFile::warn and NIFFile::fail functions
These functions use NIFFile only as context, they are not really a part of
either reading nor state invariant. And they only confuse reader because it's
not immediatelly obvious that no code is executed after fail.
2022-09-24 19:10:05 +02:00
Evil Eye
d3253cb636 Prevent recursive calls to ActiveSpells::update 2022-09-24 18:13:45 +02:00
elsid
1fc7bd7775
Do not consider falling actors as grounded 2022-09-24 17:49:44 +02:00
elsid
953954ff95
Do not adjust position for falling actors 2022-09-24 17:49:42 +02:00
psi29a
6d3de520e8 Merge branch 'clang-format-all' into 'master'
Apply clang-format project wide

See merge request OpenMW/openmw!2393
2022-09-24 15:10:28 +00:00
ζeh Matt
79ccd8720a
Single process fix 2022-09-22 23:33:16 +03:00
ζeh Matt
62138630d2
Fix files with spaces causing issues 2022-09-22 23:15:36 +03:00
ζeh Matt
afa1b0077d
Improve clang-format checking script 2022-09-22 22:57:03 +03:00
ζeh Matt
cd7fe60134
Ignore clang-format commit in .git-blame-ignore-revs 2022-09-22 22:13:19 +03:00
ζeh Matt
ad0d33ba6f
Disallow clang-format check failing 2022-09-22 22:10:55 +03:00
ζeh Matt
45bfed3b42
Use clang-format --dry-run instead of relying on git diff 2022-09-22 22:07:08 +03:00
clang-format-bot
ddb0522bbf
Apply clang-format to code base 2022-09-22 21:35:26 +03:00
psi29a
f37d0be806 Merge branch 'clang-format-ci-2' into 'master'
Test clang-format project wide in same pipeline

See merge request OpenMW/openmw!2423
2022-09-22 15:56:55 +00:00
AnyOldName3
1dd392d33d Merge branch 're-sign-mac-applications' into 'master'
Re-sign Mac Applications before creating install package

See merge request OpenMW/openmw!2418
2022-09-21 22:15:43 +00:00
Andrew Dunn
9f7e132479 Made CMake 3.19 requirement specific to macOS app packaging. 2022-09-22 00:49:24 +10:00
Andrew Dunn
71f6f95020 Make Mac Plugins osgPlugins symlink relative
Was an absolute path.
2022-09-21 07:44:56 +10:00
ζeh Matt
91ed7f73b9
Allow the check to fail for the time being 2022-09-20 23:18:19 +03:00
ζeh Matt
3e9fccd7f0
Test clang-format project wide in same pipeline 2022-09-20 23:18:19 +03:00
psi29a
9a9c7fa7cf Merge branch 'std-filesystem-hotfix' into 'master'
Use std::filesystem for unit tests temporary files path.

See merge request OpenMW/openmw!2402
2022-09-19 20:47:33 +00:00
psi29a
525f81393a Merge branch 'physics_refactor' into 'master'
Small physics refactoring

See merge request OpenMW/openmw!2417
2022-09-19 19:57:23 +00:00
psi29a
fb90d35805 Merge branch 'weather_the_sun' into 'master'
Implement sun damage based on the research on the wiki

Closes #6977

See merge request OpenMW/openmw!2422
2022-09-19 19:56:01 +00:00
Project579
b82176410b Use std::filesystem for unit tests temporary files path. 2022-09-19 21:42:18 +02:00
Evil Eye
7cc55022a1 Implement sun damage based on the research on the wiki 2022-09-19 19:05:22 +02:00
psi29a
92680ab9cf Merge branch 'fix_shader_prefix' into 'master'
Use nv_default shader prefix for unhandled types

See merge request OpenMW/openmw!2419
2022-09-17 16:41:04 +00:00
elsid
63b51ead84
Use nv_default shader prefix for unhandled types 2022-09-17 17:35:25 +02:00