Andrei Kortunov
5afcc56860
Handle NiLookAtController (feature #4407 )
7 years ago
MiroslavR
99bcf47167
Implement NiSphericalCollider ( Closes #3644 )
8 years ago
scrawl
de84452e5a
NifFile: close the stream after reading ( Fixes #3070 )
9 years ago
scrawl
a29d1ace2b
Read NiSpotLight
9 years ago
scrawl
ba211ad9ad
Read NiPointLight ( Fixes #3011 )
9 years ago
scrawl
626281977e
Read NiLODNode (Bug #3008 )
9 years ago
scrawl
c621d0400c
Fix error handling for out-of-range NIF roots (found in Bosmora, TR)
10 years ago
scrawl
da24e298ee
Fix -Wreorder warnings
10 years ago
scrawl
46cbec9a4a
Add skinning auto-detection in nifosg loader
10 years ago
scrawl
8c10d4badb
NIF reader compiles without Ogre
10 years ago
Marc Zinnschlag
33d905dc03
Merge remote-tracking branch 'scrawl/master'
10 years ago
Arthur Moore
b8edd9bac3
Get a nif file's version string regardless of its length.
10 years ago
scrawl
6eebe9b44c
Read NiFogProperty, but don't use it yet (Feature #920 )
10 years ago
Arthur Moore
5abed1c32a
Print a NIF file's version information when an error occurs
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
cc9cii
7ff1136d81
For compiling in Windows with MSVC.
10 years ago
Arthur Moore
b7852b8215
Convert niffile.cpp to use std::map instead of a custom search function.
...
I haven't profiled this, but it should speed things up a decent bit.
11 years ago
Arthur Moore
8be6aefd95
Moved functions from niffile.cpp to where they belong.
...
Also cleaned up some #includes
Removed a few asserts. Vector already throws an out_of_range error.
11 years ago
scrawl
2b407a9995
Refactor NIF cache
...
- Remove broken cache locking mechanism
This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.
- Decouple cache from NIFFile (now a new nifcache component)
- Add API for future background loading
- Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
Lukasz Gromanowski
abeb1d4ab3
Valgrind: Added constructor for KeyListT class, and added initialziation of ver member field in NIFFile class.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Arthur Moore
576c06d791
Fix Bug #1371
...
Not properly reading in the NIF file's QuaternionKeyList.
11 years ago
scrawl
5931fdcbde
Implement NiBillboardNode. Flags not handled yet.
11 years ago
Xethik
9f533dbbe4
Fixed "most vexing parse" issue.
11 years ago
Chris Robinson
4cedf0fbab
Avoid colliding with AvoidNodes
...
These are placed under the RootCollisionNode hierarchy, but the shapes they
hold aren't collided with. Their exact function is unknown, but seems to be
related to lava? Maybe damage avoidance info for the AI.
12 years ago
Chris Robinson
1051fa51a7
Recognize NiFlipController
12 years ago
Chris Robinson
bf8bc989fc
Recognize and partly handle NiBSParticleNode
12 years ago
Chris Robinson
d26ffe9de0
Move a method to the Node class
12 years ago
Chris Robinson
ebcb4c66c3
Properly read and use the NIF root record list
12 years ago
Chris Robinson
41ce5464c9
Recognize NiBSAnimationNode as a record type
...
And don't warn about animated nodes without textkeys
12 years ago
Nathan Jeffords
d3c1f5e7b2
renamed low-level NIF related files and include guards to conform to naming convention
12 years ago