1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00
Commit graph

7526 commits

Author SHA1 Message Date
Alexei Kotov
8c27dca1df ESM4: add a way to get the current form version
Differentiate between Fallout 4 and TES4 version 1.0 plugins
2023-09-25 21:26:51 +03:00
Alexei Kotov
052fb416c6 Read BSSegmentedTriShape 2023-09-25 14:48:40 +03:00
Alexei Kotov
67e24a0ffe Read all Bethesda Havok Action records 2023-09-25 14:45:40 +03:00
Alexei Kotov
a18601d6e0 Finish bhkPhantom hierarchy, read bhkAabbPhantom 2023-09-25 14:21:15 +03:00
Alexei Kotov
e22654baa7 Read bhkMeshShape 2023-09-25 14:00:44 +03:00
Alexei Kotov
01cd7e715b Fix formatting 2023-09-24 20:22:09 +03:00
Alexei Kotov
6b28f07537 Read bhkPlaneShape and bhkMultiSphereShape 2023-09-24 20:22:09 +03:00
Alexei Kotov
7c11d9acbc Read NiMeshPSysData and related modifiers 2023-09-24 20:22:09 +03:00
Alexei Kotov
285eafbf66 Read bhkBallSocketConstraintChain and BSProceduralLightingController 2023-09-24 20:22:07 +03:00
Alexei Kotov
02c895c107 Read all remaining Havok constraint records 2023-09-24 20:21:30 +03:00
Alexei Kotov
3296dadf60 Read BSPSysMultiTargetEmitterCtlr and bone LOD controllers 2023-09-24 20:21:30 +03:00
Alexei Kotov
d048746146 Read BSMasterParticleSystem, BSParentVelocityModifier, NiLookAtInterpolator 2023-09-24 20:21:30 +03:00
psi29a
8df8135f1d Merge branch 'youhavemyoarcitizen' into 'master'
Fix bhkConvexSweepShape loading

See merge request OpenMW/openmw!3444
2023-09-24 17:11:58 +00:00
Alexei Kotov
7e360df6c0 Place ESM4::Flora instances to the scene 2023-09-24 10:25:44 +03:00
Alexei Kotov
47a1403717 Fix bhkConvexSweepShape loading 2023-09-23 21:16:04 +03:00
Alexei Kotov
470852f88e Cleanup 2023-09-22 21:59:24 +03:00
Alexei Kotov
a416d18adf Read NiPSysColorModifier, NiPSysGrowFadeModifier, BSPSysArrayEmitter 2023-09-22 15:10:49 +03:00
Alexei Kotov
655dcef34c Fix >1 particle radii loading 2023-09-22 11:12:35 +03:00
Alexei Kotov
0ad3463d36 Read BSWindModifier and NiPSysBombModifier 2023-09-22 05:28:18 +03:00
Alexei Kotov
5de3bdd2bc Read Gamebryo particle colliders and a few more modifiers 2023-09-22 05:15:01 +03:00
Alexei Kotov
120223d8df Read even more Gamebryo/Bethesda particle records 2023-09-22 04:42:46 +03:00
Alexei Kotov
8594875ccb Read a few more Gamebryo/Bethesda modifiers 2023-09-22 04:11:32 +03:00
Alexei Kotov
c6d0df432f Read a few Gamebryo particle emitters, NiPSysResetOnLoopCtlr, NiPSysPositionModifier 2023-09-22 03:50:16 +03:00
Alexei Kotov
717b93d61e Read BSPSysLODModifier 2023-09-22 03:15:29 +03:00
Alexei Kotov
b45923ac39 Read NiPSysSpawnModifier, NiPSysAgeDeathModifier 2023-09-22 02:54:03 +03:00
Alexei Kotov
eaa82ba5c6 Read BSStripPSysData 2023-09-22 02:40:12 +03:00
Alexei Kotov
a8946e06f6 Read NiParticleSystem and its twins
Looks like NiPSysData is loading correctly
2023-09-22 02:12:18 +03:00
Alexei Kotov
c800152ca2 Diminish error marker prominence
Don't render ESM4 actors or SpeedTree objects
2023-09-22 01:01:19 +03:00
Alexei Kotov
f507e17807 Read BSWaterShaderProperty and BSSkyShaderProperty 2023-09-22 00:36:41 +03:00
Alexei Kotov
6204a83a2b Read bhkBallAndSocketConstraint and bhkStiffSpringConstraint 2023-09-21 23:07:56 +03:00
Alexei Kotov
e2efc9dd2f Read NiLightColorController and NiPathInterpolator 2023-09-21 16:06:31 +03:00
Alexei Kotov
2d9c700530 Read BSDebrisNode 2023-09-21 16:06:31 +03:00
Alexei Kotov
812b0cf246 Read NiFloatExtraDataController records 2023-09-21 16:06:31 +03:00
Alexei Kotov
c34faaf336 Read NiPSysUpdateCtlr 2023-09-21 16:06:31 +03:00
Alexei Kotov
a90c848349 Reject files with non-zero preceding separators
This sign is typically bad news on some 10.0.1.2 files used in Oblivion.
Technically our fault, but NifTools research is incomplete, will need to check if cc9cii found anything
2023-09-21 16:06:31 +03:00
Alexei Kotov
c8307ad397 Read particle system modifier controllers 2023-09-21 16:06:31 +03:00
Alexei Kotov
dddfbf806b Move particle geometry, add NiPSysData and NiPSysEmitterCtlrData
These record types are currently unreachable, might get tweaks later
2023-09-21 13:26:01 +03:00
Alexei Kotov
73a12eb74a Read BSLagBoneController 2023-09-20 08:53:35 +03:00
Alexei Kotov
1aabc9aee5 Read bhkNPCollisionObject, bhkPhysicsSystem and bhkRagdollSystem 2023-09-20 08:27:20 +03:00
Alexei Kotov
b5f1d0a91b Fix formatting 2023-09-20 08:15:48 +03:00
Alexei Kotov
ad20384750 Read NiLightDimmerController 2023-09-20 07:14:07 +03:00
Alexei Kotov
312e32717c Read bhkConvexListShape and bhkConvexSweepShape 2023-09-20 07:14:03 +03:00
Alexei Kotov
0eb8d28e81 Read bhkBlendCollisionObject 2023-09-20 05:57:43 +03:00
Alexei Kotov
70877c94bc Read BSNiAlphaPropertyTestRefController 2023-09-20 05:26:41 +03:00
Alexei Kotov
9a2d385d87 Read NiAdditionalGeometryData records 2023-09-20 05:06:38 +03:00
Alexei Kotov
ecf644bda5 Read bhkCylinderShape 2023-09-20 05:06:38 +03:00
Alexei Kotov
e207285323 Read BSFrustumFOVController and BSKeyframeController 2023-09-20 05:06:38 +03:00
Alexei Kotov
5f504688ad Read BSMultiBoundAABB 2023-09-20 05:06:38 +03:00
Alexei Kotov
77c5882622 Read various FO3 shader properties
BSDistantTreeShaderProperty, DistantLODShaderProperty, HairShaderProperty, Lighting30ShaderProperty, SkyShaderProperty, TallGrassShaderProperty, TileShaderProperty, VolumetricFogShaderProperty, WaterShaderProperty
2023-09-20 05:06:38 +03:00
Alexei Kotov
30b842dd1e Read BSMeshLODTriShape and BSDynamicTriShape
Slightly clean up BSVertexData loading
Fix skin tint alpha loading in BSLightingShaderProperty
2023-09-20 05:06:38 +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
psi29a
3ae189dda1 Merge branch 'nifcouriersix' into 'master'
Modernize NIF loader, part 6

See merge request OpenMW/openmw!3435
2023-09-19 08:37:23 +00:00
Alexei Kotov
82eed09604 Further adjust FO3+ shader properties based on nifly definitions 2023-09-19 00:12:05 +03:00
psi29a
eb688b603d Merge branch 'refnum_ref' into 'master'
Replace `const ESM::RefNum&` -> `ESM::RefNum`

See merge request OpenMW/openmw!3432
2023-09-18 08:35:45 +00:00
Alexei Kotov
4db994cda9 Remap FO76 shader types 2023-09-18 06:44:44 +03:00
Alexei Kotov
81441bc963 Fix formatting and typos 2023-09-18 06:44:44 +03:00
Alexei Kotov
1b93e646b8 Rename Property->NiProperty 2023-09-18 06:44:44 +03:00
Alexei Kotov
defe5ba5e7 Remove last remnants of deprecated NIFStream methods 2023-09-18 06:44:44 +03:00
Alexei Kotov
c551f23667 Update NIF property loading, second pass
Refactor all remaining NIF properties
2023-09-18 06:44:44 +03:00
Alexei Kotov
080d7d2c13 Refactor NiTexturingProperty, load everything 2023-09-18 06:44:44 +03:00
Alexei Kotov
18e4af04b3 Rewrite BSVertexData loading and read FO4 geometry properly 2023-09-17 20:15:30 +03:00
Alexei Kotov
9ae1077808 Update NIF property loading, first pass
Revise all FO3+ shader properties (attempt reading FO4, FO76 and Starfield properties)
Use constants for most instances of property flags
Drop invalid usage of non-existent double-sided flag for BSShader
Make formatting more consistent, drop unnecessary comments
2023-09-17 19:22:16 +03:00
Alexei Kotov
eb8242946a Improve node record consistency with NifTools 2023-09-16 19:17:40 +03:00
Alexei Kotov
bff9231c3b Refactor NiGeometry/BSTriShape
Don't pass invalid geometry data links to the loaders
2023-09-16 19:17:40 +03:00
Alexei Kotov
deb051639e Refactor NiBoundingVolume 2023-09-15 21:11:12 +03:00
Alexei Kotov
5b0bc97db0 Refactor NiSwitchNode and NiLODNode 2023-09-15 21:11:12 +03:00
Alexei Kotov
c9300cac31 Update NIF node records, first pass 2023-09-15 21:11:09 +03:00
Petr Mikheev
c67b866a11 Replace const ESM::RefNum& -> ESM::RefNum 2023-09-15 19:38:09 +02:00
psi29a
12159d95f3 Merge branch 'music' into 'master'
Rework music system

See merge request OpenMW/openmw!3372
2023-09-15 07:11:31 +00:00
psi29a
59f8034442 Merge branch 'sizedreads' into 'master'
Replace more sized reads

See merge request OpenMW/openmw!3425
2023-09-15 07:03:18 +00:00
Alexei Kotov
2f8229a54d Fix bit shift 2023-09-14 07:01:12 +03:00
Alexei Kotov
f271c4305a Fix formatting 2023-09-14 05:11:40 +03:00
Alexei Kotov
8856dff3db Refactor NiParticleSystemController and update definitions 2023-09-14 04:57:55 +03:00
Alexei Kotov
d55ba0cfa2 Cleanup 2023-09-14 03:12:10 +03:00
Alexei Kotov
0fe095303f Rename Controller->NiTimeController, update NiTimeController and related code 2023-09-14 03:12:10 +03:00
Alexei Kotov
04d3f6a42d Update NiPathController
Support 10.1.0.0+ NiPathController loading
2023-09-14 03:12:10 +03:00
Alexei Kotov
ca85820431 Refactor NiUVController 2023-09-14 02:07:24 +03:00
Alexei Kotov
b0dfd74562 NIFStream: remove getBoolean, getString 2023-09-14 01:54:27 +03:00
Alexei Kotov
05d8975ed1 Revise various NIF controller records
Mostly those that don't require external changes
2023-09-14 01:44:41 +03:00
Alexei Kotov
19d1f6f3f5 Rewrite typed NiInterpolator loading 2023-09-14 00:34:15 +03:00
Alexei Kotov
6d82f8b00d Refactor NiKeyframeController and NiTransformInterpolator 2023-09-14 00:03:25 +03:00
Alexei Kotov
735a948452 Refactor NiMultiTargetTransformController 2023-09-13 23:43:24 +03:00
Alexei Kotov
208bfa9e21 Refactor NiMaterialColorController 2023-09-13 23:37:28 +03:00
Alexei Kotov
a224bea6d4 Rewrite NiBlendInterpolator+friends loading 2023-09-13 23:15:14 +03:00
Evil Eye
b59739a529 Replace more sized reads 2023-09-13 21:51:42 +02:00
Alexei Kotov
956ede52fb NIFStream: remove getShort, getMatrix3, getQuaternion 2023-09-13 21:56:02 +03:00
Andrei Kortunov
e1cae5a029 Rework music system 2023-09-13 09:11:07 +04:00
psi29a
090da90302 Merge branch 'factions' into 'master'
Implement Lua API for factions

See merge request OpenMW/openmw!3405
2023-09-12 19:41:54 +00:00
psi29a
42b77342c5 Merge branch 'nif' into 'master'
Modernize NIF loader, part 3

See merge request OpenMW/openmw!3418
2023-09-12 08:34:46 +00:00
Andrei Kortunov
6ee86dea82 Implement Lua API for factions (feature 7468) 2023-09-12 09:49:03 +04:00
psi29a
39a209cb78
Merge branch 'settings_values_models' into 'master'
Use settings values for Models settings (#6876)

See merge request OpenMW/openmw!3413
2023-09-11 06:55:17 +00:00
psi29a
76b0aaa110
Merge branch 'mistify' into 'master'
Fix NiRotatingParticlesData loading in Mistify

See merge request OpenMW/openmw!3417
2023-09-11 06:51:24 +00:00
Alexei Kotov
9b801b0876 Fix NiParticlesData loading in Mistify 2023-09-10 19:38:05 +03:00
Alexei Kotov
4dd2f34e30 Fix Windows build 2023-09-10 09:20:06 +03:00
Alexei Kotov
a7cc4e6ba6 Rename Node->NiAVObject and update everything directly related
Update NiNode
Simplify RootCollisionNode handling in BulletNifLoader
2023-09-10 07:18:39 +03:00
Alexei Kotov
878d4ddaa7 Update record pointer loading 2023-09-10 07:18:39 +03:00
Alexei Kotov
6872c7144e Rename Transformation->NiTransform and update everything directly related 2023-09-10 07:18:39 +03:00
Alexei Kotov
535290a83d Update NIF Reader class and related code
Update BSStreamHeader definitions
Fix 10.0.1.8 loading
Explicitly avoid loading 20.3.1.2
2023-09-10 07:18:39 +03:00
Alexei Kotov
ef896faa90 Rename Named->NiObjectNET and update everything directly related to it
BulletNifLoader: properly check if the node has animation controllers
Flatten extra data linked list
2023-09-10 07:18:39 +03:00
elsid
053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 2023-09-09 19:35:20 +02:00