17 Commits
Author SHA1 Message Date
Evil Eye a085036a92 Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
Alexei Kotov 6b93479bd3 Get rid of ESM4::SubRecordTypes
All my homies hate ESM4::SubRecordTypes
2024-03-18 12:25:17 +03:00
Alexei Kotov 18982ea4a0 Read FO76 plugin header 2024-01-07 04:55:39 +03:00
Alexei Kotov 891be9744d Skip TES4::TNAM 2023-08-17 02:12:31 +03:00
Petr Mikheev 5d54ca6fdb Refactor components/esm4 2023-08-05 13:12:24 +02:00
jvoisin 3152078c7e Restore missing std::endl removed by an overeager regex 2023-06-01 13:48:41 +02:00
jvoisin 0e33730f5d Remove useless logging
As suggested in https://gitlab.com/OpenMW/openmw/-/merge_requests/3086#note_1413234840
2023-06-01 13:31:48 +02:00
jvoisin a58dc6fd30 Use the logging system instead of std::cout in components/esm4
- Remove debug-related includes
- Add some trivial missing includes
- Remove useless {}
- Move the known-but-skipped-records are the end of the switch-cases
- Always throw on unknown records
2023-06-01 13:31:48 +02:00
jvoisin c98c532213 Replace all asserts in components/esm[34] with throw 2023-05-27 16:10:53 +02:00
jvoisin 81bd034a9e Guard an undefined behaviour
`std::vector.back()` on an empty `std::vector` is undefined.
This should fix #6725.

Thanks to @Capostrophic for the investigation.
2023-05-20 19:35:06 +02:00
Petr Mikheev f09a689a4f Merge ESM::RefNum and ESM4::FormId 2023-04-09 00:23:32 +02:00
clang-format-botandζeh Matt ddb0522bbf Apply clang-format to code base 2022-09-22 21:35:26 +03:00
jvoisin 331363d469 Merge branch 'fix_uninit' into 'master'
Fix uninitialized coverity warnings

See merge request OpenMW/openmw!1819
2022-05-05 17:35:16 +00:00
Evil Eye a64979e25d Replace empty std::string assignments 2022-05-04 22:33:39 +02:00
jvoisin 143dcad0e8 Use an if instead of an assert 2022-05-02 21:17:24 +00:00
elsid b67a0a8f2b Fix uninitialized coverity warnings 2022-05-01 18:36:16 +02:00
cc9ciiandBret Curtis ba3ae448d4 Initial import of esm4 by cc9cii 2022-01-31 08:58:45 +01:00