Commit Graph

30684 Commits (ff774d6406f3520317fe0b08cb8ee761211ba315)
 

Author SHA1 Message Date
Petr Mikheev ff774d6406 Load more ESM4 records 2 years ago
Evil Eye a90815e8ed Merge branch 'fix_coc_to_interior' into 'master'
Avoid using findCellPosition for coc command implementation (#7312)

Closes #7312

See merge request OpenMW/openmw!2910
2 years ago
elsid 83e60fef4e
Avoid using findCellPosition for coc command implementation
It breaks teleport to interior cells and in general is very fragile because
of using exception for common logic path. Remove the function since it's not
used anywhere else.
2 years ago
psi29a f5d470395d Merge branch 'lua_esm4' into 'master'
Merge ESM::RefNum and ESM4::FormId

See merge request OpenMW/openmw!2902
2 years ago
psi29a d899848d33 Merge branch 'gmst_misses' into 'master'
Log the message "GMST ... not found" only once for each missing l10n GMST

See merge request OpenMW/openmw!2897
2 years ago
Petr Mikheev f09a689a4f Merge ESM::RefNum and ESM4::FormId 2 years ago
Petr Mikheev 2365ba2ce0 Disable lazy loading 2 years ago
psi29a edfc6b78c8 Merge branch 'fix_esm3_exterior_cell_ref_id' into 'master'
Use lexicographical comparison in ESM3ExteriorCellRefId::operator< (#7316)

Closes #7316

See merge request OpenMW/openmw!2909
2 years ago
psi29a 7d86a56d22 Merge branch 'safecomplete' into 'master'
Only autocomplete string refids

See merge request OpenMW/openmw!2904
2 years ago
psi29a f170ac777c Merge branch 'fix_clang_build' into 'master'
Fix build with clang and libc++

See merge request OpenMW/openmw!2908
2 years ago
elsid bd10becb65
Use lexicographical comparison in ESM3ExteriorCellRefId::operator< 2 years ago
psi29a 8cd5b91b4a Merge branch 'freedomofteleportation' into 'master'
Pass a cell id when teleporting to an exterior

Closes #7317

See merge request OpenMW/openmw!2907
2 years ago
elsid aa77e727b8
Fix build with clang and libc++
libc++ does not have such function:

apps/openmw_test_suite/esm3/testesmwriter.cpp:73:30: error: no member named 'view' in 'std::ostringstream'
            EXPECT_EQ(stream.view().size(), size);
                      ~~~~~~ ^
2 years ago
Evil Eye b027e96dee Pass a cell id when teleporting to an exterior 2 years ago
Evil Eye bee9eafc1a Only autocomplete string refids 2 years ago
psi29a ebb5820dd1 Merge branch 'pathgridgraph' into 'master'
Refactor pathgrid indices to use size_t instead of int

See merge request OpenMW/openmw!2900
2 years ago
Evil Eye 8d8207b734 Refactor pathgrid indices to use size_t instead of int 2 years ago
psi29a 42c40c875d Merge branch 'ref_id_tests' into 'master'
Add more tests for RefId and fix ESM3ExteriorCellRefId

See merge request OpenMW/openmw!2905
2 years ago
elsid 740f409a09
Add benchmarks for ESM3ExteriorCellRefId serialization 2 years ago
elsid 794050df63
Fix and add tests for ESM3ExteriorCellRefId serialization and text representation 2 years ago
elsid 5b14ff4470
Add tests to verify RefId size written to ESM file 2 years ago
psi29a 3f6d67f804 Merge branch 'esm_save_load_tests' into 'master'
Test save/load for all ESM::CellRef fields

See merge request OpenMW/openmw!2903
2 years ago
elsid fd9f652f43
Add CurrentContentFormatVersion to Esm3SaveLoadRecordTest parameters 2 years ago
elsid e3944f741e
Test save/load for all ESM::CellRef fields 2 years ago
psi29a c8f41f1c34 Merge branch 'slowfilter' into 'master'
Speedup filter in the CS

See merge request OpenMW/openmw!2901
2 years ago
fredzio 8717e8e487 Create the QRegularExpression in the TextNode constructor instead of for
each row in the filtered table.
On a table of more than 1M entries it speeds up filtering almost tenfold (from 35s to 4s).
2 years ago
psi29a 24a241352f Merge branch 'cellfallout' into 'master'
Fix cell refid issues

See merge request OpenMW/openmw!2899
2 years ago
Evil Eye d4cbef6365 Fix cell refid issues 2 years ago
psi29a 7cd4024868 Merge branch 'cleanlvllist' into 'master'
Remove unused variable from levelledlist

See merge request OpenMW/openmw!2896
2 years ago
fredzio fbd7ae3e2d Move getLevelledItem implementaiton in .cpp 2 years ago
Petr Mikheev 2838071751 Log the message "GMST ... not found" only once for each missing l10n GMST 2 years ago
fredzio 6fb14841ab Remove unused variable 2 years ago
psi29a 2b59c71333 Merge branch 'itsakindofskillorattributeaffectingmagic' into 'master'
Unify string construction of skill/attribute affecting effect names

Closes #7307

See merge request OpenMW/openmw!2894
2 years ago
Evil Eye b3e17d79ec Unify string construction of skill/attribute affecting effect names 2 years ago
psi29a aad9ce53db Merge branch 'esm4_gmst' into 'master'
Support loading ESM4 GMST records

See merge request OpenMW/openmw!2892
2 years ago
psi29a c25ec3c573 Merge branch 'esm4_common' into 'master'
Split components/esm4/common.hpp header

See merge request OpenMW/openmw!2893
2 years ago
psi29a 57e8a4b1b0 Merge branch 'fix_start_cell' into 'master'
Consider empty RefId as absent exterior cell

See merge request OpenMW/openmw!2891
2 years ago
elsid dbed00842e
Split components/esm4/common.hpp header 2 years ago
elsid 87ac85223a
Support loading ESM4 GMST records 2 years ago
elsid b7b68bd164
Consider empty RefId as absent exterior cell 2 years ago
psi29a a9c7354338 Merge branch 'cell-refId' into 'master'
Give ESM3 cells a RefId

See merge request OpenMW/openmw!2752
2 years ago
florent.teppe 0d17e20490 Implements serialize/deserialize
fixes test compilation.
2 years ago
florent.teppe 3258fa4f98 setworldspace uses serializeText 2 years ago
florent.teppe 21bd28542a Applies review advice
2d coord hash moved to hash.hpp file
format version adds suffix to be more coherent
don't use ESM::RefId::sEmpty
RefId equality with string_view, conversion to refId unecessary
action teleport remove test that mCellId is empty
removes some const references, when copy is enough
invalid refid => empty refid
removes useless change
2 years ago
florent.teppe d782d37ee2 Make sure Vec2iRefId is trivially copyable on GCC 11.3
std::pair<int, int> isn't trivially copyable on some compilers
so a specific struct is defined, it's an int pair, but it should be recognised by GCC 11.3 as trivially copyable

Vec2iRefId => ESM3ExteriorCellRefId

more explcit name and use mX,mY instead of pair
renamed files and enum
2 years ago
florent.teppe 53b14c8b42 fix tests
hopefully also fixes clang tidy
2 years ago
florent.teppe 4c15064a83 Create new Vec2i RefId for ESM3 exterior cells.
Applies the necessary changes to use !2708 for the new Id type
2 years ago
florent.teppe 1e0c3bfdec fixes integration tests
we still want to be able to write using old formats
2 years ago
florent.teppe f99e65843a Removes most cellId.hpp include, simplifies id generation for cells. 2 years ago
florent.teppe c2182c2fcc Get Rid of ESM::CellId almost everywhere
it was a competing concept from using RefIds for cell.
There is almost no point to it now, except to load older data.
2 years ago