elsid
8f84431840
Do not initialize settings storage for editor
2 years ago
elsid
bdc2eb5250
Check only original default settings
...
When more than 1 user config layers are used we still want to check only the
first layer of default settings loaded from settings-default.cfg.
2 years ago
psi29a
ad25e9b154
Merge branch 'settings_storage' into 'master'
...
Typed settings storage (#6876 )
See merge request OpenMW/openmw!2651
2 years ago
Petr Mikheev
ff774d6406
Load more ESM4 records
2 years ago
Petr Mikheev
f09a689a4f
Merge ESM::RefNum and ESM4::FormId
2 years ago
elsid
bd10becb65
Use lexicographical comparison in ESM3ExteriorCellRefId::operator<
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
elsid
794050df63
Fix and add tests for ESM3ExteriorCellRefId serialization and text representation
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
elsid
dbed00842e
Split components/esm4/common.hpp header
2 years ago
elsid
87ac85223a
Support loading ESM4 GMST records
2 years ago
florent.teppe
0d17e20490
Implements serialize/deserialize
...
fixes test compilation.
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
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
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
36502eaf75
ESM3 Cells have an Id.
...
Store<ESM::Cell> is updated to use it.
2 years ago
Andrei Kortunov
8c6616214b
Remove redundant quotes
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
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
elsid
9162eaa019
Test more ESM::Player records
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
Mads Buvik Sandvei
e666f36b60
[Multiview] Fix transparent pass and vertex shader
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
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
0c074990ce
Merge branch 'fix_lazy_load_skyrim' into 'master'
...
Fix lazy load skyrim
See merge request OpenMW/openmw!2861
2 years ago
uramer
ee1551f02c
Merge branch 'l10n' into 'master'
...
Dehardcode non-game-specific localization GMSTs
See merge request OpenMW/openmw!2855
2 years ago
fredzio
37c4587ca4
Display directories that contains omwscripts.
...
Display newly added omwscripts as new.
2 years ago
unelsson
3d4da02b18
Don't mess around with btEmptyShape. Use nullptr instead.
2 years ago
elsid
3e99deb0e8
Use typed settings storage for detournavigator
2 years ago
elsid
db7d0adfe8
Define settings values based on documentation
...
Using docs/source/reference/modding/settings/*.rst and
files/settings-default.cfg files content.
2 years ago
elsid
3bad40153c
Define typed settings storage with single time initialization
...
To make sure loaded settings have valid values doing the check once per loading.
And to make access more efficient.
2 years ago
florent.teppe
a3a7767093
applies review changes
...
filepos changed to an actual file pos
moved lambda declaration out of function call
2 years ago
florent.teppe
464092e323
fix oblivion and skyrim
2 years ago
florent.teppe
34dd24b261
Initial changes to detect when context isn't usable
2 years ago
unelsson
0a1af644af
Make empty collision shape for objects without any triangles.
2 years ago
psi29a
cd6413c060
Merge branch 'fix_dialogue_title' into 'master'
...
Show original dialogue name
See merge request OpenMW/openmw!2862
2 years ago
Petr Mikheev
0769e3daf0
Fix #7294 (launcher creates new contentlist everytime)
2 years ago
elsid
452d1e7e49
Store original string id for Dialogue records
2 years ago
elsid
06f42ba69c
Use fixed size enum type for ESM::Dialogue::mType
2 years ago
elsid
4716583f3e
Set ESM::Dialogue::mType on blank and skip load
2 years ago
elsid
90ed24f4c9
Split type traits for ESM4, ESM3 and unite common
2 years ago
elsid
d5954aba68
Add suffix to the format version name
2 years ago
Petr Mikheev
618b912a20
Dehardcode non-game-specific localization GMSTs; Update l10n files.
2 years ago
psi29a
8f80895b59
Merge branch 'build_fix' into 'master'
...
Add missing include
See merge request OpenMW/openmw!2860
2 years ago
Andrei Kortunov
e1bee039ac
Add missing include
2 years ago
elsid
b7fdca0fe6
Use serialized ESM::RefId for Lua records
2 years ago
elsid
cd4027ffd6
Do not use ESM::RefId::getRefIdString for spell id
2 years ago
psi29a
9a20193eb5
Merge branch 'savedgamecell' into 'master'
...
Fix cell name format in save menu
See merge request OpenMW/openmw!2853
2 years ago
Evil Eye
54d6fb29c2
Don't store a save's cell name as a RefID
2 years ago
psi29a
db1b260323
Merge branch 'gmst_l10n' into 'master'
...
Support links to GMSTs in l10n files; extract Morrowind-specific l10n files to a separate directory
See merge request OpenMW/openmw!2822
2 years ago
psi29a
1741a06cd1
Merge branch 'launcher_log' into 'master'
...
Setup launcher configuration manager and logging before initializing UI
See merge request OpenMW/openmw!2851
2 years ago
elsid
9815f930d9
Setup launcher configuration manager and logging before initializing UI
2 years ago
elsid
d1e8e56619
Make QuickKey type a fixed size enum class
2 years ago
elsid
eb79b29512
Use ranged for loop
2 years ago
elsid
2135eba103
Fix loading ESM3 QuickKeys
2 years ago
elsid
0b852edc7f
Remove redundant inline
2 years ago
elsid
8dd6b16fee
Avoid double lookup
2 years ago
elsid
04d7781424
Support not only StringRefId for checking first person body part
2 years ago
elsid
e6cf516e12
Support index RefId as pair of record type and std::uint32_t
2 years ago
elsid
86293af084
Support generated RefId as std::uint64_t
2 years ago
elsid
0992624c8b
Support reading and writing typed ESM::RefId to ESM
2 years ago
elsid
069d4255b9
Make ESM::RefId to be fixed size cheap to copy
...
Use std::variant. Store refId strings in unordered_set and use pointer to an
item there. Inserts to unordered_set do not invalidate pointers to values so the
pointer is always valid. Elements are not removed. Assume there is finite number
of string refIds.
2 years ago
elsid
3a0443c472
Make constexpr Misc::NotNullptr member functions
2 years ago
psi29a
d64eea2fc6
Merge branch '7113-move-from-std-atoi-to-std-from_char' into 'master'
...
Move from std::atoi to std::from_char
Closes #7113
See merge request OpenMW/openmw!2760
2 years ago
Shi Han
a90e3b8c3b
Move from std::atoi to std::from_char
2 years ago
psi29a
9664a57cad
Merge branch 'esmtool_strings' into 'master'
...
Use relative to content file path to find strings file
See merge request OpenMW/openmw!2837
2 years ago
elsid
67e96d48ba
Use relative to content file path to find strings file
...
To be used by esmtool when VFS is not used.
2 years ago
elsid
83d212fe0f
Use SFINAE to avoid conflicts between visit functions
2 years ago
psi29a
a60f657f5a
Merge branch 'fast_cell4_load' into 'master'
...
Lazy loading of ESM4::reference
See merge request OpenMW/openmw!2804
2 years ago
psi29a
2ff4a5a11a
Merge branch 'cs_fix_info_collection' into 'master'
...
Fix loading, inserting and moving topic info records
See merge request OpenMW/openmw!2806
2 years ago
Petr Mikheev
0b385d5db9
Create MWWorld::SafePtr
2 years ago
elsid
e032214fcb
Use common info ordering implementation for engine and editor
2 years ago
elsid
e892c62b10
Fix loading, inserting and moving topic info records
...
Topic info records need to have specific order defined via mNext and mPrev
fields (next and previous records). When loading multiple files a record may be
inserted into middle of the topic but neighborhood records may not be aware of
it. Having the order it's possible to move the records within one topic.
Sort the record once after loading all content files but preserve the order for
all other operations. Use std::map to group info ids by topic to make sure the
topics order is stable. Keep order within a topic for info ids on loading new
records. Use this order later for sorting the records.
2 years ago
psi29a
9b184a1698
Merge branch 'loadammo' into 'master'
...
Updates to ESM4::Ammunition loading
See merge request OpenMW/openmw!2830
2 years ago
Alexei Dobrohotov
3d87bc185d
Updates to ESM4::Ammunition loading
2 years ago
psi29a
e37860c1dc
Cherry pick 'openmw-48-stereo-fixes' into 'master'
...
Openmw 48 stereo fixes
See merge request OpenMW/openmw!2815
2 years ago
Petr Mikheev
58fdd687a8
Support links to GMST in l10n files
2 years ago
psi29a
efebb8efd8
Merge branch 'cmake_fixes' into 'master'
...
Formatting and coverage related CMake files fixes
See merge request OpenMW/openmw!2811
2 years ago
elsid
1cc4909144
Add --coverage to components_qt, benchmarks and openmw-cs
2 years ago
elsid
1857d8a68c
Use target_compile_options to add --coverage
2 years ago
elsid
cc066efa11
Fix identation in CMakeLists.txt
2 years ago
florent.teppe
170b732854
readers cache keep a stateless encoder
...
to keep access to the current encoding configuration
build linux
2 years ago
psi29a
ff7a098e74
Merge branch 'justbenormal' into 'master'
...
Unify collision shape transformations
See merge request OpenMW/openmw!2808
2 years ago
psi29a
b9f1d5d4e7
Merge branch 'seventeenth-times-the-charm' into 'master'
...
Fix #7264
Closes #7264
See merge request OpenMW/openmw!2805
2 years ago
Alexei Dobrohotov
562461a659
Unify collision shape transformations
2 years ago
psi29a
eca26e8b18
Merge branch 'Support-BA2-file-format' into 'master'
...
Support ba2 file format
See merge request OpenMW/openmw!2787
2 years ago
Alexei Dobrohotov
2277bdc1ae
Improve btTriangleMesh abuse (bug #6027 , part 2)
2 years ago
AnyOldName3
ccdb1bf6b7
Ensure shader requirements are pushed at least once for subgraph
...
Shaders, if deemed necessary, get attached to the node mentioned by the
top of the requirements stack. Previously an empty stack was incorrectly
assumed to mean no shaders were required, but we found out that was
wrong. We need to put shaders *somewhere*, and the root of the subgraph
we're modifying should be the best place.
2 years ago
AnyOldName3
aee1edaf9e
Partially revert "Attach shaders to geometry that lacks a stateset if necessary"
...
This reverts commit 6aef366fd3
.
2 years ago