1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +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 Search exterior cells in reverse (workaround for duplicate chargen_plank reference in Morrowind.esm and Bloodmoon.esm) 2014-06-28 17:44:52 +02:00
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 Attempt to restack item after repair or recharge (Fixes #1656) 2014-07-17 16:16:06 +02:00
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 Remove unused FLTV and NAM0 from CellRef 2014-07-24 02:20:16 +02:00
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 Handle Deleted moved references (Bug #1613) 2014-07-01 21:47:27 +02:00
store.hpp Traverse spells in record order from content files. bronrod_the_roarer is perfect now. Other NPCs have some differences. 2014-07-12 18:53:15 +02:00
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 Implement slower movement against storms (Closes #41) 2014-06-27 03:22:00 +02:00
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