Commit Graph

20473 Commits (simplify_debugging)

Author SHA1 Message Date
Evil Eye 877f6747be Deduplicate specialization code 1 year ago
elsid dc8dfe81ce
Add more details to exceptions 1 year ago
elsid d852ac20f5
Log loading content file 1 year ago
Mads Buvik Sandvei 85a30c9ad0 Fix signature of MWMechanics::MagicEffects::get. Fix a mistake in the docs. 1 year ago
Petr Mikheev 4ed283bb15 Merge branch 'create_record_types' into 'master'
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua

See merge request OpenMW/openmw!2944
1 year ago
Zackhasacat ef004e5eba Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua 1 year ago
psi29a d3ed04c551 Merge branch 'lua-activeeffects' into 'master'
Lua: Actor api for active effects and active spells

See merge request OpenMW/openmw!3036
1 year ago
Mads Buvik Sandvei 40170d8953 is_automagical false line for ActorStore 1 year ago
Evil Eye 17c8e63d3a Fix invalid memory usage in stats tooltip 1 year ago
Mads Buvik Sandvei 97ea626ba2 Clang'd 1 year ago
Mads Buvik Sandvei 4f88988131 Moved check for actor/non-actor to ActorStore constructor. Refactor ActorSpells type to be an ActorStore type. 1 year ago
Mads Buvik Sandvei 410e8b100a Elsid comments 1 year ago
Mads Buvik Sandvei 4bf23f152b Revert use of string_view to std::string for effectIdTo* methods. 1 year ago
Mads Buvik Sandvei 9a59330561 refactor effect names in loadmgef. Added a map from effect index to non-gmst effect name for use in lua scripts. 1 year ago
Mads Buvik Sandvei 151521bb68 Unused function 1 year ago
Mads Buvik Sandvei 448658ce5b Check class validity before using it. 1 year ago
Mads Buvik Sandvei 87250bfabf clang warnings/errors 1 year ago
Mads Buvik Sandvei 7ba43c9426 actor.ActiveEffects and actor.ActiveSpells 1 year ago
psi29a 01705485b8 Merge branch 'grow_limit' into 'master'
[Needs testing] Migrate Grow Limit editor feature to a more modern code

See merge request OpenMW/openmw!2637
1 year ago
psi29a 87b15c22f3 Merge branch 'fixcolladaregression' into 'master'
Fix regression with Collada-animated creatures

See merge request OpenMW/openmw!2882
1 year ago
Nelsson Huotari 4abd47f430 Fix regression with Collada-animated creatures 1 year ago
psi29a 2545185d52 Merge branch 'cs_show_magic_effect_name' into 'master'
Show magic effect name instead of IndexRefId (#7366)

Closes #7366

See merge request OpenMW/openmw!3049
1 year ago
psi29a 30305d7bea Merge branch 'topicloop' into 'master'
Detect service refusal in constant time

See merge request OpenMW/openmw!3053
1 year ago
psi29a 64b07ee9f4 Merge branch 'esmtool_dawnguard_dragonborn' into 'master'
Partial support esmtool dump for Dragonborn.esm and Dawnguard.esm from Skyrim

See merge request OpenMW/openmw!3052
1 year ago
psi29a a61f955e9f Merge branch 'case.ext' into 'master'
Fix a regression and use more starts_with and ends_with

See merge request OpenMW/openmw!3051
1 year ago
Evil Eye 11f875d9c4 Detect service refusal in constant time 1 year ago
elsid e537d1d0d4
Ignore missing localization string files by esmtool
Dawnguard.esm from Skyrim depends on files stored in Dawnguard.bsa which is not
processed by esmtool.
1 year ago
elsid 358b7ad3ec
Keep ESM4 localized strings in memory
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.
1 year ago
Evil Eye 9728024978 Replace compare with more idiomatic methods 1 year ago
elsid 8f47da46ec
Show magic effect name instead of IndexRefId 1 year ago
elsid bb1d040ac8
Use settings values for Cells settings 1 year ago
elsid 585cf377ed
Use bool instead of std::stringstream::view
view is not supported by libc++ used for macOS builds.
1 year ago
psi29a 6f8c152487 Merge branch 'convert_camera_settings' into 'master'
Use settings values for Camera settings (#6876)

See merge request OpenMW/openmw!3041
1 year ago
psi29a dab616f4e2 Merge branch 'guiew' into 'master'
Use string_view in more places and reduce the number of empty string literals

See merge request OpenMW/openmw!3042
1 year ago
elsid 63e01d86a3
Use string based UniversalId to check script for blacklist
Blacklist is a vector of strings and isBlacklisted internally calls getId which
throws exception for RefId based UniversalId.
1 year ago
elsid 0aa569d4fe
Add UniversalId argument type to exception message on invalid access 1 year ago
elsid 292983d57a
Show UniversalId value for all argument types in reports 1 year ago
elsid 7ba397da7d
Use std::span and std::string to define UniversalId related TypeData 1 year ago
elsid ceab7557f3
Add rudimentary support for ESM::RefId in UniversalId
Ideally std::string support should be removed but this may affect too much code.
1 year ago
elsid 4cd5efc6ee
Implement UniversalId with std::variant 1 year ago
elsid f2a3462e59
Fix UniversalId constructor from ESM::RefId 1 year ago
elsid 6541ac43f5
Add UniversalId unit tests 1 year ago
Evil Eye ed7b6dc2a7 Clarify CharacterCreation::setValue 1 year ago
psi29a 458ee4abaa Merge branch 'coc_destination' into 'master'
Improve coc destination search in ESM4 cells

See merge request OpenMW/openmw!3034
1 year ago
Tetramir 3d574f16a1 Merge branch 'grid_update' into 'master'
Update mHalfGridSize in Scene::changeCellGrid before using it

See merge request OpenMW/openmw!3030
1 year ago
Evil Eye 492e336c0c Use string_view in more UI code 1 year ago
Evil Eye 5491512905 Use string_view in more places and reduce the number of empty string literals 1 year ago
Petr Mikheev 9b6808f83d Improve coc destination search in ESM4 cells 1 year ago
elsid 5d5e6844d1
Use settings values for Camera settings 1 year ago
elsid 4be43a2dca
Map SettingValueType Cell to float setting type 1 year ago