mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
358b7ad3ec
Size of the files is in order of megabytes at max. Storing offset lookup table to read from file on demand is less efficient than reading from memory for such size. Read and store offsets first. Sort them to read values sequentially. Memoize last offset and value to avoid reading the same value twice. Use seek only when current possition does not match offset. Optimize seek for short distance by calling read instead. |
2 years ago | |
---|---|---|
.. | ||
actor.hpp | 2 years ago | |
cellgrid.hpp | 2 years ago | |
common.hpp | 2 years ago | |
dialogue.hpp | 2 years ago | |
effect.hpp | 2 years ago | |
formid.cpp | 2 years ago | |
formid.hpp | 2 years ago | |
grid.hpp | 2 years ago | |
grouptype.hpp | 2 years ago | |
inventory.hpp | 2 years ago | |
lighting.hpp | 2 years ago | |
loadachr.cpp | 2 years ago | |
loadachr.hpp | 2 years ago | |
loadacre.cpp | 2 years ago | |
loadacre.hpp | 2 years ago | |
loadacti.cpp | 2 years ago | |
loadacti.hpp | 2 years ago | |
loadalch.cpp | 2 years ago | |
loadalch.hpp | 2 years ago | |
loadaloc.cpp | 2 years ago | |
loadaloc.hpp | 2 years ago | |
loadammo.cpp | 2 years ago | |
loadammo.hpp | 2 years ago | |
loadanio.cpp | 2 years ago | |
loadanio.hpp | 2 years ago | |
loadappa.cpp | 2 years ago | |
loadappa.hpp | 2 years ago | |
loadarma.cpp | 2 years ago | |
loadarma.hpp | 2 years ago | |
loadarmo.cpp | 2 years ago | |
loadarmo.hpp | 2 years ago | |
loadaspc.cpp | 2 years ago | |
loadaspc.hpp | 2 years ago | |
loadbook.cpp | 2 years ago | |
loadbook.hpp | 2 years ago | |
loadbptd.cpp | 2 years ago | |
loadbptd.hpp | 2 years ago | |
loadcell.cpp | 2 years ago | |
loadcell.hpp | 2 years ago | |
loadclas.cpp | 2 years ago | |
loadclas.hpp | 2 years ago | |
loadclfm.cpp | 2 years ago | |
loadclfm.hpp | 2 years ago | |
loadclot.cpp | 2 years ago | |
loadclot.hpp | 2 years ago | |
loadcont.cpp | 2 years ago | |
loadcont.hpp | 2 years ago | |
loadcrea.cpp | 2 years ago | |
loadcrea.hpp | 2 years ago | |
loaddial.cpp | 2 years ago | |
loaddial.hpp | 2 years ago | |
loaddobj.cpp | 2 years ago | |
loaddobj.hpp | 2 years ago | |
loaddoor.cpp | 2 years ago | |
loaddoor.hpp | 2 years ago | |
loadeyes.cpp | 2 years ago | |
loadeyes.hpp | 2 years ago | |
loadflor.cpp | 2 years ago | |
loadflor.hpp | 2 years ago | |
loadflst.cpp | 2 years ago | |
loadflst.hpp | 2 years ago | |
loadfurn.cpp | 2 years ago | |
loadfurn.hpp | 2 years ago | |
loadglob.cpp | 2 years ago | |
loadglob.hpp | 2 years ago | |
loadgmst.cpp | 2 years ago | |
loadgmst.hpp | 2 years ago | |
loadgras.cpp | 2 years ago | |
loadgras.hpp | 2 years ago | |
loadgrup.hpp | 2 years ago | |
loadhair.cpp | 2 years ago | |
loadhair.hpp | 2 years ago | |
loadhdpt.cpp | 2 years ago | |
loadhdpt.hpp | 2 years ago | |
loadidle.cpp | 2 years ago | |
loadidle.hpp | 2 years ago | |
loadidlm.cpp | 2 years ago | |
loadidlm.hpp | 2 years ago | |
loadimod.cpp | 2 years ago | |
loadimod.hpp | 2 years ago | |
loadinfo.cpp | 2 years ago | |
loadinfo.hpp | 2 years ago | |
loadingr.cpp | 2 years ago | |
loadingr.hpp | 2 years ago | |
loadkeym.cpp | 2 years ago | |
loadkeym.hpp | 2 years ago | |
loadland.cpp | 2 years ago | |
loadland.hpp | 2 years ago | |
loadlgtm.cpp | 2 years ago | |
loadlgtm.hpp | 2 years ago | |
loadligh.cpp | 2 years ago | |
loadligh.hpp | 2 years ago | |
loadltex.cpp | 2 years ago | |
loadltex.hpp | 2 years ago | |
loadlvlc.cpp | 2 years ago | |
loadlvlc.hpp | 2 years ago | |
loadlvli.cpp | 2 years ago | |
loadlvli.hpp | 2 years ago | |
loadlvln.cpp | 2 years ago | |
loadlvln.hpp | 2 years ago | |
loadmato.cpp | 2 years ago | |
loadmato.hpp | 2 years ago | |
loadmisc.cpp | 2 years ago | |
loadmisc.hpp | 2 years ago | |
loadmset.cpp | 2 years ago | |
loadmset.hpp | 2 years ago | |
loadmstt.cpp | 2 years ago | |
loadmstt.hpp | 2 years ago | |
loadmusc.cpp | 2 years ago | |
loadmusc.hpp | 2 years ago | |
loadnavi.cpp | 2 years ago | |
loadnavi.hpp | 2 years ago | |
loadnavm.cpp | 2 years ago | |
loadnavm.hpp | 2 years ago | |
loadnote.cpp | 2 years ago | |
loadnote.hpp | 2 years ago | |
loadnpc.cpp | 2 years ago | |
loadnpc.hpp | 2 years ago | |
loadotft.cpp | 2 years ago | |
loadotft.hpp | 2 years ago | |
loadpack.cpp | 2 years ago | |
loadpack.hpp | 2 years ago | |
loadpgrd.cpp | 2 years ago | |
loadpgrd.hpp | 2 years ago | |
loadpgre.cpp | 2 years ago | |
loadpgre.hpp | 2 years ago | |
loadpwat.cpp | 2 years ago | |
loadpwat.hpp | 2 years ago | |
loadqust.cpp | 2 years ago | |
loadqust.hpp | 2 years ago | |
loadrace.cpp | 2 years ago | |
loadrace.hpp | 2 years ago | |
loadrefr.cpp | 2 years ago | |
loadrefr.hpp | 2 years ago | |
loadregn.cpp | 2 years ago | |
loadregn.hpp | 2 years ago | |
loadroad.cpp | 2 years ago | |
loadroad.hpp | 2 years ago | |
loadsbsp.cpp | 2 years ago | |
loadsbsp.hpp | 2 years ago | |
loadscol.cpp | 2 years ago | |
loadscol.hpp | 2 years ago | |
loadscpt.cpp | 2 years ago | |
loadscpt.hpp | 2 years ago | |
loadscrl.cpp | 2 years ago | |
loadscrl.hpp | 2 years ago | |
loadsgst.cpp | 2 years ago | |
loadsgst.hpp | 2 years ago | |
loadslgm.cpp | 2 years ago | |
loadslgm.hpp | 2 years ago | |
loadsndr.cpp | 2 years ago | |
loadsndr.hpp | 2 years ago | |
loadsoun.cpp | 2 years ago | |
loadsoun.hpp | 2 years ago | |
loadstat.cpp | 2 years ago | |
loadstat.hpp | 2 years ago | |
loadtact.cpp | 2 years ago | |
loadtact.hpp | 2 years ago | |
loadterm.cpp | 2 years ago | |
loadterm.hpp | 2 years ago | |
loadtes4.cpp | 2 years ago | |
loadtes4.hpp | 2 years ago | |
loadtree.cpp | 2 years ago | |
loadtree.hpp | 2 years ago | |
loadtxst.cpp | 2 years ago | |
loadtxst.hpp | 2 years ago | |
loadweap.cpp | 2 years ago | |
loadweap.hpp | 2 years ago | |
loadwrld.cpp | 2 years ago | |
loadwrld.hpp | 2 years ago | |
magiceffectid.hpp | 2 years ago | |
reader.cpp | 2 years ago | |
reader.hpp | 2 years ago | |
readerutils.hpp | 2 years ago | |
records.hpp | 2 years ago | |
reference.hpp | 2 years ago | |
script.hpp | 2 years ago | |
typetraits.hpp | 2 years ago | |
vertex.hpp | 2 years ago |