Commit Graph

18 Commits

Author SHA1 Message Date
Alexei Kotov 7332b4e232 Reserve capacity for extra data NIF collections 2025-12-15 10:44:45 +03:00
elsid 246759ecd2
Only reserve capacity when reading collections
But do not initialize. If the meta information is invalid and has a big
value, initialization will take significant amount of time but there
might be no actual data in the file because it's too small.
2025-11-23 13:17:00 +01:00
Alexei Kotov 7f92c1821e Read BSCollisionQueryProxyExtraData 2023-11-08 13:38:14 +03:00
Alexei Kotov 8ce9f7b9cf Read BSPackedCombinedSharedGeomDataExtra 2023-10-20 17:39:58 +03:00
Alexei Kotov 291d0de79e Read more FO4 extra data records 2023-10-04 15:54:28 +03:00
Alexei Kotov a39182f7de Read a bunch more extra data records
NiStringsExtraData, BSExtraData, BSBoneLODExtraData, BSClothExtraData, BSDecalPlacementVectorExtraData, BSDistantObjectExtraData, BSDistantObjectLargeRefExtraData, BSWArray
2023-09-20 02:57:37 +03:00
Alexei Kotov 2edf3399e2 Modernize extra data records 2023-09-01 01:54:11 +03:00
Alexei Kotov 57144accf6 Phase out NIFStream::get[Types] 2023-08-17 09:15:45 +03:00
Alexei Kotov fa39f04a3a Read BSBehaviorGraphExtraData 2023-07-20 03:38:15 +03:00
alekulyn dc860ca302 Load BSInvMarker NIF nodes 2023-06-01 15:27:42 -05:00
clang-format-bot ddb0522bbf
Apply clang-format to code base 2022-09-22 21:35:26 +03:00
Alexei Dobrohotov cc4c96d0f1 Follow global naming convention for new records 2021-11-10 22:50:01 +03:00
Alexei Dobrohotov 9500afaa5a Load BSFurnitureMarker 2021-11-10 19:21:07 +03:00
Alexei Dobrohotov 66a1adc31e Handle NiExtraData *properly* 2021-07-27 07:58:57 +03:00
Alexei Dobrohotov 1d07361f08 Read a few more NIF types
BSXFlags, NiTransformData, BSBound, BSFadeNode, bhkBlendController
2020-11-09 00:19:35 +03:00
Alexei Dobrohotov df1014303d Add more generic extra data NIF types 2020-10-06 21:21:55 +03:00
Capostrophic 8baddefdbd Refactor extra data and particle modifier handling
Objects no longer inherit from extra data class
"Controlled" harmful abstraction no longer exists
Introduced NiParticleModifier/NiParticleCollider abstractions
Extra data size reading moved into the base read() method
2019-09-13 20:26:22 +03:00
scrawl 8e01d8cb19 Add OSG nifloader, currently supports geometry, materials, basic texturing, skinning, morphing, and most controllers. 2015-02-23 21:06:10 +01:00