1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00
OpenMW/apps/openmw/mwscript
Bo Svensson ef906cbfa8
improves MWClass mapping (#3166)
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.
2021-10-11 13:46:21 +02:00
..
docs
aiextensions.cpp Make GetCurrentAIPackage return -1 for non-actors and dead actors 2021-09-26 22:15:43 +02:00
aiextensions.hpp
animationextensions.cpp
animationextensions.hpp
cellextensions.cpp
cellextensions.hpp
compilercontext.cpp
compilercontext.hpp
consoleextensions.cpp
consoleextensions.hpp
containerextensions.cpp improves MWClass mapping (#3166) 2021-10-11 13:46:21 +02:00
containerextensions.hpp
controlextensions.cpp
controlextensions.hpp
dialogueextensions.cpp
dialogueextensions.hpp
extensions.cpp
extensions.hpp
globalscripts.cpp
globalscripts.hpp
guiextensions.cpp
guiextensions.hpp
interpretercontext.cpp
interpretercontext.hpp
locals.cpp
locals.hpp
miscextensions.cpp improves MWClass mapping (#3166) 2021-10-11 13:46:21 +02:00
miscextensions.hpp
ref.cpp
ref.hpp
scriptmanagerimp.cpp
scriptmanagerimp.hpp
skyextensions.cpp
skyextensions.hpp
soundextensions.cpp
soundextensions.hpp
statsextensions.cpp Overhaul magic effects to work with onApply and onEnd events 2021-09-29 19:25:10 +02:00
statsextensions.hpp
transformationextensions.cpp
transformationextensions.hpp
userextensions.cpp
userextensions.hpp