Commit Graph

31099 Commits (1b718f09c51bc6b295b3650166b2968b993ccf69)
 

Author SHA1 Message Date
jvoisin 218dd3c141 Merge branch 'fix_gcc_build' into 'master'
Add missing include

See merge request OpenMW/openmw!3058
2 years ago
elsid 89eccab7f1
Add missing include
In file included from /home/elsid/dev/openmw/apps/openmw_test_suite/settings/testvalues.cpp:1:
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp: In function ‘std::string Misc::StringUtils::toHex(std::string_view)’:
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp:139:87: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
  139 |             const std::ptrdiff_t space = static_cast<std::ptrdiff_t>(static_cast<std::uint8_t>(v) <= 0xf);
      |                                                                                       ^~~~~~~
      |                                                                                       wint_t
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp:140:97: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
  140 |             const auto [ptr, ec] = std::to_chars(out + space, out + space + 2, static_cast<std::uint8_t>(v), 16);
      |                                                                                                 ^~~~~~~
      |                                                                                                 wint_t
2 years ago
Mads Buvik Sandvei 40170d8953 is_automagical false line for ActorStore 2 years ago
elsid 7a20af6d9d Merge branch 'asanstats' into 'master'
Fix invalid memory usage in stats tooltip

See merge request OpenMW/openmw!3057
2 years ago
Evil Eye 17c8e63d3a Fix invalid memory usage in stats tooltip 2 years ago
Mads Buvik Sandvei 97ea626ba2 Clang'd 2 years ago
Mads Buvik Sandvei 4f88988131 Moved check for actor/non-actor to ActorStore constructor. Refactor ActorSpells type to be an ActorStore type. 2 years ago
Mads Buvik Sandvei 410e8b100a Elsid comments 2 years ago
Mads Buvik Sandvei b5aefc872b Document the optional attribute/skill parameter of getEffect. 2 years ago
Mads Buvik Sandvei 5a8c6df633 clang'd 2 years ago
Mads Buvik Sandvei 5f6bd5466f #number -> #string in documentation 2 years ago
Mads Buvik Sandvei 4bf23f152b Revert use of string_view to std::string for effectIdTo* methods. 2 years ago
Mads Buvik Sandvei 6cfc06d7d8 There is no typo 2 years ago
Mads Buvik Sandvei 9a59330561 refactor effect names in loadmgef. Added a map from effect index to non-gmst effect name for use in lua scripts. 2 years ago
Mads Buvik Sandvei 151521bb68 Unused function 2 years ago
Mads Buvik Sandvei 8ac7b04770 ActiveEffects / ActiveSpells documentation 2 years ago
Mads Buvik Sandvei c03c3c40d5 documentation of MagicEffectId enum 2 years ago
Mads Buvik Sandvei b791ce9132 Remove redundant qualifiers 2 years ago
Mads Buvik Sandvei 448658ce5b Check class validity before using it. 2 years ago
Mads Buvik Sandvei 87250bfabf clang warnings/errors 2 years ago
Mads Buvik Sandvei 7ba43c9426 actor.ActiveEffects and actor.ActiveSpells 2 years ago
elsid 6521cb4d7c
Add CI job to run integration tests with AddressSanitizer 2 years ago
psi29a 55b2ce4a09 Merge branch 'fix_macos_build' into 'master'
Add missing include

See merge request OpenMW/openmw!3055
2 years ago
elsid 2f18da08d7
Add missing include 2 years ago
psi29a 01705485b8 Merge branch 'grow_limit' into 'master'
[Needs testing] Migrate Grow Limit editor feature to a more modern code

See merge request OpenMW/openmw!2637
2 years ago
psi29a 87b15c22f3 Merge branch 'fixcolladaregression' into 'master'
Fix regression with Collada-animated creatures

See merge request OpenMW/openmw!2882
2 years ago
Nelsson Huotari 4abd47f430 Fix regression with Collada-animated creatures 2 years ago
psi29a 2545185d52 Merge branch 'cs_show_magic_effect_name' into 'master'
Show magic effect name instead of IndexRefId (#7366)

Closes #7366

See merge request OpenMW/openmw!3049
2 years ago
psi29a 30305d7bea Merge branch 'topicloop' into 'master'
Detect service refusal in constant time

See merge request OpenMW/openmw!3053
2 years ago
psi29a 64b07ee9f4 Merge branch 'esmtool_dawnguard_dragonborn' into 'master'
Partial support esmtool dump for Dragonborn.esm and Dawnguard.esm from Skyrim

See merge request OpenMW/openmw!3052
2 years ago
psi29a a61f955e9f Merge branch 'case.ext' into 'master'
Fix a regression and use more starts_with and ends_with

See merge request OpenMW/openmw!3051
2 years ago
psi29a 6db9e5f0d3 Merge branch 'convert_cells_settings' into 'master'
Use settings values for Cells settings (#6876)

See merge request OpenMW/openmw!3048
2 years ago
Alexei Dobrohotov a983977e6a Fix NiSkinData loading for >4.2.1.0 2 years ago
Evil Eye 11f875d9c4 Detect service refusal in constant time 2 years ago
elsid 7c16ecb258
Skip more unknown ESM4 subrecords
CNAM from HDPT is a part of Dawnguard.esm.
ATKR from RACE is a part of Dawnguard.esm.
CIS2 from SCRL is a part of Dragonborn.esm.
SPMV from RACE is a part of Dragonborn.esm.
2 years ago
elsid e537d1d0d4
Ignore missing localization string files by esmtool
Dawnguard.esm from Skyrim depends on files stored in Dawnguard.bsa which is not
processed by esmtool.
2 years ago
elsid 358b7ad3ec
Keep ESM4 localized strings in memory
Size of the files is in order of megabytes at max. Storing offset lookup table
to read from file on demand is less efficient than reading from memory for such
size.

Read and store offsets first. Sort them to read values sequentially. Memoize
last offset and value to avoid reading the same value twice. Use seek only when
current possition does not match offset. Optimize seek for short distance by
calling read instead.
2 years ago
Alexei Dobrohotov 1b5e904285 Read BSMultiBound et al. 2 years ago
Alexei Kotov 401ebfd7f2 Merge branch 'fix_oblivion_loading' into 'master'
Fix Oblivion loading

See merge request OpenMW/openmw!3050
2 years ago
Evil Eye 9728024978 Replace compare with more idiomatic methods 2 years ago
jvoisin 7f191a2a8a Merge branch 'if_all_the_asserts' into 'master'
Replace all the `asserts` with `throw` in components/esm4/reader.cpp

See merge request OpenMW/openmw!3047
2 years ago
Evil Eye 97bdc20b70 Merge branch 'copy_warn' into 'master'
Fix a gcc warning about copy

See merge request OpenMW/openmw!3046
2 years ago
jvoisin a9bf671992 Fix Oblivion loading
Found by elsid@, and due to !3043
2 years ago
Evil Eye 3138eb406b Fix case sensitive comparison 2 years ago
elsid 8f47da46ec
Show magic effect name instead of IndexRefId 2 years ago
jvoisin 8b654f276d Replace all the `asserts` with `throw` in components/esm4/reader.cpp 2 years ago
elsid bb1d040ac8
Use settings values for Cells settings 2 years ago
jvoisin 6da3c3e200 Fix a gcc warning about copy
```
/home/jvoisin/dev/openmw/openmw/components/fontloader/fontloader.cpp:532:29: warning: loop variable '[key, value]' creates a copy from type 'std::pair<const int, int> const' [-Wrange-loop-construct]
            for (const auto [key, value] : additional)
                            ^
/home/jvoisin/dev/openmw/openmw/components/fontloader/fontloader.cpp:532:18: note: use reference type 'std::pair<const int, int> const &' to prevent copying
            for (const auto [key, value] : additional)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
                            &
1 warning generated.
```
2 years ago
Evil Eye 45c84a2426 Merge branch 'fix_libc++_build' into 'master'
Use bool instead of std::stringstream::view

See merge request OpenMW/openmw!3045
2 years ago
elsid 585cf377ed
Use bool instead of std::stringstream::view
view is not supported by libc++ used for macOS builds.
2 years ago