1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 12:53:52 +00:00
openmw/components/nif
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.
2014-08-24 02:37:50 +02:00
..
tests directory structure reorganisation (still missing the mangle stuff) 2010-06-25 22:28:59 +02:00
.gitignore directory structure reorganisation (still missing the mangle stuff) 2010-06-25 22:28:59 +02:00
controlled.hpp Read NiGravity fields 2013-04-07 18:15:23 -07:00
controller.hpp Implement auto-adjusting of particle emit rate 2014-06-24 03:07:10 +02:00
data.hpp Fixed a capitalization error. 2014-06-06 07:00:04 -04:00
effect.hpp renamed low-level NIF related files and include guards to conform to naming convention 2013-03-02 10:46:12 -08:00
extra.hpp renamed low-level NIF related files and include guards to conform to naming convention 2013-03-02 10:46:12 -08:00
niffile.cpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
niffile.hpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
nifstream.hpp Read some missing particle data from NIFs 2013-04-04 05:10:50 -07:00
niftypes.hpp renamed low-level NIF related files and include guards to conform to naming convention 2013-03-02 10:46:12 -08:00
node.hpp Skip inactive controllers. Fixes those bloody bone boots again. 2014-01-31 05:59:58 +01:00
property.hpp Use actual classes for properties 2013-04-10 20:22:13 -07:00
record.hpp Implement NiBillboardNode. Flags not handled yet. 2013-12-26 20:53:52 +01:00
recordptr.hpp Improve constness of the Nif RecordPtr structs 2013-07-24 23:58:35 -07:00