Evil Eye
0051575225
Use RefIds for weather in ESM code
2026-09-07 17:31:14 +02:00
Evil Eye
89c30a10b5
Split major and minor skill arrays
2026-09-03 17:34:17 +02:00
Andrzej Głuszak and Evil Eye
668ef5b9ed
Use RefIds for weapon type identifiers
2026-08-31 17:58:05 +00:00
Evil Eye and Alexei Kotov
399be8c40f
Turn Faction::mIsHidden into mFlags
2026-08-01 08:18:58 +03:00
Evil Eye
dba38efdb8
Remove RefId<->index conversions from esmtool
2026-07-18 15:17:54 +02:00
Evil Eye
bff4496c07
Use RefIds for skills at runtime
2026-07-16 20:15:51 +02:00
Evil Eye
f3a8561d66
Use RefIds for attributes at runtime
2026-07-16 20:15:42 +02:00
elsid
caf66b16a1
Use ESM::Path for ESM::MagicEffect::mIcon and mParticle
2026-06-20 17:14:39 +02:00
elsid
11150f5758
Use ESM::Path for ESM::LandTexture::mTexture
2026-06-20 15:13:22 +02:00
elsid
06818157b6
Use ESM::Path for ESM::BirthSign::mTexture
2026-06-20 15:10:47 +02:00
elsid
469e1b4dc8
Use ESM::Path for ESM::Weapon::mModel and mIcon
2026-06-20 15:03:48 +02:00
elsid
27cd7627ff
Use ESM::Path for ESM::Repair::mModel and mIcon
2026-06-20 13:55:22 +02:00
elsid
152cf9197a
Use ESM::Path for ESM::Probe::mModel and mIcon
2026-06-20 13:47:40 +02:00
elsid
fd65864a50
Use ESM::Path for ESM::NPC::mModel
2026-06-20 13:36:15 +02:00
elsid
5740ddaf6a
Use ESM::Path for ESM::Miscellaneous::mModel and mIcon
2026-06-20 13:17:27 +02:00
elsid
3ac33df032
Use ESM::Path for ESM::Lockpick::mModel and mIcon
2026-06-20 13:05:04 +02:00
elsid
87602afd82
Use ESM::Path for ESM::Light::mModel and mIcon
2026-06-20 12:56:00 +02:00
elsid
f476fef301
Use ESM::Path for ESM::Ingredient::mModel and mIcon
2026-06-20 12:45:46 +02:00
elsid
064564ccf8
Use ESM::Path for ESM::Door::mModel
2026-06-20 12:36:29 +02:00
elsid
60b24e894c
Use ESM::Path for ESM::Creature::mModel
2026-06-20 12:11:55 +02:00
elsid
dc1832e0c9
Use ESM::Path for ESM::Container::mModel
2026-06-20 12:00:31 +02:00
elsid
ed5bf94b31
Use ESM::Path for ESM::Clothing::mModel and mIcon
2026-06-09 22:09:38 +02:00
elsid
38a3656d55
Use ESM::Path for ESM::Book::mModel and mIcon
2026-06-09 21:58:15 +02:00
elsid
47c4a99a3f
Use ESM::Path for ESM::Armor::mModel and mIcon
2026-06-09 21:58:14 +02:00
elsid
3d6c92766e
Use ESM::Path for ESM::Apparatus::mModel and mIcon
2026-06-09 21:58:14 +02:00
elsid
20f1411815
Use ESM::Path for ESM::Potion::mModel and mIcon
2026-06-09 21:58:14 +02:00
elsid
43202f5be3
Use ESM::Path for ESM::Activator::mModel
2026-06-09 21:58:14 +02:00
elsid
b2d4ea78f2
Use ESM::Path for ESM::Static::mModel
2026-06-09 21:58:11 +02:00
elsid
39a4030309
Add normalized version of ESM::BodyPart::mModel
2026-06-07 23:43:54 +02:00
Alexei Kotov
ecf00a170a
Allow loading invalid effects again ( #9069 )
2026-04-16 14:31:05 +03:00
Telvanni 4Life
4e828dd6ff
Changed skills and attributes in IRDTstruct to use RefIds instead of indices
2026-02-04 11:59:20 -05:00
Telvanni 4Life
12dca7ecef
Changed skills and attributes in ENAMstruct to use RefIds instead of indices.
2026-02-04 11:59:20 -05:00
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
Telvanni 4Life
e389a3b343
- Changed OpenMW-CS model to use RefIds and QStrings for magic effects.
...
- Changed esmtool records to used RefIds for magic effects.
2026-01-08 07:40:02 -05:00
Telvanni 4Life
6ca64fdddd
Changed statsextensions internal representations of magic effects to RefId. Interfaces with mwscript remain index-based.
2026-01-08 07:40:02 -05:00
Telvanni 4Life
bf5e7ba3f6
Changed ActiveSpells and ENAM struct to use only RefIds. Serialization still uses indexes for backward compatibility.
2026-01-08 07:16:30 -05:00
Alexei Kotov
24821b8e85
Improve esmtool destination position/rotation formatting
2025-12-27 01:13:20 +03:00
Alexei Kotov
f5371518c3
Print angles in degrees in esmtool
2025-12-21 15:21:22 +03:00
Evil Eye
5fde484997
Rename faction rank reaction to reputation
2025-12-09 17:54:13 +01:00
Evil Eye
ea2ff63bf6
Address conversion warnings in esmtool
2025-09-20 16:16:01 +02:00
Evil Eye
d4bc9696e9
Combine format strings
2025-08-13 09:50:13 +02:00
Evil Eye
33ea16655b
Add missing paren and remove unnecessary flushes
2025-08-12 23:38:47 +02:00
Evil Eye
a7ba54c361
Use std::format in esmtool
2025-08-10 12:03:34 +02:00
elsid
d121b606b6
Fix and enforce local variable naming
2025-08-05 21:27:48 +02:00
elsid
5c3ae3d94c
Make loading and saving script record more robust
...
* Check the header presence before using it.
* Write the header based on the actual content.
2024-06-21 20:37:37 +02:00
elsid
044748725c
Add unit tests for saving and loading ESM3 Land
2024-06-07 00:22:24 +02:00
Evil Eye
a4625ea784
Deduplicate dialogue filter parsing
2024-04-11 22:29:33 +02:00
psi29a
e8038d353f
Merge branch 'esmstuff' into 'master'
...
Use more decomposition, string_view, and implicit sizes in ESM code
See merge request OpenMW/openmw!3975
2024-03-27 19:40:18 +00:00
Mads Buvik Sandvei and psi29a
320d8ef014
Spellcast related Lua API + spellcasting/activespell refactor
2024-03-25 13:50:23 +00:00
Evil Eye
5a0aed3a78
Use more decomposition, string_view, and implicit sizes in ESM code
2024-03-23 12:15:09 +01:00