Skip to content
Snippets Groups Projects
Commit e4e54cff authored by Tazpn's avatar Tazpn
Browse files

niflib: Update to Fallout version of xml

parent b8d12f69
No related branches found
No related tags found
No related merge requests found
Showing
with 845 additions and 30 deletions
......@@ -27,7 +27,8 @@ DEBUGGING =
# Example: -march=k8 would generate enhancements for the k8 family (opterons and some athlons).or -march=pentium4 for a pentium4
# For more info read this: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
#
CFLAGS = -O2 -Wall -fPIC $(DEBUGGING) -fpermissive -Iinclude -D BUILDING_NIFLIB_DLL
#CFLAGS = -fPIC
CFLAGS = -O2 -Wall $(DEBUGGING) -fpermissive -Iinclude -D BUILDING_NIFLIB_DLL
CXXFLAGS = $(CFLAGS)
#IT should find the libs used, but if it doesn't specify here. Ex: -lm for libm.so.<whatever>
LIBS =
......@@ -48,11 +49,28 @@ OBJ_FILES = \
NvTriStrip/NvTriStripObjects.o \
NvTriStrip/VertexCache.o \
src/ComplexShape.o \
src/Inertia.o \
src/kfm.o \
src/MatTexCollection.o \
src/niflib.o \
src/nifqhull.o \
src/NIF_IO.o \
src/nif_math.o \
src/ObjectRegistry.o \
src/pch.o \
src/RefObject.o \
src/Type.o \
src/gen/AdditionalDataBlock.o \
src/gen/AdditionalDataInfo.o \
src/gen/ArkTexture.o \
src/gen/AVObject.o \
src/gen/BodyPartList.o \
src/gen/BoundingBox.o \
src/gen/BoundingVolume.o \
src/gen/BoxBV.o \
src/gen/BSSegmentedTriangle.o \
src/gen/BSTreadTransfInfo.o \
src/gen/BSTreadTransfSubInfo.o \
src/gen/ByteArray.o \
src/gen/ByteColor3.o \
src/gen/ByteColor4.o \
......@@ -60,12 +78,14 @@ OBJ_FILES = \
src/gen/CapsuleBV.o \
src/gen/ChannelData.o \
src/gen/ControllerLink.o \
src/gen/DecalVectorArray.o \
src/gen/enums.o \
src/gen/ExportInfo.o \
src/gen/Footer.o \
src/gen/FurniturePosition.o \
src/gen/HalfSpaceBV.o \
src/gen/Header.o \
src/gen/HingeDescriptor.o \
src/gen/hkTriangle.o \
src/gen/LimitedHingeDescriptor.o \
src/gen/LODRange.o \
......@@ -97,35 +117,32 @@ OBJ_FILES = \
src/gen/TexDesc.o \
src/gen/TexSource.o \
src/gen/UnionBV.o \
src/Inertia.o \
src/kfm.o \
src/MatTexCollection.o \
src/niflib.o \
src/nifqhull.o \
src/NIF_IO.o \
src/nif_math.o \
src/ObjectRegistry.o \
src/obj/ATextureRenderData.o \
src/obj/AvoidNode.o \
src/obj/bhkAabbPhantom.o \
src/obj/bhkBlendCollisionObject.o \
src/obj/bhkBlendController.o \
src/obj/bhkBoxShape.o \
src/obj/bhkBreakableConstraint.o \
src/obj/bhkBvTreeShape.o \
src/obj/bhkCapsuleShape.o \
src/obj/bhkCollisionObject.o \
src/obj/bhkConstraint.o \
src/obj/bhkConvexListShape.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/bhkLiquidAction.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/bhkOrientHingedBodyAction.o \
src/obj/bhkPackedNiTriStripsShape.o \
src/obj/bhkPCollisionObject.o \
src/obj/bhkPhantom.o \
......@@ -145,23 +162,59 @@ OBJ_FILES = \
src/obj/bhkStiffSpringConstraint.o \
src/obj/bhkTransformShape.o \
src/obj/bhkWorldObject.o \
src/obj/BSAnimNotes.o \
src/obj/BSBlastNode.o \
src/obj/BSBound.o \
src/obj/BSDamageStage.o \
src/obj/BSDebrisNode.o \
src/obj/BSDecalPlacementVectorExtraData.o \
src/obj/BSDismemberSkinInstance.o \
src/obj/BSDistantTreeShaderProperty.o \
src/obj/BSFadeNode.o \
src/obj/BSFrustumFOVController.o \
src/obj/BSFurnitureMarker.o \
src/obj/BSKeyframeController.o \
src/obj/BSMasterParticleSystem.o \
src/obj/BSMaterialEmittanceMultController.o \
src/obj/BSMultiBound.o \
src/obj/BSMultiBoundAABB.o \
src/obj/BSMultiBoundNode.o \
src/obj/BSMultiBoundSphere.o \
src/obj/BSOrderedNode.o \
src/obj/BSParentVelocityModifier.o \
src/obj/BSPSysArrayEmitter.o \
src/obj/BSPSysMultiTargetEmitterCtlr.o \
src/obj/BSPSysSimpleColorModifier.o \
src/obj/BSPSysStripUpdateModifier.o \
src/obj/BSRefractionFirePeriodController.o \
src/obj/BSRefractionStrengthController.o \
src/obj/BSSegmentedTriShape.o \
src/obj/BSShaderLightingProperty.o \
src/obj/BSShaderNoLightingProperty.o \
src/obj/BSShaderPPLightingProperty.o \
src/obj/BSShaderProperty.o \
src/obj/BSShaderTextureSet.o \
src/obj/BSStripParticleSystem.o \
src/obj/BSStripPSysData.o \
src/obj/BSTreadTransfInterpolator.o \
src/obj/BSValueNode.o \
src/obj/BSWArray.o \
src/obj/BSWindModifier.o \
src/obj/BSXFlags.o \
src/obj/DistantLODShaderProperty.o \
src/obj/FxButton.o \
src/obj/FxRadioButton.o \
src/obj/FxWidget.o \
src/obj/HairShaderProperty.o \
src/obj/hkPackedNiTriStripsData.o \
src/obj/Lighting30ShaderProperty.o \
src/obj/Ni3dsAlphaAnimator.o \
src/obj/Ni3dsAnimationNode.o \
src/obj/Ni3dsColorAnimator.o \
src/obj/Ni3dsMorphShape.o \
src/obj/Ni3dsParticleSystem.o \
src/obj/Ni3dsPathController.o \
src/obj/NiAdditionalGeometryData.o \
src/obj/NiAlphaController.o \
src/obj/NiAlphaProperty.o \
src/obj/NiAmbientLight.o \
......@@ -246,6 +299,7 @@ OBJ_FILES = \
src/obj/NiLight.o \
src/obj/NiLightColorController.o \
src/obj/NiLightDimmerController.o \
src/obj/NiLightIntensityController.o \
src/obj/NiLines.o \
src/obj/NiLinesData.o \
src/obj/NiLODData.o \
......@@ -295,9 +349,11 @@ OBJ_FILES = \
src/obj/NiPoint3InterpController.o \
src/obj/NiPoint3Interpolator.o \
src/obj/NiPointLight.o \
src/obj/NiPortal.o \
src/obj/NiPosData.o \
src/obj/NiProperty.o \
src/obj/NiPSysAgeDeathModifier.o \
src/obj/NiPSysAirFieldModifier.o \
src/obj/NiPSysBombModifier.o \
src/obj/NiPSysBoundUpdateModifier.o \
src/obj/NiPSysBoxEmitter.o \
......@@ -306,6 +362,7 @@ OBJ_FILES = \
src/obj/NiPSysColorModifier.o \
src/obj/NiPSysCylinderEmitter.o \
src/obj/NiPSysData.o \
src/obj/NiPSysDragFieldModifier.o \
src/obj/NiPSysDragModifier.o \
src/obj/NiPSysEmitter.o \
src/obj/NiPSysEmitterCtlr.o \
......@@ -315,6 +372,9 @@ OBJ_FILES = \
src/obj/NiPSysEmitterInitialRadiusCtlr.o \
src/obj/NiPSysEmitterLifeSpanCtlr.o \
src/obj/NiPSysEmitterSpeedCtlr.o \
src/obj/NiPSysFieldMagnitudeCtlr.o \
src/obj/NiPSysFieldModifier.o \
src/obj/NiPSysGravityFieldModifier.o \
src/obj/NiPSysGravityModifier.o \
src/obj/NiPSysGravityStrengthCtlr.o \
src/obj/NiPSysGrowFadeModifier.o \
......@@ -332,11 +392,15 @@ OBJ_FILES = \
src/obj/NiPSysSpawnModifier.o \
src/obj/NiPSysSphereEmitter.o \
src/obj/NiPSysSphericalCollider.o \
src/obj/NiPSysTurbulenceFieldModifier.o \
src/obj/NiPSysUpdateCtlr.o \
src/obj/NiPSysVolumeEmitter.o \
src/obj/NiPSysVortexFieldModifier.o \
src/obj/NiRangeLODData.o \
src/obj/NiRawImageData.o \
src/obj/NiRollController.o \
src/obj/NiRoom.o \
src/obj/NiRoomGroup.o \
src/obj/NiRotatingParticles.o \
src/obj/NiRotatingParticlesData.o \
src/obj/NiScreenElements.o \
......@@ -389,19 +453,11 @@ OBJ_FILES = \
src/obj/NiWireframeProperty.o \
src/obj/NiZBufferProperty.o \
src/obj/RootCollisionNode.o \
src/obj/NiLightIntensityController.o \
src/obj/NiPortal.o \
src/obj/NiPSysAirFieldModifier.o \
src/obj/NiPSysDragFieldModifier.o \
src/obj/NiPSysFieldMagnitudeCtlr.o \
src/obj/NiPSysFieldModifier.o \
src/obj/NiPSysGravityFieldModifier.o \
src/obj/NiPSysTurbulenceFieldModifier.o \
src/obj/NiPSysVortexFieldModifier.o \
src/obj/NiRoom.o \
src/obj/NiRoomGroup.o \
src/RefObject.o \
src/Type.o \
src/obj/SkyShaderProperty.o \
src/obj/TallGrassShaderProperty.o \
src/obj/TileShaderProperty.o \
src/obj/VolumetricFogShaderProperty.o \
src/obj/WaterShaderProperty.o \
TriStripper/connectivity_graph.o \
TriStripper/policy.o \
TriStripper/tri_stripper.o \
......
......@@ -26,7 +26,7 @@ struct AVObject {
/*! Copy Operator */
NIFLIB_API AVObject & operator=( const AVObject & src );
/*! Object name. */
IndexString name;
string name;
/*! Object reference. */
NiAVObject * avObject;
};
......
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _ADDITIONALDATABLOCK_H_
#define _ADDITIONALDATABLOCK_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! */
struct AdditionalDataBlock {
/*! Default Constructor */
NIFLIB_API AdditionalDataBlock();
/*! Default Destructor */
NIFLIB_API ~AdditionalDataBlock();
/*! Copy Constructor */
NIFLIB_API AdditionalDataBlock( const AdditionalDataBlock & src );
/*! Copy Operator */
NIFLIB_API AdditionalDataBlock & operator=( const AdditionalDataBlock & src );
/*! Has data */
bool hasData;
/*! Size of Block */
mutable int blockSize;
/*! Unknown */
mutable int numBlocks;
/*! Unknown */
vector<int > blockOffsets;
/*! Unknown */
mutable int numData;
/*! Unknown */
vector<int > dataSizes;
/*! Unknown */
vector< vector<byte > > data;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _ADDITIONALDATAINFO_H_
#define _ADDITIONALDATAINFO_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! */
struct AdditionalDataInfo {
/*! Default Constructor */
NIFLIB_API AdditionalDataInfo();
/*! Default Destructor */
NIFLIB_API ~AdditionalDataInfo();
/*! Copy Constructor */
NIFLIB_API AdditionalDataInfo( const AdditionalDataInfo & src );
/*! Copy Operator */
NIFLIB_API AdditionalDataInfo & operator=( const AdditionalDataInfo & src );
/*! Type of data */
int dataType;
/*! Size of Block */
int blockSize;
/*! Unknown */
int numBlocks;
/*! Unknown */
int blockSize2;
/*! Unknown */
int blockIndex;
/*! Unknown */
int unknownInt1;
/*! Unknown */
byte unknownByte1;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _BSSEGMENTEDTRIANGLE_H_
#define _BSSEGMENTEDTRIANGLE_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! Bethesda-specific node. */
struct BSSegmentedTriangle {
/*! Default Constructor */
NIFLIB_API BSSegmentedTriangle();
/*! Default Destructor */
NIFLIB_API ~BSSegmentedTriangle();
/*! Copy Constructor */
NIFLIB_API BSSegmentedTriangle( const BSSegmentedTriangle & src );
/*! Copy Operator */
NIFLIB_API BSSegmentedTriangle & operator=( const BSSegmentedTriangle & src );
/*! Unknown */
int unknownInt1;
/*! Unknown */
int unknownInt2;
/*! Unknown */
byte unknownByte1;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _BSTREADTRANSFINFO_H_
#define _BSTREADTRANSFINFO_H_
#include "../NIF_IO.h"
// Include structures
#include "BSTreadTransfSubInfo.h"
namespace Niflib {
/*! Bethesda-specific node. */
struct BSTreadTransfInfo {
/*! Default Constructor */
NIFLIB_API BSTreadTransfInfo();
/*! Default Destructor */
NIFLIB_API ~BSTreadTransfInfo();
/*! Copy Constructor */
NIFLIB_API BSTreadTransfInfo( const BSTreadTransfInfo & src );
/*! Copy Operator */
NIFLIB_API BSTreadTransfInfo & operator=( const BSTreadTransfInfo & src );
/*! Unknown Flag */
float unknownFloat1;
/*! Data */
array<2,BSTreadTransfSubInfo > data;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _BSTREADTRANSFSUBINFO_H_
#define _BSTREADTRANSFSUBINFO_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! Bethesda-specific node. */
struct BSTreadTransfSubInfo {
/*! Default Constructor */
NIFLIB_API BSTreadTransfSubInfo();
/*! Default Destructor */
NIFLIB_API ~BSTreadTransfSubInfo();
/*! Copy Constructor */
NIFLIB_API BSTreadTransfSubInfo( const BSTreadTransfSubInfo & src );
/*! Copy Operator */
NIFLIB_API BSTreadTransfSubInfo & operator=( const BSTreadTransfSubInfo & src );
/*! Unknown */
int unknownInt1;
/*! Unknown */
int unknownInt2;
/*! Unknown */
int unknownInt3;
/*! Unknown */
int unknownInt4;
/*! Unknown */
int unknownInt5;
/*! Unknown */
int unknownInt6;
/*! Unknown */
int unknownInt7;
/*! Unknown */
int unknownInt8;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _BODYPARTLIST_H_
#define _BODYPARTLIST_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! Body part list for DismemberSkinInstance */
struct BodyPartList {
/*! Default Constructor */
NIFLIB_API BodyPartList();
/*! Default Destructor */
NIFLIB_API ~BodyPartList();
/*! Copy Constructor */
NIFLIB_API BodyPartList( const BodyPartList & src );
/*! Copy Operator */
NIFLIB_API BodyPartList & operator=( const BodyPartList & src );
/*! Unknown */
short unknownShort;
/*! Unknown */
short bodyPart;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _DECALVECTORARRAY_H_
#define _DECALVECTORARRAY_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! Array of Vectors for Decal placement in BSDecalPlacementVectorExtraData. */
struct DecalVectorArray {
/*! Default Constructor */
NIFLIB_API DecalVectorArray();
/*! Default Destructor */
NIFLIB_API ~DecalVectorArray();
/*! Copy Constructor */
NIFLIB_API DecalVectorArray( const DecalVectorArray & src );
/*! Copy Operator */
NIFLIB_API DecalVectorArray & operator=( const DecalVectorArray & src );
/*! Number of sets */
mutable short numVectors;
/*! Vector XYZ coords */
vector<Vector3 > points;
/*! Vector Normals */
vector<Vector3 > normals;
};
}
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---//
//To change this file, alter the niftools/docsys/gen_niflib.py Python script.
#ifndef _HINGEDESCRIPTOR_H_
#define _HINGEDESCRIPTOR_H_
#include "../NIF_IO.h"
namespace Niflib {
/*! */
struct HingeDescriptor {
/*! Default Constructor */
NIFLIB_API HingeDescriptor();
/*! Default Destructor */
NIFLIB_API ~HingeDescriptor();
/*! Copy Constructor */
NIFLIB_API HingeDescriptor( const HingeDescriptor & src );
/*! Copy Operator */
NIFLIB_API HingeDescriptor & operator=( const HingeDescriptor & src );
/*! Pivot point around which the object will rotate. */
Vector4 pivotA;
/*! Vector in the rotation plane which defines the zero angle. */
Vector4 perp2AxleInA1;
/*!
* Vector in the rotation plane, orthogonal on the previous one, which defines the
* positive direction of rotation.
*/
Vector4 perp2AxleInA2;
/*! Pivot A in second entity coordinate system. */
Vector4 pivotB;
/*! Axle A (vector orthogonal on Perp2 Axles) in second entity coordinate system. */
Vector4 axleB;
/*! Unknown */
float unknownFloat1;
/*! Unknown */
float unknownInt2;
/*! Unknown */
float unknownInt3;
/*! Unknown */
float unknownInt4;
/*! Unknown */
float unknownInt5;
/*! Unknown */
float unknownInt6;
/*! Unknown */
float unknownInt7;
/*! Unknown */
float unknownInt8;
/*! Unknown */
float unknownInt9;
/*! Unknown */
float unknownInt10;
/*! Unknown */
byte unknownByte1;
/*! Unknown */
byte unknownByte2;
/*! Unknown */
byte unknownByte3;
};
}
#endif
......@@ -47,6 +47,12 @@ struct LimitedHingeDescriptor {
float maxAngle;
/*! Maximum friction, typically either 0 or 10. */
float maxFriction;
/*! Unknown */
float unknownFloat1;
/*! Unknown */
float unknownFloat2;
/*! Unknown */
float unknownFloat3;
};
}
......
......@@ -60,6 +60,20 @@ struct RagdollDescriptor {
float twistMaxAngle;
/*! Maximum friction, typically 0 or 10. */
float maxFriction;
/*! Unknown */
float unknownFloat1;
/*! Unknown */
float unknownFloat2;
/*! Unknown */
float unknownFloat3;
/*! Unknown */
float unknownFloat4;
/*! Unknown */
float unknownFloat5;
/*! Unknown */
float unknownFloat6;
/*! Unknown */
float unknownFloat7;
};
}
......
......@@ -29,8 +29,8 @@ struct ShaderTexDesc {
bool isUsed;
/*! The texture data. */
TexDesc textureData;
/*! Unknown. */
unsigned int unknownInt;
/*! Map Index */
unsigned int mapIndex;
};
}
......
......@@ -262,11 +262,9 @@ ostream & operator<<( ostream & out, OblivionLayer const & val );
/*!
* A list of possible solver deactivation settings. This value defines how the
* solver deactivates objects. The solver works on a per object
* basis.
* Note: Solver deactivation does not save CPU, but reduces
* creeping of
* movable objects in a pile quite dramatically.
* solver deactivates objects. The solver works on a per object basis.
* Note: Solver deactivation does not save CPU, but reduces creeping of
* movable objects in a pile quite dramatically.
*/
enum SolverDeactivation {
SOLVER_DEACTIVATION_INVALID = 0, /*!< Invalid */
......
......@@ -26,6 +26,7 @@ const unsigned VER_10_2_0_0 = 0x0A020000; /*!< NIF Version 10.2.0.0 */
const unsigned VER_20_0_0_4 = 0x14000004; /*!< NIF Version 20.0.0.4 */
const unsigned VER_20_0_0_5 = 0x14000005; /*!< NIF Version 20.0.0.4 */
const unsigned VER_20_1_0_3 = 0x14010003; /*!< NIF Version 20.1.0.3 */
const unsigned VER_20_2_0_7 = 0x14010007; /*!< NIF Version 20.2.0.7 */
const unsigned VER_20_3_0_3 = 0x14030003; /*!< NIF Version 20.3.0.3 */
const unsigned VER_20_3_0_6 = 0x14030006; /*!< NIF Version 20.3.0.6 */
const unsigned VER_UNSUPPORTED = 0xFFFFFFFF; /*!< Unsupported NIF Version */
......
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. //
//-----------------------------------NOTICE----------------------------------//
#ifndef _BSANIMNOTES_H_
#define _BSANIMNOTES_H_
//--BEGIN FILE HEAD CUSTOM CODE--//
//--END CUSTOM CODE--//
#include "NiObject.h"
namespace Niflib {
class BSAnimNotes;
typedef Ref<BSAnimNotes> BSAnimNotesRef;
/*! Bethesda-specific node. */
class BSAnimNotes : public NiObject {
public:
/*! Constructor */
NIFLIB_API BSAnimNotes();
/*! Destructor */
NIFLIB_API virtual ~BSAnimNotes();
/*!
* A constant value which uniquly identifies objects of this type.
*/
NIFLIB_API static const Type TYPE;
/*!
* A factory function used during file reading to create an instance of this type of object.
* \return A pointer to a newly allocated instance of this type of object.
*/
NIFLIB_API static NiObject * Create();
/*!
* Summarizes the information contained in this object in English.
* \param[in] verbose Determines whether or not detailed information about large areas of data will be printed out.
* \return A string containing a summary of the information within the object in English. This is the function that Niflyze calls to generate its analysis, so the output is the same.
*/
NIFLIB_API virtual string asString( bool verbose = false ) const;
/*!
* Used to determine the type of a particular instance of this object.
* \return The type constant for the actual type of the object.
*/
NIFLIB_API virtual const Type & GetType() const;
//--BEGIN MISC CUSTOM CODE--//
//--END CUSTOM CODE--//
protected:
/*! Unknown */
short unknownShort1;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Read( istream& in, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Write( ostream& out, const map<NiObjectRef,unsigned int> & link_map, const NifInfo & info ) const;
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void FixLinks( const map<unsigned int,NiObjectRef> & objects, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual list<NiObjectRef> GetRefs() const;
};
//--BEGIN FILE FOOT CUSTOM CODE--//
//--END CUSTOM CODE--//
} //End Niflib namespace
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. //
//-----------------------------------NOTICE----------------------------------//
#ifndef _BSBLASTNODE_H_
#define _BSBLASTNODE_H_
//--BEGIN FILE HEAD CUSTOM CODE--//
//--END CUSTOM CODE--//
#include "NiNode.h"
namespace Niflib {
class BSBlastNode;
typedef Ref<BSBlastNode> BSBlastNodeRef;
/*! Bethesda-Specific node. */
class BSBlastNode : public NiNode {
public:
/*! Constructor */
NIFLIB_API BSBlastNode();
/*! Destructor */
NIFLIB_API virtual ~BSBlastNode();
/*!
* A constant value which uniquly identifies objects of this type.
*/
NIFLIB_API static const Type TYPE;
/*!
* A factory function used during file reading to create an instance of this type of object.
* \return A pointer to a newly allocated instance of this type of object.
*/
NIFLIB_API static NiObject * Create();
/*!
* Summarizes the information contained in this object in English.
* \param[in] verbose Determines whether or not detailed information about large areas of data will be printed out.
* \return A string containing a summary of the information within the object in English. This is the function that Niflyze calls to generate its analysis, so the output is the same.
*/
NIFLIB_API virtual string asString( bool verbose = false ) const;
/*!
* Used to determine the type of a particular instance of this object.
* \return The type constant for the actual type of the object.
*/
NIFLIB_API virtual const Type & GetType() const;
//--BEGIN MISC CUSTOM CODE--//
//--END CUSTOM CODE--//
protected:
/*! Unknown */
byte unknownByte1;
/*! Unknown */
short unknownShort1;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Read( istream& in, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Write( ostream& out, const map<NiObjectRef,unsigned int> & link_map, const NifInfo & info ) const;
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void FixLinks( const map<unsigned int,NiObjectRef> & objects, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual list<NiObjectRef> GetRefs() const;
};
//--BEGIN FILE FOOT CUSTOM CODE--//
//--END CUSTOM CODE--//
} //End Niflib namespace
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. //
//-----------------------------------NOTICE----------------------------------//
#ifndef _BSDAMAGESTAGE_H_
#define _BSDAMAGESTAGE_H_
//--BEGIN FILE HEAD CUSTOM CODE--//
//--END CUSTOM CODE--//
#include "NiNode.h"
namespace Niflib {
class BSDamageStage;
typedef Ref<BSDamageStage> BSDamageStageRef;
/*! Bethesda-Specific node. */
class BSDamageStage : public NiNode {
public:
/*! Constructor */
NIFLIB_API BSDamageStage();
/*! Destructor */
NIFLIB_API virtual ~BSDamageStage();
/*!
* A constant value which uniquly identifies objects of this type.
*/
NIFLIB_API static const Type TYPE;
/*!
* A factory function used during file reading to create an instance of this type of object.
* \return A pointer to a newly allocated instance of this type of object.
*/
NIFLIB_API static NiObject * Create();
/*!
* Summarizes the information contained in this object in English.
* \param[in] verbose Determines whether or not detailed information about large areas of data will be printed out.
* \return A string containing a summary of the information within the object in English. This is the function that Niflyze calls to generate its analysis, so the output is the same.
*/
NIFLIB_API virtual string asString( bool verbose = false ) const;
/*!
* Used to determine the type of a particular instance of this object.
* \return The type constant for the actual type of the object.
*/
NIFLIB_API virtual const Type & GetType() const;
//--BEGIN MISC CUSTOM CODE--//
//--END CUSTOM CODE--//
protected:
/*! Unknown */
byte unknownByte1;
/*! Unknown */
short unknownShort1;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Read( istream& in, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Write( ostream& out, const map<NiObjectRef,unsigned int> & link_map, const NifInfo & info ) const;
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void FixLinks( const map<unsigned int,NiObjectRef> & objects, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual list<NiObjectRef> GetRefs() const;
};
//--BEGIN FILE FOOT CUSTOM CODE--//
//--END CUSTOM CODE--//
} //End Niflib namespace
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. //
//-----------------------------------NOTICE----------------------------------//
#ifndef _BSDEBRISNODE_H_
#define _BSDEBRISNODE_H_
//--BEGIN FILE HEAD CUSTOM CODE--//
//--END CUSTOM CODE--//
#include "NiNode.h"
namespace Niflib {
class BSDebrisNode;
typedef Ref<BSDebrisNode> BSDebrisNodeRef;
/*! Bethesda-Specific node. */
class BSDebrisNode : public NiNode {
public:
/*! Constructor */
NIFLIB_API BSDebrisNode();
/*! Destructor */
NIFLIB_API virtual ~BSDebrisNode();
/*!
* A constant value which uniquly identifies objects of this type.
*/
NIFLIB_API static const Type TYPE;
/*!
* A factory function used during file reading to create an instance of this type of object.
* \return A pointer to a newly allocated instance of this type of object.
*/
NIFLIB_API static NiObject * Create();
/*!
* Summarizes the information contained in this object in English.
* \param[in] verbose Determines whether or not detailed information about large areas of data will be printed out.
* \return A string containing a summary of the information within the object in English. This is the function that Niflyze calls to generate its analysis, so the output is the same.
*/
NIFLIB_API virtual string asString( bool verbose = false ) const;
/*!
* Used to determine the type of a particular instance of this object.
* \return The type constant for the actual type of the object.
*/
NIFLIB_API virtual const Type & GetType() const;
//--BEGIN MISC CUSTOM CODE--//
//--END CUSTOM CODE--//
protected:
/*! Unknown */
byte unknownByte1;
/*! Unknown */
short unknownShort1;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Read( istream& in, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Write( ostream& out, const map<NiObjectRef,unsigned int> & link_map, const NifInfo & info ) const;
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void FixLinks( const map<unsigned int,NiObjectRef> & objects, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual list<NiObjectRef> GetRefs() const;
};
//--BEGIN FILE FOOT CUSTOM CODE--//
//--END CUSTOM CODE--//
} //End Niflib namespace
#endif
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. //
//-----------------------------------NOTICE----------------------------------//
#ifndef _BSDECALPLACEMENTVECTOREXTRADATA_H_
#define _BSDECALPLACEMENTVECTOREXTRADATA_H_
//--BEGIN FILE HEAD CUSTOM CODE--//
//--END CUSTOM CODE--//
#include "NiExtraData.h"
// Include structures
#include "../gen/DecalVectorArray.h"
namespace Niflib {
class BSDecalPlacementVectorExtraData;
typedef Ref<BSDecalPlacementVectorExtraData> BSDecalPlacementVectorExtraDataRef;
/*! Bethesda-specific node. (for dynamic decal projection?) */
class BSDecalPlacementVectorExtraData : public NiExtraData {
public:
/*! Constructor */
NIFLIB_API BSDecalPlacementVectorExtraData();
/*! Destructor */
NIFLIB_API virtual ~BSDecalPlacementVectorExtraData();
/*!
* A constant value which uniquly identifies objects of this type.
*/
NIFLIB_API static const Type TYPE;
/*!
* A factory function used during file reading to create an instance of this type of object.
* \return A pointer to a newly allocated instance of this type of object.
*/
NIFLIB_API static NiObject * Create();
/*!
* Summarizes the information contained in this object in English.
* \param[in] verbose Determines whether or not detailed information about large areas of data will be printed out.
* \return A string containing a summary of the information within the object in English. This is the function that Niflyze calls to generate its analysis, so the output is the same.
*/
NIFLIB_API virtual string asString( bool verbose = false ) const;
/*!
* Used to determine the type of a particular instance of this object.
* \return The type constant for the actual type of the object.
*/
NIFLIB_API virtual const Type & GetType() const;
//--BEGIN MISC CUSTOM CODE--//
//--END CUSTOM CODE--//
protected:
/*! Unknown */
float unknownFloat1;
/*! Number of groups */
mutable short numVectorBlocks;
/*! Number of Blocks */
vector<DecalVectorArray > vectorBlocks;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Read( istream& in, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void Write( ostream& out, const map<NiObjectRef,unsigned int> & link_map, const NifInfo & info ) const;
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual void FixLinks( const map<unsigned int,NiObjectRef> & objects, list<unsigned int> & link_stack, const NifInfo & info );
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN virtual list<NiObjectRef> GetRefs() const;
};
//--BEGIN FILE FOOT CUSTOM CODE--//
//--END CUSTOM CODE--//
} //End Niflib namespace
#endif
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