1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00
OpenMW/apps/openmw/mwworld
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
..
action.cpp
action.hpp
actionalchemy.cpp
actionalchemy.hpp
actionapply.cpp
actionapply.hpp
actiondoor.cpp
actiondoor.hpp
actioneat.cpp
actioneat.hpp
actionequip.cpp
actionequip.hpp
actionopen.cpp
actionopen.hpp
actionread.cpp
actionread.hpp
actionrepair.cpp
actionrepair.hpp
actionsoulgem.cpp
actionsoulgem.hpp
actiontake.cpp
actiontake.hpp
actiontalk.cpp
actiontalk.hpp
actionteleport.cpp
actionteleport.hpp
actiontrap.cpp
actiontrap.hpp
cellfunctors.hpp
cellref.cpp Reset RefNum when copying an object (Fixes #1723) 2014-07-29 15:55:58 +02:00
cellref.hpp Reset RefNum when copying an object (Fixes #1723) 2014-07-29 15:55:58 +02:00
cellreflist.hpp
cells.cpp
cells.hpp
cellstore.cpp
cellstore.hpp
class.cpp Adjust player position to ground when using a door marker, even if the player is levitating (Fixes #1737) 2014-07-31 04:28:02 +02:00
class.hpp Adjust player position to ground when using a door marker, even if the player is levitating (Fixes #1737) 2014-07-31 04:28:02 +02:00
containerstore.cpp Savegame: Set equipment slot for lights (Fixes #1761) 2014-08-06 20:13:58 +02:00
containerstore.hpp
contentloader.hpp
customdata.hpp
esmloader.cpp
esmloader.hpp
esmstore.cpp
esmstore.hpp
failedaction.cpp
failedaction.hpp
fallback.cpp
fallback.hpp
globals.cpp
globals.hpp
inventorystore.cpp Implement magic effect script instructions (Feature #1489) 2014-08-17 05:09:14 +02:00
inventorystore.hpp
livecellref.cpp
livecellref.hpp
localscripts.cpp
localscripts.hpp
manualref.hpp
nullaction.hpp
omwloader.cpp
omwloader.hpp
physicssystem.cpp Encapsulate magic effect magnitude (Feature #1489) 2014-08-17 03:58:04 +02:00
physicssystem.hpp Clear movement queue when changing to a new cell (Fixes #1802) 2014-08-13 16:25:27 +02:00
player.cpp Make sure player doesn't get any AI packages (Bug #1749) 2014-08-06 20:13:57 +02:00
player.hpp
projectilemanager.cpp Set render queue group for projectiles (Fixes #1829) 2014-08-18 15:32:52 +02:00
projectilemanager.hpp
ptr.cpp
ptr.hpp
recordcmp.hpp
refdata.cpp
refdata.hpp
scene.cpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
scene.hpp
store.cpp
store.hpp
timestamp.cpp
timestamp.hpp
weather.cpp Use ResourceHelpers to replace DDS hacks scattered throughout the code, fix prefix comparision 2014-08-12 12:18:38 +02:00
weather.hpp
worldimp.cpp Encapsulate magic effect magnitude (Feature #1489) 2014-08-17 03:58:04 +02:00
worldimp.hpp Remove no longer needed comments about coordinate system 2014-08-14 19:09:33 +02:00