elsid
2388b21f63
Use std::from_chars to parse settings integral numbers and handle errors
2022-10-04 01:34:50 +02:00
psi29a
5875fbcc4c
Merge branch 'fix_reset_animation' into 'master'
...
Fix resetting player's animation on game loading (#7030 )
Closes #7030
See merge request OpenMW/openmw!2448
2022-10-02 14:21:05 +00:00
elsid
da15db295e
Fix resetting player's animation on game loading
...
When game is loaded player's animation is replaced by a new object. Old object
is destructed without explicit removeFromScene call.
2022-10-02 13:50:51 +02:00
psi29a
6e71804048
Merge branch 'keying_in' into 'master'
...
Add key flag on load
Closes #7034
See merge request OpenMW/openmw!2444
2022-09-30 13:16:14 +00:00
psi29a
1b12e198f4
Merge branch 'coverity_clang_test' into 'master'
...
See if we can get away with using another version of clang with coverity
See merge request OpenMW/openmw!2441
2022-09-30 13:15:27 +00:00
psi29a
1cd17d8430
See if we can get away with using another version of clang with coverity
2022-09-30 13:15:27 +00:00
Evil Eye
e6592aa850
Add key flag on load
2022-09-30 12:16:45 +02:00
psi29a
b0ce938b8f
Merge branch 'lua_stats_used_memory' into 'master'
...
Report used memory by Lua interpreter
See merge request OpenMW/openmw!2443
2022-09-30 09:57:26 +00:00
elsid
4de8ea30c8
Report used memory by Lua interpreter
2022-09-30 02:15:21 +02:00
psi29a
b1cf4ace3c
Merge branch 'water_walking_evasion' into 'master'
...
Adjust initial distance when destination is changed for obstacle check (#6860 )
Closes #6860
See merge request OpenMW/openmw!2440
2022-09-29 10:06:56 +00:00
elsid
b92d80249e
Adjust initial distance when destination is changed for obstacle check
...
Changed destination may create a situation when the distance actor moved between
2 update calls is less than initial distance because destination has been changed.
This forces actor to take evasive action when there is no actual obstacle.
2022-09-28 22:01:29 +02:00
elsid
1b9b61b60b
Format navmesh water vertices and indices
2022-09-27 00:46:34 +02:00
AnyOldName3
483f370b01
Merge branch 'upgrade_sdl_windows' into 'master'
...
bump sdl from 2.0.22 to 2.0.24 for windows
Closes #6924
See merge request OpenMW/openmw!2425
2022-09-26 10:12:48 +00:00
psi29a
b58c658b56
Merge branch 'localtime_errors' into 'master'
...
Handle localtime errors
See merge request OpenMW/openmw!2434
2022-09-26 07:59:41 +00:00
psi29a
3c173646ce
Update CI/before_script.msvc.sh
2022-09-26 07:24:16 +00:00
psi29a
0d225e14e3
Merge branch 'clang_format_fixes' into 'master'
...
Clang format fixes
See merge request OpenMW/openmw!2433
2022-09-25 18:42:11 +00:00
elsid
a46d61c45c
Simplify script to check clang-format
...
* Check only files from the git repository
* Support paths with spaces
* Do check in parallel
2022-09-25 18:25:53 +02:00
elsid
d2d1036d26
Ignore 88ec8a9523
for git blame
2022-09-25 18:24:23 +02:00
clang-format-bot
88ec8a9523
Apply clang-format
2022-09-25 18:23:43 +02:00
elsid
ba04d1530e
Use proper values for clang format options
2022-09-25 16:21:34 +02:00
elsid
dd63a1602f
Handle localtime errors
2022-09-25 16:20:20 +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
psi29a
ef92281b4b
Update CI/before_script.msvc.sh
2022-09-24 17:10:26 +00: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
psi29a
36b4e6929c
Update CI/before_script.msvc.sh
2022-09-24 16:39:57 +00: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