Commit Graph

328 Commits (5d37cb3b74b1e47fef78fdabaedb791091018dc6)

Author SHA1 Message Date
Evil Eye ffe164b28d Add a test and address feedback 3 months ago
Evil Eye 7ce83c6cc8 Ensure NAME is null terminated for TESCS compatibility 3 months ago
psi29a d1059aee8c Merge branch 'test_ptr' into 'master'
Add tests for MWWorld::Ptr

See merge request OpenMW/openmw!4344
3 months ago
elsid cd6e49796e
Properly initialize local static pointers and collections
Static variables should be initalized once instead of initializing them with
nullptr and then doing actual initialization behind if condition. Otherwise a
race condition may happen leading to undefined behaviour.
3 months ago
elsid 1cdbbef7ee
Use blank CellRef as default
Default constructed CellRef has some fields uninitialized.
4 months ago
Evil Eye 5c4deb3f88 Prevent older binaries from incorrectly loading newer saves 5 months ago
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.
6 months ago
elsid 4571a8b88a
Remove unused SCHD type 6 months ago
Dave Corley 798208f6e5 FIX: Bad rebase 7 months ago
Dave Corley 80360ca5eb downgrade clang-format pls 7 months ago
Dave Corley 3066695630 FIX(loadland.cpp): Minor rebase fail 7 months ago
Dave Corley bdf99c701b Fix(CS): Use ESM flags and not internal ones for verifying presence of a subrecord 7 months ago
Dave Corley 89bce6f678 Fix(CS): Enum name in accordance with current standards 7 months ago
Dave Corley 6f2ae4a33b Cleanup(CS): Improve readability and clean up some implementations 7 months ago
Dave Corley 51df924d37 Fix(Land): Restore vanilla behavior of ignoring LAND subrecords which
are not flagged to actually exist
7 months ago
Dave Corley b111d28ede Fix(CS): Generate blank lands at default height, not water level 7 months ago
Dave Corley 18d6598565 Feat(CS): Add enum for actual LAND flags 7 months ago
psi29a 9087de1596 Merge branch 'esm3_land' into 'master'
Add unit tests for saving and loading ESM3 Land

See merge request OpenMW/openmw!4159
7 months ago
elsid 044748725c
Add unit tests for saving and loading ESM3 Land 7 months ago
Evil Eye ca6baed366 Fix LTEX overriding and allow deletion 7 months ago
Evil Eye cdfd305ac3 Convert constant effect equipment slots to refnums 7 months ago
Evil Eye 77d554594f Add ReadersCache::clear 7 months ago
elsid 01166b1f26
Split ESM headers 8 months ago
Evil Eye 6e79064a57 Fix editor oddities 9 months ago
Evil Eye a4625ea784 Deduplicate dialogue filter parsing 9 months ago
Evil Eye fb4edda45d Validate INFO filters when loading the record 9 months ago
psi29a 2056da358d Merge branch 'opencs-projectile-speed' into 'master'
OpenMW-CS: Editing and verifying of projectile speed for magic effects

See merge request OpenMW/openmw!3939
9 months ago
psi29a e8038d353f Merge branch 'esmstuff' into 'master'
Use more decomposition, string_view, and implicit sizes in ESM code

See merge request OpenMW/openmw!3975
9 months ago
Sam Hellawell deb8894035 ESM::MagicEffect::blank() set the default to 1
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
9 months ago
psi29a f7f7502d60 Merge branch 'i-said-it-was-unlocked-damn-you' into 'master'
Fix(CS): Actually allow unlocking doors ( #7899 )

Closes #7899

See merge request OpenMW/openmw!3982
9 months ago
Dave Corley 2e68786331 Fix(CS): Actually allow unlocking doors ( #7899 ) 9 months ago
Mads Buvik Sandvei e0b11c14c2 Remove unused member mStackable 9 months ago
psi29a 012d10703f Merge branch 'spellcast-refactor' into 'master'
Spellcast related Lua API + spellcasting/activespell refactor

See merge request OpenMW/openmw!3922
9 months ago
Mads Buvik Sandvei 320d8ef014 Spellcast related Lua API + spellcasting/activespell refactor 9 months ago
Evil Eye 5a0aed3a78 Use more decomposition, string_view, and implicit sizes in ESM code 9 months ago
AnyOldName3 818a99a870 Review 9 months ago
AnyOldName3 da8150e2e4 Even more MSVC-specific warnings that evaded detection in CI 9 months ago
Dave Corley fcff1a6739 Fix #7887, use actual instead of reported size for script data 10 months ago
Evil Eye b52f721318 Use getSubComposite to read AMBI 10 months ago
Evil Eye 1499dd2654 Add getCompositeSize and handle NPC data 10 months ago
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 10 months ago
Evil Eye 958f70736f Implement auto calculated potion values 10 months ago
Mads Buvik Sandvei c82c111ee1 Use correct index for Athletics_SwimOneSecond 10 months ago
Alexei Kotov 46f863a32e Merge branch 'help-i-cant-swim' into 'master'
Fix(editor): Don't save dirty water height values

Closes #7841

See merge request OpenMW/openmw!3881
10 months ago
psi29a 619ccf7107 Merge branch 'decomposition' into 'master'
Use decompose to remove more instances of pragma pack

See merge request OpenMW/openmw!3906
10 months ago
Dave Corley 059191c840 Also apply hasWaterHeightSub for INTV 10 months ago
Evil Eye 7d7e8939ab Use ESM::decompose to handle WPDTstruct 10 months ago
Evil Eye ec1c6ee171 Use ESM::decompose to handle ENAMstruct 10 months ago
Evil Eye 0bab37327c Account for pre-0.46 saves storing a gold value of 0 for everything 10 months ago
Dave Corley ce2787e15e Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub 10 months ago