mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
ef906cbfa8
Currently, we use a peculiar mapping of ESM classes by their std::type_info::name. This mapping is an undefined behaviour because std::type_info::name is strictly implementation defined. It could return a non-unique value on some platforms. With this PR we use the unsigned int sRecordId of the ESM class as a more efficient lookup type that does not build on undefined behaviour. We can expect marginally faster save-game loading with these changes as well. |
||
---|---|---|
.. | ||
.gitignore | ||
actoranimation.cpp | ||
actoranimation.hpp | ||
actorspaths.cpp | ||
actorspaths.hpp | ||
animation.cpp | ||
animation.hpp | ||
bulletdebugdraw.cpp | ||
bulletdebugdraw.hpp | ||
camera.cpp | ||
camera.hpp | ||
cell.hpp | ||
characterpreview.cpp | ||
characterpreview.hpp | ||
creatureanimation.cpp | ||
creatureanimation.hpp | ||
effectmanager.cpp | ||
effectmanager.hpp | ||
fogmanager.cpp | ||
fogmanager.hpp | ||
globalmap.cpp | ||
globalmap.hpp | ||
groundcover.cpp | ||
groundcover.hpp | ||
landmanager.cpp | ||
landmanager.hpp | ||
localmap.cpp | ||
localmap.hpp | ||
navmesh.cpp | ||
navmesh.hpp | ||
npcanimation.cpp | ||
npcanimation.hpp | ||
objectpaging.cpp | ||
objectpaging.hpp | ||
objects.cpp | ||
objects.hpp | ||
pathgrid.cpp | ||
pathgrid.hpp | ||
postprocessor.cpp | ||
postprocessor.hpp | ||
recastmesh.cpp | ||
recastmesh.hpp | ||
renderbin.hpp | ||
renderinginterface.hpp | ||
renderingmanager.cpp | ||
renderingmanager.hpp | ||
rendermode.hpp | ||
ripplesimulation.cpp | ||
ripplesimulation.hpp | ||
rotatecontroller.cpp | ||
rotatecontroller.hpp | ||
screenshotmanager.cpp | ||
screenshotmanager.hpp | ||
sky.cpp | ||
sky.hpp | ||
terrainstorage.cpp | ||
terrainstorage.hpp | ||
util.cpp | ||
util.hpp | ||
viewovershoulder.cpp | ||
viewovershoulder.hpp | ||
vismask.hpp | ||
water.cpp | ||
water.hpp | ||
weaponanimation.cpp | ||
weaponanimation.hpp |