Commit Graph

30645 Commits (87ac85223a25aaa72586ab77570834e12c1e0c02)
 

Author SHA1 Message Date
elsid 87ac85223a
Support loading ESM4 GMST records 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
florent.teppe fb6701ac1a ESM::CellId is no longer stored on saves. 2 years ago
florent.teppe c39dd576f8 Gets rid of most ESM::CellId 2 years ago
florent.teppe 6895a452ef restores the concept of worldspace for MWWorld::Cell 2 years ago
florent.teppe 6c6dbccd0a fix crash on reset
fix tests
2 years ago
florent.teppe 9f597ecfea No more Cellid used by ESM4 cells
and that also means it is no longer used by MWWorld::Cell
fixes tests
2 years ago
florent.teppe 1bbf4a3acf fixes teleport to exterior cells.
fixes linux compile

fix compile bis
2 years ago
florent.teppe 502e4ad892 Fix coc to exterior cells 2 years ago
florent.teppe 3f678c3b0a Dest Door and teleport use ESM::RefId
This changes a lot of files as a consequence.
Still buggy, moving to exterior doesn't bring to the right place yet
coc "seyda neen" doesn't work. SO I broke somehting when fetching a cell from a name
2 years ago
florent.teppe 96e42d1666 Cellstore uses RefId. 2 years ago
florent.teppe 36502eaf75 ESM3 Cells have an Id.
Store<ESM::Cell> is updated to use it.
2 years ago
psi29a b04bcb9a9b Merge branch 'quotes' into 'master'
Remove redundant quotes

See merge request OpenMW/openmw!2889
2 years ago
Andrei Kortunov 8c6616214b Remove redundant quotes 2 years ago
psi29a b0a129d6e4 Merge branch 'ripples' into 'master'
Implement shader-based water ripples

See merge request OpenMW/openmw!2877
2 years ago
psi29a ee970db9e0 Merge branch 'player_cell_id_test' into 'master'
Test more ESM::Player records

See merge request OpenMW/openmw!2888
2 years ago
psi29a de26662c98 Merge branch 'cs_fix_skill_edit' into 'master'
Show skill name in CS (#7299)

Closes #7299

See merge request OpenMW/openmw!2887
2 years ago
psi29a 0a791528bc Merge branch 'fix_index_ref_id_hash' into 'master'
Shift record type value for IndexRefId hash

See merge request OpenMW/openmw!2885
2 years ago
psi29a 9f6afaf8c5 Merge branch 'ref_id_tests' into 'master'
Make sure there are tests for all RefId types

See merge request OpenMW/openmw!2886
2 years ago
elsid 9162eaa019
Test more ESM::Player records 2 years ago
elsid e08d1e2c87
Show skill name in CS
Instead of RefId converted to string.

Show non StringRefId in deserializable format.
2 years ago
elsid 171a25645a
Make sure there are tests for all RefId types 2 years ago
elsid 258aec223a
Shift record type value for IndexRefId hash 2 years ago
Andrei Kortunov 646148dfc8 Use GL_HALF_FLOAT because we use GL_RGBA16F 2 years ago
Andrei Kortunov 909e301dc6 Increase distotion level 2 years ago
Andrei Kortunov 295f528f08 Use Allman brackets 2 years ago
psi29a bd003f109e Merge branch 'multiview-fix' into 'master'
[Multiview] Fix transparent pass and vertex shader

See merge request OpenMW/openmw!2884
2 years ago
Mads Buvik Sandvei e666f36b60 [Multiview] Fix transparent pass and vertex shader 2 years ago
psi29a 6f8b4d16d9 Merge branch 'stereo-setting-documentation-links' into 'master'
Add stereo settings to table of contents

See merge request OpenMW/openmw!2883
2 years ago
AnyOldName3 d42f3abde0 Add stereo settings to table of contents
Otherwise they're unreachable
2 years ago
Andrei Kortunov e17281ac67 Implement shader-based water ripples (feature 3537) 2 years ago
psi29a 2493e79daa Merge branch 'postprocess_loc' into 'master'
Localize messagebox about disabled postprocessor

See merge request OpenMW/openmw!2878
2 years ago
psi29a 912d7521c4 Merge branch 'hitpos' into 'master'
Do not use a rendering node position as a hit position

See merge request OpenMW/openmw!2879
2 years ago
Andrei Kortunov 74126953fc Do not use a rendering node position as a hit position (bug 7298) 2 years ago
Andrei Kortunov 4ff9e1956f Localize messagebox about disabled postprocessor 2 years ago
psi29a 1a1f983930 Merge branch 'omwscripts_in_launcher' into 'master'
Support adding Lua mods in subdirectories in the launcher

See merge request OpenMW/openmw!2874
2 years ago
Petr Mikheev d93d49a040 Merge branch 'gmstfix' into 'master'
Fix a typo in GMST mapping

See merge request OpenMW/openmw!2876
2 years ago
Andrei Kortunov 31760da2a5 Fix a typo in GMST mapping 2 years ago
psi29a 119163e74b Merge branch 'fixemptycollisioncrash' into 'master'
Make empty collision shape for objects without any triangles.

Closes #7077

See merge request OpenMW/openmw!2871
2 years ago
psi29a dbe273f57f Merge branch 'fix_bullet_nif_loader_tests' into 'master'
Use approximate equality for btBvhTriangleMeshShape triangles

See merge request OpenMW/openmw!2873
2 years ago
psi29a 0c074990ce Merge branch 'fix_lazy_load_skyrim' into 'master'
Fix lazy load skyrim

See merge request OpenMW/openmw!2861
2 years ago