- May 05, 2007
-
-
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
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.
-
Shon Ferguson authored
-
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 24, 2007
-
-
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.
-
- Apr 13, 2007
-
-
Shon Ferguson authored
-
- Apr 12, 2007
-
-
Shon Ferguson authored
-
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
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 03, 2007
- Apr 02, 2007
-
-
Shon Ferguson authored
-
- 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 30, 2007
-
-
Amorilia authored
* fixed detection of visibility=hidden support (gcc, linux) * compilation will give error message if visibility=hidden is not detected
-
- 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.
-
Amorilia authored
* bug fix in Header block (array<3,LineString> crashes gcc when destructed)
-
Shon Ferguson authored
To allow for DLL mode, the IDENTITY constants in the Matrix classes were made private and are now accessible through the Identity() function of each matrix class. This may affect the 3ds Max plug-in as well.
-
- Mar 27, 2007
-
-
Shon Ferguson authored
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.
-
Shon Ferguson authored
Realized that Niflib was not compiling in DLL mode, so started working on fixing that. All NiObject classes need to have NIFLIB_API and NIFLIB_HIDDEN put on each public function, rather than marking the whole class. Still a lot left to change, but niflib.cpp and ComplexShape.cpp both compile without errors in DLL mode now.
-
- Mar 23, 2007
-
-
Amorilia authored
header and NiNode for now) * created a common swig interface "common.i" to be used by all modules * smart pointers now use the __call__() method, again this reduces the wrapper size * removed __str__() from the niflib API as it does not belong there, instead renamed asString() to __str__() in the common.i interface * version constants now also belong to the Niflib namespace * SWIGFLAGS are now defined through scons environment, so we only need to set them once * extra settings "-fcompact" and "-fvirtual" to SWIGFLAGS to reduce wrapper size * enabled niflib as a shared library under non-win32 platforms (still need to find a solution for win32) under scons * removed "pyniflib.h" and instead added CreateNiNode wrapper to ninode.i * renamed "pyniflib.i" to "pyniflib.i_old" in case I forgot to port something to the new modularized system; to be removed in future
-
- Mar 21, 2007
-
-
Amorilia authored
number of objects are supported so far, to reduce the size of the wrapper. Details: * set property eolstyle:native on .cpp and .h files for better windows + linux support * added small cpp file for quick nif read and write test (for debug purposes) * fixed memory leak due to array of non-fixed sized objects: Header.copyright (caused segfaults under GCC) * disabled pragma warning on NvTriStripObjects.cpp * fixed undefined behaviour of map[...] = ... map.size() ... in niflib.cpp (caused segfaults under GCC) * cleaned up SConstruct file - if DEBUG is false, TUNE is assumed - added TEST option * workaround in pyniflib.h for ReadNifTree (need to find better solution!) * swig wrapper interface: NiNode, NiAVObject, and NiObjectNET are fully supported (nothing else, for now) * now using unittest for python test script(s)
-
- Mar 20, 2007
-
-
Amorilia authored
* Renamed python.h to pyniflib.h to avoid confusion with the python.h file from python installation. * Updated python test script. * Enabled many things again in the swig wrapper interface, to ease debugging. * Added "using namespace std;" in Ref.h (as in the rest of the library)
-
- Mar 16, 2007
-
-
Amorilia authored
-
- Mar 15, 2007
-
-
Amorilia authored
WIP: trying to make smart pointers work again with SWIG; for the moment I commented out most of the SWIG interface to reduce wrapper size and compilation time while testing
-
- Jan 13, 2007
-
-
Shon Ferguson authored
-
- Jan 08, 2007
-
-
Shon Ferguson authored
-