Commit Graph

90 Commits (81f2402e66cdc9c21dd81e7126b29a06dbd56d59)

Author SHA1 Message Date
Alexei Kotov 5f4a0c3bf1 Read BSAnimNote/BSAnimNotes 8 months ago
Alexei Kotov 5c6fca14c1 Read NiBSplineData/NiBSplineBasisData 8 months ago
Alexei Kotov b93291840e BulletNifLoader: Handle NiSkinPartition
Add NiSkinPartition recovery helper method
1 year ago
Andrei Kortunov aeb46f5fba Fix Coverity warnings 1 year ago
Alexei Kotov 6c2a79184d Read FO4 skinning data 1 year ago
Alexei Kotov 7c11d9acbc Read NiMeshPSysData and related modifiers 1 year ago
Alexei Kotov eaa82ba5c6 Read BSStripPSysData 1 year ago
Alexei Kotov dddfbf806b Move particle geometry, add NiPSysData and NiPSysEmitterCtlrData
These record types are currently unreachable, might get tweaks later
1 year ago
Alexei Kotov 9a2d385d87 Read NiAdditionalGeometryData records 1 year ago
Alexei Kotov 5f504688ad Read BSMultiBoundAABB 1 year ago
Alexei Kotov 19d1f6f3f5 Rewrite typed NiInterpolator loading 1 year ago
psi29a 42b77342c5 Merge branch 'nif' into 'master'
Modernize NIF loader, part 3

See merge request OpenMW/openmw!3418
1 year ago
Alexei Kotov 9b801b0876 Fix NiParticlesData loading in Mistify 1 year ago
Alexei Kotov 6872c7144e Rename Transformation->NiTransform and update everything directly related 1 year ago
Alexei Kotov b9f552b7f4 Preallocate lines in NiLinesData 1 year ago
Alexei Kotov 145ce8f924 Deduplicate some version checks, avoid resizing twice 1 year ago
Alexei Kotov b7c69d109f Use Fallout 3 stream version constant in NiParticlesData 1 year ago
Alexei Kotov bf64ad6470 Further cleanup 1 year ago
Alexei Kotov efe1c66536 Further cleanup in NiGeometryData, update NiParticlesData to 20.2.0.7 1 year ago
Alexei Kotov fd3b24e2e6 Make better use of osg::BoundingSpheref in the NIF loader 1 year ago
Alexei Kotov 0154bb78df Modernize NiSkinPartition 1 year ago
Alexei Kotov 6ac271d5c0 Modernize NiParticlesData and NiSkinData 1 year ago
Alexei Kotov 89774716fb Modernize NiGeometryData 1 year ago
Alexei Kotov 50a5d53b41 Modernize NiKeyframeData 1 year ago
Alexei Kotov cfd37dbcc6 Modernize NiTriShapeData 1 year ago
Alexei Kotov 5e8f9e7dd9 Modernize NiPixelData 1 year ago
Alexei Kotov 523e7e8228 Modernize NiRotatingParticlesData and NiVisData 1 year ago
Alexei Kotov eba0ab444b Modernize NiTriStripsData 1 year ago
Alexei Kotov fda6b0b4f8 Modernize NiUVData, NiLinesData, NiTriBasedGeomData 1 year ago
Alexei Kotov 384a398b62 Modernize NiMorphData, palette and BSBound records 1 year ago
Alexei Kotov 5b07a78f2c Modernize skin instance records 1 year ago
Alexei Kotov 57144accf6 Phase out NIFStream::get[Types] 1 year ago
psi29a c290754077 Revert "Merge branch 'loadSSEAlchemyTable' into 'master'"
This reverts merge request !3267
1 year ago
alekulyn d2896945e8 Load SSE alchemy table 1 year ago
Alexei Kotov 3f252eab5d Copy triangle data from NiSkinPartition 1 year ago
alekulyn 74aa7b947a Load BSTriShape NIF nodes 2 years ago
Alexei Dobrohotov a983977e6a Fix NiSkinData loading for >4.2.1.0 2 years ago
Alexei Dobrohotov 1b5e904285 Read BSMultiBound et al. 2 years ago
Alexei Kotov d39127cc3d Add NiTriBasedGeomData abstraction 2 years ago
psi29a de2bd6d802 Merge branch 'nistringpalette' into 'master'
Fix NiStringPalette loading again

See merge request OpenMW/openmw!2703
2 years ago
Alexei Kotov a4ddf443ed Fix NiStringPalette loading 2 years ago
Alexei Kotov c8430ee6c8 Clean up fillTriangleMesh for NiTriStrips 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 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
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Andrei Kortunov c36c28e8f9 Move NIF implementation to cpp files 2 years ago
Alexei Dobrohotov 54df5031b7 Add XYZ rotation axis order support 3 years ago
Alexei Dobrohotov 26dfce1114 Rehash key group and morph loading (bug #6517) 3 years ago
Alexei Dobrohotov 41097352a8 Load BSDismemberSkinInstance 3 years ago