Commit Graph

16 Commits (master)

Author SHA1 Message Date
elsid d85130c4c0
Init potentially unread fields for HDPT 5 months ago
Alexei Kotov 6b93479bd3 Get rid of ESM4::SubRecordTypes
All my homies hate ESM4::SubRecordTypes
10 months ago
Alexei Kotov bd2ea715b4 Bring ESM4 head part reading up-to-date with FO76 12 months ago
Petr Mikheev be455469ba Read SUB_DNAM in ESM4::ArmorAddon and SUB_PNAM in ESM4::HeadPart 1 year ago
Alexei Kotov 60813345ae ESM4: Acknowledge all model data records 1 year ago
Alexei Kotov 0c05bbea37 Skip CTDA target condition subrecords 1 year ago
Petr Mikheev 5d54ca6fdb Refactor components/esm4 1 year ago
jvoisin 0e33730f5d Remove useless logging
As suggested in https://gitlab.com/OpenMW/openmw/-/merge_requests/3086#note_1413234840
2 years ago
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
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
Petr Mikheev f09a689a4f Merge ESM::RefNum and ESM4::FormId 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid b67a0a8f2b
Fix uninitialized coverity warnings 3 years ago
elsid 4b28d51d5e
Remove virtual modifiers from ESM4 record functions
There is no need to have virtual functions.
3 years ago
elsid f516e34688
Remove used-defined constructors from ESM4 types
To avoid explicit initialization. It should happen in the load functions anyway.

* Move all non-zero initializations to corresponding class definition.
* Replace std::vector by std::array when it has constant size.
3 years ago
cc9cii ba3ae448d4 Initial import of esm4 by cc9cii 3 years ago