Commit Graph

23 Commits (master)

Author SHA1 Message Date
Alexei Kotov 6b93479bd3 Get rid of ESM4::SubRecordTypes
All my homies hate ESM4::SubRecordTypes
10 months ago
Evil Eye e63933efa6 Use NAM9 for stack count 1 year ago
Alexei Kotov 1bd2667c66 Rename REFR::XTEL transition interior field 1 year ago
Alexei Kotov 1a62b2e6b5 ESM4: use switch-cases when relevant 1 year ago
Alexei Kotov 3b3545fa58 Fix cell grid and owner subrecord loading for FO4 1 year ago
Alexei Kotov 95488d6ec9 Maybe load FO4 cell references 1 year ago
Petr Mikheev 5d54ca6fdb Refactor components/esm4 1 year ago
Petr Mikheev 9b511fdf7a Load ESM4 actors 1 year ago
Alexei Dobrohotov c6882dbc6b Skip REFR::XPTL
Needed by Yukichigai Unofficial Patch
1 year ago
elsid e8ef1a2a0c
Add default initialization for ESM4::TeleportDest::flags 2 years ago
jvoisin 3152078c7e Restore missing std::endl removed by an overeager regex 2 years 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
Petr Mikheev 3546d2b3e5 Make Store<ESM4::Reference> to use FormId instead of RefId 2 years ago
Petr Mikheev f09a689a4f Merge ESM::RefNum and ESM4::FormId 2 years ago
psi29a 4032c447e9 Merge branch 'load-ESM4-Cell' into 'master'
Can load and coc into an interrior oblivion cell

See merge request OpenMW/openmw!2647
2 years ago
elsid 5bb088218e
Restore original formId
To make sure esmtool prints original value and not a result of conversion.
2 years ago
florent.teppe f9da66e9ee Greatly improved how the variant on MWWorld::CellRef works 2 years ago
florent.teppe c721a6cafa Initial commit to load ESM4
Some data is actually loaded and store in ESM Store
Any new ESM4 will go through the same code path and be automatically sent to the right store
2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 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