Skip to content
Snippets Groups Projects
Commit e1216e16 authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Preparing the 0.7 Release.

parent 50292bda
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,8 @@ CXXFLAGS = $(CFLAGS)
#IT should find the libs used, but if it doesn't specify here. Ex: -lm for libm.so.<whatever>
LIBS =
L_FLAGS = -shared -Wl,-soname,libniflib.so.0
VERSION = .6.3
VERSION_MIN = .6
VERSION = 0.7
VERSION_MIN = 0.7
TARGET = libniflib.so.0$(VERSION)
TARGETA = libniflib.a
......@@ -46,271 +46,299 @@ TARGET2 = libniflib.so.0.$(VERSION_MIN)
OBJ_FILES = NvTriStrip/NvTriStrip.o \
NvTriStrip/NvTriStripObjects.o \
NvTriStrip/VertexCache.o \
src/ComplexShape.o \
src/kfm.o \
src/NIF_IO.o \
src/nif_math.o \
src/niflib.o \
src/pch.o \
src/Type.o \
TriStripper/connectivity_graph.o \
TriStripper/policy.o \
TriStripper/tri_stripper.o \
src/gen/AVObject.o \
src/gen/BoundingBox.o \
src/gen/ByteArray.o \
src/gen/ControllerLink.o \
src/gen/enums.o \
src/gen/Footer.o \
src/gen/FurniturePosition.o \
src/gen/Header.o \
src/gen/hkTriangle.o \
src/gen/LimitedHingeDescriptor.o \
src/gen/LODRange.o \
src/gen/MatchGroup.o \
src/gen/MipMap.o \
src/gen/Morph.o \
src/gen/NodeGroup.o \
src/gen/obj_factories.o \
src/gen/obj_impl.o \
src/gen/OblivionColFilter.o \
src/gen/OblivionSubShape.o \
src/gen/Particle.o \
src/gen/QuaternionXYZW.o \
src/gen/RagDollDescriptor.o \
src/gen/ShaderTexDesc.o \
src/gen/SkinData.o \
src/gen/SkinPartition.o \
src/gen/SkinShape.o \
src/gen/SkinShapeGroup.o \
src/gen/SkinWeight.o \
src/gen/Sphere.o \
src/gen/StringPalette.o \
src/gen/TBC.o \
src/gen/TexDesc.o \
src/gen/TexSource.o \
src/obj/AbhkConstraint.o \
src/obj/AbhkRagdollConstraint.o \
src/obj/AbhkShapeCollection.o \
src/obj/ABoneLODController.o \
src/obj/AKeyedData.o \
src/obj/AParticleModifier.o \
src/obj/APSysCtlr.o \
src/obj/APSysData.o \
src/obj/AvoidNode.o \
src/obj/bhkBlendCollisionObject.o \
src/obj/bhkBlendController.o \
src/obj/bhkBoxShape.o \
src/obj/bhkCapsuleShape.o \
src/obj/bhkCollisionObject.o \
src/obj/bhkConvexShape.o \
src/obj/bhkConvexTransformShape.o \
src/obj/bhkConvexVerticesShape.o \
src/obj/bhkEntity.o \
src/obj/bhkHingeConstraint.o \
src/obj/bhkLimitedHingeConstraint.o \
src/obj/bhkListShape.o \
src/obj/bhkMalleableConstraint.o \
src/obj/bhkMoppBvTreeShape.o \
src/obj/bhkMultiSphereShape.o \
src/obj/bhkNiTriStripsShape.o \
src/obj/bhkPackedNiTriStripsShape.o \
src/obj/bhkPrismaticConstraint.o \
src/obj/bhkRagdollConstraint.o \
src/obj/bhkRefObject.o \
src/obj/bhkRigidBody.o \
src/obj/bhkRigidBodyT.o \
src/obj/bhkSerializable.o \
src/obj/bhkShape.o \
src/obj/bhkSimpleShapePhantom.o \
src/obj/bhkSPCollisionObject.o \
src/obj/bhkSphereRepShape.o \
src/obj/bhkSphereShape.o \
src/obj/bhkStiffSpringConstraint.o \
src/obj/bhkTransformShape.o \
src/obj/bhkWorldObject.o \
src/obj/BSBound.o \
src/obj/BSFurnitureMarker.o \
src/obj/BSKeyframeController.o \
src/obj/BSParentVelocityModifier.o \
src/obj/BSPSysArrayEmitter.o \
src/obj/BSXFlags.o \
src/obj/FxButton.o \
src/obj/FxRadioButton.o \
src/obj/FxWidget.o \
src/obj/hkPackedNiTriStripsData.o \
src/obj/NiAlphaController.o \
src/obj/NiAlphaProperty.o \
src/obj/NiAmbientLight.o \
src/obj/NiAutoNormalParticles.o \
src/obj/NiAutoNormalParticlesData.o \
src/obj/NiAVObject.o \
src/obj/NiBillboardNode.o \
src/obj/NiBinaryExtraData.o \
src/obj/NiBlendBoolInterpolator.o \
src/obj/NiBlendFloatInterpolator.o \
src/obj/NiBlendInterpolator.o \
src/obj/NiBlendPoint3Interpolator.o \
src/obj/NiBlendTransformInterpolator.o \
src/obj/NiBoneLODController.o \
src/obj/NiBoolData.o \
src/obj/NiBooleanExtraData.o \
src/obj/NiBoolInterpolator.o \
src/obj/NiBoolTimelineInterpolator.o \
src/obj/NiBSAnimationNode.o \
src/obj/NiBSBoneLODController.o \
src/obj/NiBSPArrayController.o \
src/obj/NiBSParticleNode.o \
src/obj/NiBSplineBasisData.o \
src/obj/NiBSplineCompFloatInterpolator.o \
src/obj/NiBSplineCompPoint3Interpolator.o \
src/obj/NiBSplineCompTransformInterpolator.o \
src/obj/NiBSplineData.o \
src/obj/NiBSplineInterpolator.o \
src/obj/NiCamera.o \
src/obj/NiClod.o \
src/obj/NiClodData.o \
src/obj/NiClodSkinInstance.o \
src/obj/NiCollisionData.o \
src/obj/NiCollisionObject.o \
src/obj/NiColorData.o \
src/obj/NiColorExtraData.o \
src/obj/NiControllerManager.o \
src/obj/NiControllerSequence.o \
src/obj/NiDefaultAVObjectPalette.o \
src/obj/NiDirectionalLight.o \
src/obj/NiDitherProperty.o \
src/obj/NiDynamicEffect.o \
src/obj/NiExtraData.o \
src/obj/NiFlipController.o \
src/obj/NiFloatData.o \
src/obj/NiFloatExtraData.o \
src/obj/NiFloatExtraDataController.o \
src/obj/NiFloatInterpolator.o \
src/obj/NiFloatsExtraData.o \
src/obj/NiFogProperty.o \
src/obj/NiGeometry.o \
src/obj/NiGeometryData.o \
src/obj/NiGeomMorpherController.o \
src/obj/NiGravity.o \
src/obj/NiImage.o \
src/obj/NiIntegerExtraData.o \
src/obj/NiIntegersExtraData.o \
src/obj/NiInterpolator.o \
src/obj/NiKeyframeController.o \
src/obj/NiKeyframeData.o \
src/obj/NiLight.o \
src/obj/NiLightColorController.o \
src/obj/NiLightDimmerController.o \
src/obj/NiLODData.o \
src/obj/NiLODNode.o \
src/obj/NiLookAtController.o \
src/obj/NiLookAtInterpolator.o \
src/obj/NiMaterialColorController.o \
src/obj/NiMaterialProperty.o \
src/obj/NiMeshParticleSystem.o \
src/obj/NiMeshPSysData.o \
src/obj/NiMorphData.o \
src/obj/NiMultiTargetTransformController.o \
src/obj/NiNode.o \
src/obj/NiObject.o \
src/obj/NiObjectNET.o \
src/obj/NiPalette.o \
src/obj/NiParticleBomb.o \
src/obj/NiParticleColorModifier.o \
src/obj/NiParticleGrowFade.o \
src/obj/NiParticleMeshes.o \
src/obj/NiParticleMeshesData.o \
src/obj/NiParticleMeshModifier.o \
src/obj/NiParticleRotation.o \
src/obj/NiParticles.o \
src/obj/NiParticlesData.o \
src/obj/NiParticleSystem.o \
src/obj/NiParticleSystemController.o \
src/obj/NiPathController.o \
src/obj/NiPathInterpolator.o \
src/obj/NiPixelData.o \
src/obj/NiPlanarCollider.o \
src/obj/NiPoint3Interpolator.o \
src/obj/NiPointLight.o \
src/obj/NiPosData.o \
src/obj/NiProperty.o \
src/obj/NiPSysAgeDeathModifier.o \
src/obj/NiPSysBombModifier.o \
src/obj/NiPSysBoundUpdateModifier.o \
src/obj/NiPSysBoxEmitter.o \
src/obj/NiPSysColliderManager.o \
src/obj/NiPSysColorModifier.o \
src/obj/NiPSysCylinderEmitter.o \
src/obj/NiPSysData.o \
src/obj/NiPSysDragModifier.o \
src/obj/NiPSysEmitter.o \
src/obj/NiPSysEmitterCtlr.o \
src/obj/NiPSysEmitterCtlrData.o \
src/obj/NiPSysEmitterDeclinationCtlr.o \
src/obj/NiPSysEmitterDeclinationVarCtlr.o \
src/obj/NiPSysEmitterInitialRadiusCtlr.o \
src/obj/NiPSysEmitterLifeSpanCtlr.o \
src/obj/NiPSysEmitterSpeedCtlr.o \
src/obj/NiPSysGravityModifier.o \
src/obj/NiPSysGravityStrengthCtlr.o \
src/obj/NiPSysGrowFadeModifier.o \
src/obj/NiPSysMeshEmitter.o \
src/obj/NiPSysMeshUpdateModifier.o \
src/obj/NiPSysModifier.o \
src/obj/NiPSysModifierActiveCtlr.o \
src/obj/NiPSysPlanarCollider.o \
src/obj/NiPSysPositionModifier.o \
src/obj/NiPSysResetOnLoopCtlr.o \
src/obj/NiPSysRotationModifier.o \
src/obj/NiPSysSpawnModifier.o \
src/obj/NiPSysSphereEmitter.o \
src/obj/NiPSysUpdateCtlr.o \
src/obj/NiPSysVolumeEmitter.o \
src/obj/NiRangeLODData.o \
src/obj/NiRotatingParticles.o \
src/obj/NiRotatingParticlesData.o \
src/obj/NiScreenLODData.o \
src/obj/NiSequenceStreamHelper.o \
src/obj/NiShadeProperty.o \
src/obj/NiSingleInterpolatorController.o \
src/obj/NiSkinData.o \
src/obj/NiSkinInstance.o \
src/obj/NiSkinPartition.o \
src/obj/NiSourceTexture.o \
src/obj/NiSpecularProperty.o \
src/obj/NiSphericalCollider.o \
src/obj/NiSpotLight.o \
src/obj/NiStencilProperty.o \
src/obj/NiStringExtraData.o \
src/obj/NiStringPalette.o \
src/obj/NiStringsExtraData.o \
src/obj/NiTextKeyExtraData.o \
src/obj/NiTextureEffect.o \
src/obj/NiTextureModeProperty.o \
src/obj/NiTextureProperty.o \
src/obj/NiTextureTransformController.o \
src/obj/NiTexturingProperty.o \
src/obj/NiTimeController.o \
src/obj/NiTransformController.o \
src/obj/NiTransformData.o \
src/obj/NiTransformInterpolator.o \
src/obj/NiTriBasedGeom.o \
src/obj/NiTriBasedGeomData.o \
src/obj/NiTriShape.o \
src/obj/NiTriShapeData.o \
src/obj/NiTriStrips.o \
src/obj/NiTriStripsData.o \
src/obj/NiUVController.o \
src/obj/NiUVData.o \
src/obj/NiVectorExtraData.o \
src/obj/NiVertexColorProperty.o \
src/obj/NiVertWeightsExtraData.o \
src/obj/NiVisController.o \
src/obj/NiVisData.o \
src/obj/NiWireframeProperty.o \
src/obj/NiZBufferProperty.o \
src/obj/RootCollisionNode.o
TriStripper/tri_stripper.o \
src/ComplexShape.o \
src/kfm.o \
src/niflib.o \
src/NIF_IO.o \
src/nif_math.o \
src/pch.o \
src/Type.o \
src/obj/AParticleModifier.o \
src/obj/AvoidNode.o \
src/obj/bhkBlendCollisionObject.o \
src/obj/bhkBlendController.o \
src/obj/bhkBoxShape.o \
src/obj/bhkBvTreeShape.o \
src/obj/bhkCapsuleShape.o \
src/obj/bhkCollisionObject.o \
src/obj/bhkConstraint.o \
src/obj/bhkConvexShape.o \
src/obj/bhkConvexTransformShape.o \
src/obj/bhkConvexVerticesShape.o \
src/obj/bhkEntity.o \
src/obj/bhkHingeConstraint.o \
src/obj/bhkLimitedHingeConstraint.o \
src/obj/bhkListShape.o \
src/obj/bhkMalleableConstraint.o \
src/obj/bhkMoppBvTreeShape.o \
src/obj/bhkMultiSphereShape.o \
src/obj/bhkNiCollisionObject.o \
src/obj/bhkNiTriStripsShape.o \
src/obj/bhkPackedNiTriStripsShape.o \
src/obj/bhkPCollisionObject.o \
src/obj/bhkPhantom.o \
src/obj/bhkPrismaticConstraint.o \
src/obj/bhkRagdollConstraint.o \
src/obj/bhkRefObject.o \
src/obj/bhkRigidBody.o \
src/obj/bhkRigidBodyT.o \
src/obj/bhkSerializable.o \
src/obj/bhkShape.o \
src/obj/bhkShapeCollection.o \
src/obj/bhkShapePhantom.o \
src/obj/bhkSimpleShapePhantom.o \
src/obj/bhkSPCollisionObject.o \
src/obj/bhkSphereRepShape.o \
src/obj/bhkSphereShape.o \
src/obj/bhkStiffSpringConstraint.o \
src/obj/bhkTransformShape.o \
src/obj/bhkWorldObject.o \
src/obj/BSBound.o \
src/obj/BSFurnitureMarker.o \
src/obj/BSKeyframeController.o \
src/obj/BSParentVelocityModifier.o \
src/obj/BSPSysArrayEmitter.o \
src/obj/BSWindModifier.o \
src/obj/BSXFlags.o \
src/obj/FxButton.o \
src/obj/FxRadioButton.o \
src/obj/FxWidget.o \
src/obj/hkPackedNiTriStripsData.o \
src/obj/NiAlphaController.o \
src/obj/NiAlphaProperty.o \
src/obj/NiAmbientLight.o \
src/obj/NiAutoNormalParticles.o \
src/obj/NiAutoNormalParticlesData.o \
src/obj/NiAVObject.o \
src/obj/NiAVObjectPalette.o \
src/obj/NiBillboardNode.o \
src/obj/NiBinaryExtraData.o \
src/obj/NiBinaryVoxelData.o \
src/obj/NiBinaryVoxelExtraData.o \
src/obj/NiBlendBoolInterpolator.o \
src/obj/NiBlendFloatInterpolator.o \
src/obj/NiBlendInterpolator.o \
src/obj/NiBlendPoint3Interpolator.o \
src/obj/NiBlendTransformInterpolator.o \
src/obj/NiBone.o \
src/obj/NiBoneLODController.o \
src/obj/NiBoolData.o \
src/obj/NiBooleanExtraData.o \
src/obj/NiBoolInterpController.o \
src/obj/NiBoolInterpolator.o \
src/obj/NiBoolTimelineInterpolator.o \
src/obj/NiBSAnimationNode.o \
src/obj/NiBSBoneLODController.o \
src/obj/NiBSPArrayController.o \
src/obj/NiBSParticleNode.o \
src/obj/NiBSplineBasisData.o \
src/obj/NiBSplineCompFloatInterpolator.o \
src/obj/NiBSplineCompPoint3Interpolator.o \
src/obj/NiBSplineCompTransformInterpolator.o \
src/obj/NiBSplineData.o \
src/obj/NiBSplineFloatInterpolator.o \
src/obj/NiBSplineInterpolator.o \
src/obj/NiBSplinePoint3Interpolator.o \
src/obj/NiBSplineTransformInterpolator.o \
src/obj/NiCamera.o \
src/obj/NiClod.o \
src/obj/NiClodData.o \
src/obj/NiClodSkinInstance.o \
src/obj/NiCollisionData.o \
src/obj/NiCollisionObject.o \
src/obj/NiColorData.o \
src/obj/NiColorExtraData.o \
src/obj/NiControllerManager.o \
src/obj/NiControllerSequence.o \
src/obj/NiDefaultAVObjectPalette.o \
src/obj/NiDirectionalLight.o \
src/obj/NiDitherProperty.o \
src/obj/NiDynamicEffect.o \
src/obj/NiExtraData.o \
src/obj/NiExtraDataController.o \
src/obj/NiFlipController.o \
src/obj/NiFloatData.o \
src/obj/NiFloatExtraData.o \
src/obj/NiFloatExtraDataController.o \
src/obj/NiFloatInterpController.o \
src/obj/NiFloatInterpolator.o \
src/obj/NiFloatsExtraData.o \
src/obj/NiFogProperty.o \
src/obj/NiGeometry.o \
src/obj/NiGeometryData.o \
src/obj/NiGeomMorpherController.o \
src/obj/NiGravity.o \
src/obj/NiImage.o \
src/obj/NiIntegerExtraData.o \
src/obj/NiIntegersExtraData.o \
src/obj/NiInterpController.o \
src/obj/NiInterpolator.o \
src/obj/NiKeyBasedInterpolator.o \
src/obj/NiKeyframeController.o \
src/obj/NiKeyframeData.o \
src/obj/NiLight.o \
src/obj/NiLightColorController.o \
src/obj/NiLightDimmerController.o \
src/obj/NiLODData.o \
src/obj/NiLODNode.o \
src/obj/NiLookAtController.o \
src/obj/NiLookAtInterpolator.o \
src/obj/NiMaterialColorController.o \
src/obj/NiMaterialProperty.o \
src/obj/NiMeshParticleSystem.o \
src/obj/NiMeshPSysData.o \
src/obj/NiMorphData.o \
src/obj/NiMultiTargetTransformController.o \
src/obj/NiMultiTextureProperty.o \
src/obj/NiNode.o \
src/obj/NiObject.o \
src/obj/NiObjectNET.o \
src/obj/NiPalette.o \
src/obj/NiParticleBomb.o \
src/obj/NiParticleColorModifier.o \
src/obj/NiParticleGrowFade.o \
src/obj/NiParticleMeshes.o \
src/obj/NiParticleMeshesData.o \
src/obj/NiParticleMeshModifier.o \
src/obj/NiParticleRotation.o \
src/obj/NiParticles.o \
src/obj/NiParticlesData.o \
src/obj/NiParticleSystem.o \
src/obj/NiParticleSystemController.o \
src/obj/NiPathController.o \
src/obj/NiPathInterpolator.o \
src/obj/NiPixelData.o \
src/obj/NiPlanarCollider.o \
src/obj/NiPoint3InterpController.o \
src/obj/NiPoint3Interpolator.o \
src/obj/NiPointLight.o \
src/obj/NiPosData.o \
src/obj/NiProperty.o \
src/obj/NiPSysAgeDeathModifier.o \
src/obj/NiPSysBombModifier.o \
src/obj/NiPSysBoundUpdateModifier.o \
src/obj/NiPSysBoxEmitter.o \
src/obj/NiPSysCollider.o \
src/obj/NiPSysColliderManager.o \
src/obj/NiPSysColorModifier.o \
src/obj/NiPSysCylinderEmitter.o \
src/obj/NiPSysData.o \
src/obj/NiPSysDragModifier.o \
src/obj/NiPSysEmitter.o \
src/obj/NiPSysEmitterCtlr.o \
src/obj/NiPSysEmitterCtlrData.o \
src/obj/NiPSysEmitterDeclinationCtlr.o \
src/obj/NiPSysEmitterDeclinationVarCtlr.o \
src/obj/NiPSysEmitterInitialRadiusCtlr.o \
src/obj/NiPSysEmitterLifeSpanCtlr.o \
src/obj/NiPSysEmitterSpeedCtlr.o \
src/obj/NiPSysGravityModifier.o \
src/obj/NiPSysGravityStrengthCtlr.o \
src/obj/NiPSysGrowFadeModifier.o \
src/obj/NiPSysMeshEmitter.o \
src/obj/NiPSysMeshUpdateModifier.o \
src/obj/NiPSysModifier.o \
src/obj/NiPSysModifierActiveCtlr.o \
src/obj/NiPSysModifierBoolCtlr.o \
src/obj/NiPSysModifierCtlr.o \
src/obj/NiPSysModifierFloatCtlr.o \
src/obj/NiPSysPlanarCollider.o \
src/obj/NiPSysPositionModifier.o \
src/obj/NiPSysResetOnLoopCtlr.o \
src/obj/NiPSysRotationModifier.o \
src/obj/NiPSysSpawnModifier.o \
src/obj/NiPSysSphereEmitter.o \
src/obj/NiPSysSphericalCollider.o \
src/obj/NiPSysUpdateCtlr.o \
src/obj/NiPSysVolumeEmitter.o \
src/obj/NiRangeLODData.o \
src/obj/NiRawImageData.o \
src/obj/NiRollController.o \
src/obj/NiRotatingParticles.o \
src/obj/NiRotatingParticlesData.o \
src/obj/NiScreenLODData.o \
src/obj/NiSequence.o \
src/obj/NiSequenceStreamHelper.o \
src/obj/NiShadeProperty.o \
src/obj/NiSingleInterpController.o \
src/obj/NiSkinData.o \
src/obj/NiSkinInstance.o \
src/obj/NiSkinPartition.o \
src/obj/NiSourceTexture.o \
src/obj/NiSpecularProperty.o \
src/obj/NiSphericalCollider.o \
src/obj/NiSpotLight.o \
src/obj/NiStencilProperty.o \
src/obj/NiStringExtraData.o \
src/obj/NiStringPalette.o \
src/obj/NiStringsExtraData.o \
src/obj/NiSwitchNode.o \
src/obj/NiTextKeyExtraData.o \
src/obj/NiTexture.o \
src/obj/NiTextureEffect.o \
src/obj/NiTextureModeProperty.o \
src/obj/NiTextureProperty.o \
src/obj/NiTextureTransformController.o \
src/obj/NiTexturingProperty.o \
src/obj/NiTimeController.o \
src/obj/NiTransformController.o \
src/obj/NiTransformData.o \
src/obj/NiTransformInterpolator.o \
src/obj/NiTriBasedGeom.o \
src/obj/NiTriBasedGeomData.o \
src/obj/NiTriShape.o \
src/obj/NiTriShapeData.o \
src/obj/NiTriShapeSkinController.o \
src/obj/NiTriStrips.o \
src/obj/NiTriStripsData.o \
src/obj/NiUVController.o \
src/obj/NiUVData.o \
src/obj/NiVectorExtraData.o \
src/obj/NiVertexColorProperty.o \
src/obj/NiVertWeightsExtraData.o \
src/obj/NiVisController.o \
src/obj/NiVisData.o \
src/obj/NiWireframeProperty.o \
src/obj/NiZBufferProperty.o \
src/obj/RootCollisionNode.o \
src/gen/AVObject.o \
src/gen/BoundingBox.o \
src/gen/ByteArray.o \
src/gen/ByteColor3.o \
src/gen/ByteColor4.o \
src/gen/ControllerLink.o \
src/gen/enums.o \
src/gen/Footer.o \
src/gen/FurniturePosition.o \
src/gen/Header.o \
src/gen/hkTriangle.o \
src/gen/LimitedHingeDescriptor.o \
src/gen/LODRange.o \
src/gen/MatchGroup.o \
src/gen/MipMap.o \
src/gen/Morph.o \
src/gen/MultiTextureElement.o \
src/gen/NodeGroup.o \
src/gen/OblivionColFilter.o \
src/gen/OblivionSubShape.o \
src/gen/OldSkinData.o \
src/gen/Particle.o \
src/gen/QuaternionXYZW.o \
src/gen/RagDollDescriptor.o \
src/gen/ShaderTexDesc.o \
src/gen/SkinData.o \
src/gen/SkinPartition.o \
src/gen/SkinShape.o \
src/gen/SkinShapeGroup.o \
src/gen/SkinWeight.o \
src/gen/Sphere.o \
src/gen/StringPalette.o \
src/gen/TBC.o \
src/gen/TexDesc.o \
src/gen/TexSource.o
all: Makefile $(TARGET)
......
......@@ -144,4 +144,4 @@ void RemapIndices(const PrimitiveGroup* in_primGroups, const unsigned short numG
} //End namespace
#endif
\ No newline at end of file
#endif
......@@ -245,4 +245,4 @@ protected:
} //End namespace
#endif
\ No newline at end of file
#endif
Import('*')
# set up environment
env_niflib = env.Copy()
if sys.platform == 'win32':
env_niflib.Append(CCFLAGS = '/D "BUILDING_NIFLIB_DLL"')
else:
env_niflib.Append(CCFLAGS = '-DBUILDING_NIFLIB_DLL')
# generate code
os.system('cd ' + os.path.join('..', '..', 'docsys') + ' && python nifxml_niflib.py -p ' + os.path.join('..' , 'niflib'))
# list source files
src_files = []
for n in nifxml.compound_names:
x = nifxml.compound_types[n]
if n[:3] != 'ns ' and not x.niflibtype and not x.template:
src_files.append('src/gen/' + str(n) + '.cpp')
for n in nifxml.block_names:
src_files.append('src/obj/' + str(n) + '.cpp')
src_files.extend(Split("""
src/ComplexShape.cpp
src/niflib.cpp
src/nif_math.cpp
src/NIF_IO.cpp
src/kfm.cpp
src/Type.cpp
src/gen/obj_factories.cpp
src/gen/enums.cpp
src/gen/obj_impl.cpp
TriStripper/connectivity_graph.cpp
TriStripper/policy.cpp
TriStripper/tri_stripper.cpp
NvTriStrip/NvTriStrip.cpp
NvTriStrip/NvTriStripObjects.cpp
NvTriStrip/VertexCache.cpp
"""))
# build niflib
niflib = env_niflib.SharedLibrary('niflib', src_files)
Export('niflib')
......@@ -480,4 +480,132 @@
* Change default to little endian instead of big endian.
* Added NiClodSkinInstance and fixed NiClodData. Niflib can now open all
Freedom Force demo NIF files.
* Corrected Shape/particle hierarchy by adding NiGeometry and NiGeometryData.
\ No newline at end of file
* Corrected Shape/particle hierarchy by adding NiGeometry and NiGeometryData.
==Version 0.7==
* Removed predefines from Doxyfile since they are no longer needed with the
new Python generation method.
* Disabled Whole Program Optimization in project settings. This makes a full
recompile take longer, but makes compiling after small changes to a few
files much much faster.
* Niflib is now using a new XML update method. This means:
- There are no longer any defines, things like inheritance class name, NIF
attribute variables, and default constructor code are all visible without
looking at another file.
- All non-custom parts of the Object files are now totally identical and in
the same order, so it will be easier to compare them.
- NiObjects are now completely self-contained. To remove them from Niflib,
you have only to exclude their CPP file from the build. To add new ones,
you only have to include their new CPP file.
- Making a change to a NiObject implementation file only causes that one
file to be re-compiled, which is generally much quicker than before since
the large obj_define and obj_impl files do not have to be parsed or
compiled.
- There are no longer any "Internal" versions of the Read, Write, asString,
FixLinks, or GetRefs functions. Now there is just one function for each
of these with pre and post custom code areas (except for GetRefs which I
didn't think needed it.)
- Updates to the hierarchy in the XML should now be almost completely
automatic. All that should be necessary to make an update is to add any
new NiObject CPP files to the build.
- Changes to the generated parts of the NiObject files can now be made at
any time, and immediately applied to all NiObjects without editing each
existing one.
* Moved FixLink template file from obj_impl.cpp to its own file.
* Moving array template to nif_basic_types so that NIF_IO won't need to be
exposed.
* Removed erroneous bhkMeshShape object.
* Added support in the version parsing functions for versions such as "3.03"
which were being parsed as "3.3.0.0" before. These will now be parsed as
"3.0.3.0."
* All Bridge Commander demo NIF files other than those that contain voxel 3D
textures can now be read.
* All DAoC demo NIF files except those of version 2.3 and those that do not
appear to store NIF data can now be read.
* Updated user's guide.
* Added functions to NiImage and NiTextureProperty to allow texture name to be
manipulated in <= 3.1 files.
* Updated ComplexShape to take the above objects into account when deciding
whether to include UV coordinates.
* Fixed one more bug that allows 3.3.0.13 files to work again.
* Added 10.0.1.2 to the list of "supported" versions.
* Added version 3.1 to list of "supported" versions.
* Fixed several bugs that were preventing support for old 3.1 and below files
from working. Many of these can now be loaded.
* Updated Niflib to the latest XML which adds support for: bhkMeshShape,
NiMultiTextureProperty, NiRawImageData, NiRollController, NiSequence,
NiBinaryVoxelExtraData, NiBinaryVoxelData, NiPSysCollider, NiBone,
NiPSysSphericalCollider, BSWindModifier, NiTriShapeSkinController objects,
and possibly more. This also significantly improves the class hierarchy.
* Objects now have a Create methods and register themselves in the global
object map with pre-main initialization, making obj_factories.cpp obsolete.
* Re-exposed TYPE constants and marked them NIFLIB_API, making the TypeConst
function obsolete. You now must use NiObject::TYPE instead of
NiObject::TypeConst() again.
* Re-exposed IDENTITY constants and marked then NIFLIB_API. Now you must use
MatrixXX::IDENTITY instead of MatrixXX::Identity() again.
* Changed the default linkage to DLL. You now have to define
NIFLIB_STATIC_LINK if you want to use static linking instead of having to
define USE_NIFLIB_DLL if you want to use the DLL.
* Added a new Debug - DLL configuration.
* Static configurations now create either niflib_static.lib or
niflib_static_debug.lib, while DLL configurations create niflib_dll.lib and
niflib_dll_debug.lib along with niflib.dll and niflib_debug.dll.
* Added ClearHardareSkinInfo function to NiTriBasedGeom so that
SetSkinPartition functions could be made NIFLIB_HIDDEN.
* Removed access to unknown data in NiPSysEmitterCtlrData.
* Some function and enum name changes in NiAlphaProperty and
NiStencilProperty to be more consistent with OpenGL and the rest of Niflib.
* Removed access to unknown parameters in NiSourceTexture and merged file name
access functions.
* Removed redundant Get/SetHidden functions from NiAVObject, use
Get/SetVisibility instead.
* Renamed Get/SetCollision to Get/SetCollisionMode in NiAVObject.
* Made sure all classes fell into 3 namespaces: Niflib, triangle_stripper,
and NvTriStrip.
* Removed some functions from NiObject that did nothing.
* Moved structures contained within the ComplexShape class outside of it so
they're easier to reference.
* Moved ListAncestors and FindCommonAncestor helper functions from inside of
NiGeometry to public interface.
* Added IsAnimated function to NiObjectNET.
* Implemented experimental endian support which means that Niflib may be able
to work on PowrePC Macs and other big-endian CPUs, however support is not
complete. Theoretically it should be possible to read a big-endian file on
a little-endian system, but it is not possible to do the opposite, or to
create a little-endian file due to issues with the header needing to switch
endian types int he middle of the generated code and always read the bytes
that make up the NIF version in the same order.
* DLL files built with the MSVC project will now appear in the niflib/bin
folder instead of the common ../bin folder. This should make it easier to
find the files if only the niflib folder is checked out.
* Added warning comments to generated files advising the user not to edit them
manually.
* Changed NiNode AddChild function to keep NiTriBasedGeom-derived objects at
the top of the list. Fixes issue with Oblivion flattened skin file
hierarchies where the NiTriBasedGeom skin was appearing after the NiNode
bones that it used in the child list of their mutual parent.
* Project file now properly uses "Multithreaded DLL" runtime library for
"Release - DLL" configuration.
* Removed old SWIG-related code as SWIG will no longer be suppoted.
* Fixed GetIDString virtual function missmatch that was causing the name not
to show up when the function was called from a NiObjectRef.
* Removed precompiled header file stuff from project files that is no longer
used.
* Fixed Niflib DLL compile. All public functions should now be marked with
either NIFLIB_API or NIFLIB_HIDDEN. May have missed a few here or there
but they should be noticed eventually.
* All public functions are now documented with Doxygen comments.
* Changed all occurrences of uint and ushort to unsigned int and unsigned
short.
* Fixed many GCC compile problems. Niflib should compile in GCC now:
- Replaced array template with a simpler one that works with GCC.
- Replaced "unsigned" with "unsigned int" GCC doesn't like this.
- Changed C++ style unsigned int casts so GCC will be able to understand
them.
- Properly capitalized include file names in niflib.cpp.
* Changed as many functions as possible to take pointer arguments instead of
Ref template arguments.
* Prevented the link map from being copied unnecessarily, improving
performance and memory usage.
\ No newline at end of file
......@@ -7,6 +7,7 @@ All rights reserved. Please see niflib.h for license. */
#include "obj/NiObject.h"
#include "Ref.h"
#include <stdexcept>
namespace Niflib {
using namespace std;
......
......@@ -14,7 +14,7 @@ All rights reserved. Please see niflib.h for license. */
#ifndef NIFLIB_STATIC_LINK
// Building shared library
#if defined(_WIN32) || defined(__WIN32__) || defined(_MSC_VER) || defined(__CYGWIN__)
#if defined(_WIN32) || defined(__WIN32__) || defined(_MSC_VER)
// Windows
#ifdef BUILDING_NIFLIB_DLL
//The building process is underway, export symbols
......
This diff is collapsed.
......@@ -192,6 +192,7 @@
<Tool
Name="VCLinkerTool"
OutputFile="bin\niflib.dll"
Version="0.7"
ImportLibrary="lib/niflib_dll.lib"
/>
<Tool
......@@ -267,6 +268,7 @@
<Tool
Name="VCLinkerTool"
OutputFile="bin\niflib_debug.dll"
Version="0.7"
ImportLibrary="lib/niflib_dll_debug.lib"
/>
<Tool
......@@ -1529,6 +1531,10 @@
RelativePath=".\include\dll_export.h"
>
</File>
<File
RelativePath=".\include\FixLink.h"
>
</File>
<File
RelativePath=".\include\Key.h"
>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment