- May 25, 2007
-
-
Shon Ferguson authored
Moved Object Registration/Creation functionality into new ObjectRegistry class. Hopefully this fixes the issue with the object map not being initialized yet since it is a static member of the class and should theoretically be initialized before code in functions of that class can be executed. Seems to work for me, but I'll wait until Tazpn tests it to declare it fixed.
-
Shon Ferguson authored
-
- May 20, 2007
-
-
Shon Ferguson authored
- 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.
-
Shon Ferguson authored
-
- May 19, 2007
-
-
Shon Ferguson authored
Preparing for new Python generation method. Will break compilation for a while. obj_defines.h and obj_impl.cpp will no longer be necessary once this is complete.
-
Shon Ferguson authored
-
- May 18, 2007
-
-
Shon Ferguson authored
Updated Niflib to the latest XML. This significantly improves the hierarchy and adds support for BSWindModifier.
-
- May 16, 2007
-
-
Shon Ferguson authored
Updated to the latest XML, which adds support for NiBinaryVoxelExtraData, NiBinaryVoxelData, NiPSysCollider, NiBone, NiPSysSphericalCollider, and NiTriShapeSkinController. 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.
-
- May 07, 2007
-
-
Shon Ferguson authored
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.
-
Shon Ferguson authored
Added 10.0.1.2 to the list of "supported" versions.
-
Shon Ferguson authored
Fixed several bugs that were preventing support for old 3.1 and below files from working. Many of these can now be loaded. Added version 3.1 to list of "supported" versions.
-
- May 06, 2007
-
-
Shon Ferguson authored
Updated Niflib to the latest XML which adds support for bhkMeshShape, NiMultiTextureProperty, NiRawImageData, and NiSequence.
-
- May 05, 2007
-
-
Shon Ferguson authored
Objects now have a Create methods and register themselves in the global object map with pre-main initialization, making obj_factories.cpp obsolete.
-
Shon Ferguson authored
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.
-
Shon Ferguson authored
Re-exposed IDENTITY constants and marked then NIFLIB_API. Now you must use MatrixXX::IDENTITY instead of MatrixXX::Identity() again.
-
Shon Ferguson authored
-
Shon Ferguson authored
Added ClearHardareSkinInfo function to NiTriBasedGeom so that SetSkinPartition functions could be made NIFLIB_HIDDEN.
-
- May 04, 2007
-
-
Shon Ferguson authored
Removed access to unknown data in NiPSysEmitterCtlrData.
-
Shon Ferguson authored
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.
-
Shon Ferguson authored
-
- Apr 23, 2007
-
-
Shon Ferguson authored
More documentation improvements. Added documentation to NiDynamicEffect-derived objects, removed some obsolete examples, and replaced remaining references to "block" with "object" wherever possible.
-
Shon Ferguson authored
Removed redundant Get/SetHidden functions from NiAVObject, use Get/SetVisibility instead. Renamed Get/SetCollision to Get/SetCollisionMode in NiAVObject.
-
Shon Ferguson authored
-
- Apr 13, 2007
-
-
Shon Ferguson authored
-
- Apr 12, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Moved structures contained within the ComplexShape class outside of it so that they can be wrapped with SWIG. Finished documentation of ComplexShape.
-
- Apr 07, 2007
-
-
Shon Ferguson authored
Moved ListAncestors and FindCommonAncestor helper functions from inside of NiGeometry to public interface.
-
Shon Ferguson authored
-
- Apr 06, 2007
-
-
Amorilia authored
* NIF_BIG/LITTLE_ENDIAN -> ENDIAN_BIG/LITTLE
-
Amorilia authored
* gcc BIG_ENDIAN and LITTLE_ENDIAN name clash fix
-
Amorilia authored
* spelling fix in NiAVObject (SetCollsion -> SetCollision) - affects public interface, however I did not find SetCollsion in any of the plugins so nothing should be broken
-
Shon Ferguson authored
Finished up preliminary endian support. 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.
-
Shon Ferguson authored
Laying the groundwork for Niflib to be able to work on systems with different endian types. All Read/Write functions now take NifInfo structures which are based by const reference. These are also passed into the NifStream functions so they will have access to the requested endian type of the NIF as well. Also added endian detection and swapping functions.
-
- Apr 02, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
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.
-
- Mar 31, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Moved TypeConst function implementation out of header file. Hopefully should fix GCC visibility issue. Fixed GetIDString virtual function missmatch that was causing the name not to show up when the function was called from a NiObjectRef. Added Python-specific operator functions to Ref to prevent the wrapper from crashing on Null Refs.
-
- Mar 28, 2007
-
-
Shon Ferguson authored
Made Header and Footer functions NIFLIB_HIDDEN. Fixed comment on NIF version 3.1 A manual change by Amorilia to the generated Header.cpp and Footer.cpp files was overwritten. This needs to be fixed in the Python script.
-