1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-20 08:31:06 +00:00
openmw/apps/esmtool
Telvanni 4Life 9159788c9b Address reviewer feedback and ran clang-format on modified files:
- Changed reverse lookup map constructor for gmsts, names, and ESM::MagicEffectIds to be more generic.
- Changed refIdToIndex to use map instead of array traversal.
- Removed redundant check from refIdToGmstString.
- Removed sMagicEffectNames and associated map. Removed dead code from loadmgef.cpp/hpp.
- Changed return types of magic effect bindings to RefId.
- Reverted ESMStore search to find.
- Changed std::map to std::unordered_map for faster lookups in resistance and weakness functions.
- Changed loadmgef To methods to pass RefId by value.
- Removed StringRefId alias MagicEffectId.
- Changed all effectId arguments in PR to pass-by-value.
- Removed ESM::MagicEffect::refIdToName function.
- Changed effect key type from long to ESM::RefId in OpGetEffect of mwscript.
- Removed superfluous MWWorld::Store<ESM::GameSettings> argument to MagicEffect store's setUp method.
- Removed transformation code from decompose for ENAM and IRDT structs.
- Changed resistance and weakness maps to initialization to use initialization instead of assignment.
- Changed sGmstEffectIds to constexpr array since all parameters are known at compile time.
- Changed getBoundItemsMap to use an unordered_map and have string_view values.
- MagicEffect store definition removed (uses standard template class TypedDynamicStore).
- Fixed bug in calculating sun damage that would have made vampires daywalkers in Mournhold.
- Removed polymorphic EffectKey constructor and added overload to getOrDefault.
- Placed ESM spec IRDT and ENAM structs in anonymous namespace.
- Added exception if attempting to serialize ENAM subrecords with out of bounds index.
- Added include format statements to satisfy Ubuntu CI linker.
2026-01-08 07:44:06 -05:00
..
.gitignore Moved esmtool to apps/ 2010-07-21 13:52:28 +02:00
arguments.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
CMakeLists.txt Support long paths on Windows 2026-01-07 15:12:22 +00:00
esmtool.cpp Print angles in degrees in esmtool 2025-12-21 15:21:22 +03:00
labels.cpp Use std::format in esmtool 2025-08-10 12:03:34 +02:00
labels.hpp Implement auto calculated potion values 2024-03-02 12:45:48 +01:00
record.cpp Address reviewer feedback and ran clang-format on modified files: 2026-01-08 07:44:06 -05:00
record.hpp Replace some empty constructors and destructors with default 2023-05-29 13:37:19 +02:00
tes4.cpp Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
tes4.hpp Support TES4 in esmtool dump 2022-04-25 17:35:26 +02:00