Commit Graph

29569 Commits (6b8ed4c64ff46d4cdaf27ac8d3dfe4e6cf925b28)
 

Author SHA1 Message Date
elsid 6b8ed4c64f
Use sorted vector for ViewData::contains implementation 2 years ago
psi29a bfa303f73b Merge branch 'unsigned_settings' into 'master'
Support unsigned settings values

See merge request OpenMW/openmw!2453
2 years ago
elsid 624d8bc931
Support unsigned settings values 2 years ago
elsid 2388b21f63
Use std::from_chars to parse settings integral numbers and handle errors 2 years ago
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
2 years ago
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.
2 years ago
psi29a 6e71804048 Merge branch 'keying_in' into 'master'
Add key flag on load

Closes #7034

See merge request OpenMW/openmw!2444
2 years ago
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
2 years ago
psi29a 1cd17d8430 See if we can get away with using another version of clang with coverity 2 years ago
Evil Eye e6592aa850 Add key flag on load 2 years ago
psi29a b0ce938b8f Merge branch 'lua_stats_used_memory' into 'master'
Report used memory by Lua interpreter

See merge request OpenMW/openmw!2443
2 years ago
elsid 4de8ea30c8
Report used memory by Lua interpreter 2 years ago
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
2 years ago
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.
2 years ago
elsid 1b9b61b60b
Format navmesh water vertices and indices 2 years ago
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
2 years ago
psi29a b58c658b56 Merge branch 'localtime_errors' into 'master'
Handle localtime errors

See merge request OpenMW/openmw!2434
2 years ago
psi29a 3c173646ce Update CI/before_script.msvc.sh 2 years ago
psi29a 0d225e14e3 Merge branch 'clang_format_fixes' into 'master'
Clang format fixes

See merge request OpenMW/openmw!2433
2 years ago
elsid a46d61c45c
Simplify script to check clang-format
* Check only files from the git repository
* Support paths with spaces
* Do check in parallel
2 years ago
elsid d2d1036d26
Ignore 88ec8a9523 for git blame 2 years ago
clang-format-bot 88ec8a9523
Apply clang-format 2 years ago
elsid ba04d1530e
Use proper values for clang format options 2 years ago
elsid dd63a1602f
Handle localtime errors 2 years ago
psi29a f7da42870e Merge branch 'count' into 'master'
Improve item count handling

See merge request OpenMW/openmw!2430
2 years ago
psi29a 34c3897614 Merge branch 'try_clang_analyser' into 'master'
Enable clang-analyser in clang-tidy

See merge request OpenMW/openmw!2171
2 years ago
jvoisin 810f1e2c04 Enable clang-analyser in clang-tidy 2 years ago
psi29a aed0ad6b83 Merge branch 'nifosg_tests' into 'master'
Add tests for NifOsg::Loader

See merge request OpenMW/openmw!2421
2 years ago
psi29a d05494bfb9 Merge branch 'falling_actors' into 'master'
Do not adjust position for falling actors (#7009)

Closes #7009

See merge request OpenMW/openmw!2416
2 years ago
psi29a f0e58ef872 Merge branch 'editor_fix' into 'master'
Fix topic infos creation

Closes #6686

See merge request OpenMW/openmw!2432
2 years ago
psi29a e9cfc2381f Merge branch 'stereo_fix' into 'master'
Fix stereo crash in the editor

Closes #7019

See merge request OpenMW/openmw!2431
2 years ago
psi29a d38c072030 Merge branch 'recall_how_to_recall' into 'master'
Prevent recursive calls to ActiveSpells::update

Closes #7022

See merge request OpenMW/openmw!2426
2 years ago
Andrei Kortunov 3163d9ed56 Fix topic infos creation 2 years ago
Andrei Kortunov 890be1b590 Fix crash in the editor 2 years ago
Andrei Kortunov 7d23ad29e0 Make count input box larger to fit larger text 2 years ago
Andrei Kortunov dacb300dfb Improve item count handling 2 years ago
Alexei Kotov ad44add658 Merge branch 'missing-sstream-timeconvert' into 'master'
Add missing include

See merge request OpenMW/openmw!2429
2 years ago
AnyOldName3 581b333386 Add missing include 2 years ago
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
2 years ago
Project579 6fe89ff22b Fix dumb regression, initialize "std::filesystem::file_time_type" with "clock::now()". 2 years ago
Project579 5cf2a958eb Make conversions between std::chrono time_point and string safer by not using "localtime" directly. 2 years ago
elsid d2e1f18924
Add tests for NifOsg::Loader 2 years ago
elsid 06f7e8088e
Check for negative record list length 2 years ago
elsid 0688b6de40
Separate record list reading from its state
To make it possible to set record list state independently from reading NIF
file.
2 years ago
elsid 4b760e8846
Do not add redundant nullptr parent
There are no failed tests after this, so this is not really needed.
2 years ago
psi29a ef92281b4b Update CI/before_script.msvc.sh 2 years ago
elsid 83bb2195b0
Move init functions for Nif nodes to a separate file
This will be used in other tests.
2 years ago
elsid c338c1e5d3
Add Nif::FileView as read only interface for Nif::NIFFile
To make sure interface is scoped to what users require.
2 years ago
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.
2 years ago
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.
2 years ago