Commit Graph

7033 Commits (c59032fd6663968e7bf3dc41b948c37e3d6705e4)

Author SHA1 Message Date
Evil Eye c59032fd66 Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found 1 year ago
psi29a 3a1ae9df58 Merge branch 'nsaids-for-shared-memory-structs' into 'master'
Share the dump directory for crash and freeze dumps

See merge request OpenMW/openmw!3221
1 year ago
psi29a 41abbae3e7 Merge branch 'sittingontheoverlap' into 'master'
Allow subrecords to overlap the following record (bug #6025)

Closes #6025

See merge request OpenMW/openmw!3215
1 year ago
AnyOldName3 f239988c06 Remove unused function 1 year ago
AnyOldName3 899f0a4633 Remove redundant explicit null terminator 1 year ago
AnyOldName3 677c17530e I don't like reformatting things over and over. 1 year ago
AnyOldName3 1bdcb5d6d9 Share the dump directory for crash and freeze dumps
This means the shared memory struct is just 255 bytes longer than a few
commits ago instead of 32K.

Also introduce a function for putting path strings in the shared memory
as there was too much copied and pasted code and it was error-prone.

Also free some handles once we're done with them so they don't leak.
1 year ago
psi29a 1268dde8fe Merge branch 'metermarker' into 'master'
Don't discard collision for the entire tree if BSXFlags marker flag is set

See merge request OpenMW/openmw!3216
2 years ago
alekulyn b085a52681 Add template Nif record 2 years ago
alekulyn 4b90352c2f Add RC value to BSLightingShaderPropertyFloatController and change the revelant RC value in niffile 2 years ago
alekulyn 589726d4f8 Enchanting table fully ready 2 years ago
alekulyn ed532b5aca Add BSEffectShaderPropertyFloatController record reading 2 years ago
alekulyn 7ea2ea96b6 Read new nodes pt1 2 years ago
Alexei Dobrohotov 2de8c6b3c0 Don't discard collision for the entire tree if BSXFlags marker flag is set 2 years ago
Alexei Dobrohotov 66fd1f8862 Allow subrecords to overlap the following record (bug #6025) 2 years ago
psi29a d9027f7eef Merge branch 'falloutfalloffnthtimesthecharm' into 'master'
BSEffectShader/NoLighting fixes

See merge request OpenMW/openmw!3211
2 years ago
Alexei Dobrohotov 52a16e0e93 BSEffectShader/NoLighting fixes
Don't hijack BSShader::NoLighting for BSEffectShader functionality
(Fallout meshes break if you use the actual emissive color as a base color)
Don't use falloff for textureless NoLighting objects
Use falloff flag for BSEffectShader
2 years ago
psi29a a755fa0f34 Merge branch 'cleanup_includes' into 'master'
Cleanup includes

See merge request OpenMW/openmw!3203
2 years ago
psi29a 81f8d16982 Merge branch 'loadBsTriShape' into 'master'
Load BSTriShape NIF nodes

See merge request OpenMW/openmw!3099
2 years ago
alekulyn 74aa7b947a Load BSTriShape NIF nodes 2 years ago
psi29a da592356f1 Merge branch 'no-crash-dump-in-temp' into 'master'
Don't put crash dumps in Temp on Windows

Closes #7455

See merge request OpenMW/openmw!3200
2 years ago
elsid f6fce5ee15
Cleanup includes 2 years ago
psi29a cab47d0a2a Merge branch 'settings_values_general' into 'master'
Use settings values for General settings (#6876)

See merge request OpenMW/openmw!3198
2 years ago
psi29a 2a534576de Merge branch 'fix-the-comments-again' into 'master'
Restore and clarify comments damaged by !2971

Closes #7350 and #7349

See merge request OpenMW/openmw!2979
2 years ago
AnyOldName3 106dbba086 Restore and clarify comments damaged by !2971 2 years ago
Petr Mikheev fb7ba40385 Merge branch 'lua-bb-once-and-for-all' into 'master'
Lua - Fix BB once and for all

See merge request OpenMW/openmw!3143
2 years ago
AnyOldName3 48368f79b6 Update Windows crash dump path once we know where we're logging
Manual rewrite of 5102f4b11d
2 years ago
AnyOldName3 72d99237e3 This would never have happened had clang format not tried making this function wrogn in the first place 2 years ago
AnyOldName3 1bcbc4f53f Undo clang format change because clang format in CI disagrees with clang format on my computer 2 years ago
AnyOldName3 3bb3f58c73 Don't put crash dumps in Temp on Windows
Well... unless we fail to get the user profile directory.

Also put freeze dumps in a more appropriately-named file.

Discussed in https://gitlab.com/OpenMW/openmw/-/issues/7455

Manual rewrite of c21695c951

As well as that, I found a bug where the crash dump path was being converted from a std::filesystem::path to a utf8-encoded std::string, then passed to the crash catcher, which converted it to a std::filesystem::path implicitly, but using the system eight-bit code page, which wouldn't usually be UTF-8. That's now fixed by passing the function that expects a path a path instead of a string.
2 years ago
elsid ebb8fdc698
Use settings values for General settings 2 years ago
glassmancody.info a659d2eaeb lua - fix bounding box once and for all 2 years ago
elsid a6dbd819a1
Fix writing IndexRefId to ESM3
Use correct enum value.
2 years ago
psi29a 050fc20379 Merge branch 'settings_values_game' into 'master'
Use settings values for Game settings (#6876)

See merge request OpenMW/openmw!3188
2 years ago
psi29a 6601b0cb15 Merge branch 'fastandloose' into 'master'
Drop support for --fs-strict

Closes #7394

See merge request OpenMW/openmw!3093
2 years ago
elsid 6e8dcc16c6
Use settings values for Game settings 2 years ago
elsid 86e5b94ef6
Convert setting value int to CollisionShapeType on initialization 2 years ago
psi29a fc5d73648a Merge branch 'schooled' into 'master'
Merge magic schools into skills

See merge request OpenMW/openmw!3148
2 years ago
alekulyn 683fb0a342 Templated nif reader function modelled after cc9cii's reader 2 years ago
Evil Eye 73c2387708 Merge schools into skills 2 years ago
psi29a 31efad1dd0 Merge branch 'fix_model_path' into 'master'
Fix #7403: incorrect model path for records created by Lua scripts

Closes #7403

See merge request OpenMW/openmw!3151
2 years ago
psi29a dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2 years ago
psi29a 558b3cbf60 Merge branch 'particles_fix' into 'master'
Create a stateset for every particle system to create its own defineMap

Closes #7304

See merge request OpenMW/openmw!3162
2 years ago
Andrei Kortunov a08d921c4c Create a stateset for every particle system to create its own defineMap 2 years ago
psi29a 47b1247fa2 Merge branch 'l10n' into 'master'
Make configurable whether GMST strings have priority over built-in interface messages

See merge request OpenMW/openmw!3134
2 years ago
psi29a abdd4f5207 Merge branch 'lua_potion_magic' into 'master'
Lua: Add effects to potionRecord, ingredientRecord

See merge request OpenMW/openmw!3160
2 years ago
Zackhasacat 611a6429a9 Lua: Add effects to potionRecord, ingredientRecord 2 years ago
psi29a 68415a952e Merge branch 'lua_quat' into 'master'
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion

See merge request OpenMW/openmw!3123
2 years ago
Evil Eye bac6777fae Reduce the number of magic numbers 2 years ago
Petr Mikheev 2f16a8d27c Fix incorrect model part for records created by Lua scripts 2 years ago