Commit Graph

30188 Commits (e938c04e3021d9cc756351e51c211ee6bd696317)
 

Author SHA1 Message Date
florent.teppe ebfee18e35 implements std::visit for CellVariant, fixes struct vs class forward decl 2 years ago
florent.teppe 0723c32428 flags no longer bitfield 2 years ago
florent.teppe aa29f86efe fixed struct vs class. 2 years ago
fteppe 808c7367c9 Fix compile 2 years ago
elsid d541436b15
Support parent, type and value fields in esmtool for ESM4 2 years ago
elsid e7acced5e9
Move metafunctions to check ESM4 field existence to a separate header 2 years ago
elsid 5bb088218e
Restore original formId
To make sure esmtool prints original value and not a result of conversion.
2 years ago
jvoisin b12507f808 Merge branch 'cleaner_uniform_getter' into 'master'
Remove redundant conditionals

See merge request OpenMW/openmw!2658
2 years ago
glassmancody.info 165013ddd6 remove redunant conditional checks when getting uniforms 2 years ago
florent.teppe 9054722f4a std::visit everywhere! 2 years ago
florent.teppe f9da66e9ee Greatly improved how the variant on MWWorld::CellRef works 2 years ago
florent.teppe 216ca71149 Applied review comments
getEditorName => getNameId
restored cosntructor in CoordinateConverter
2 years ago
florent.teppe e6e27413d9 gives MWWorld::CellRef the MWWorld::Cell treatment
MWWorld::CellRef now has a variant, and datas that are part of the intersection of both ESM4::Reference and ESM::CellRef are part of MWWorld::CellRef

For ESM4 most data isn't filled in, so it returns default values.
2 years ago
elsid 8be2fc9fd7
Stop updating navmeshtool progress on first bad message 2 years ago
florent.teppe 23614ae2ae Renamed esm3esm4bridge => esmbridge 2 years ago
florent.teppe 5037dcf9bc Fixes a crash on launch and some compile issue
also uses std::visit in cellstore comparison to avoid missing combinasion

split loadrefs in loadref of ESM4 and ESM3.
2 years ago
florent.teppe cb8cdd8831 ESM::CellVariant aans MWWorld:Cell now take reference in constructor: signals that nullptr isn't accepted.
also applied other review comments.
2 years ago
florent.teppe 531e55e04c Better handling of the esm3 vs esm4 cell problem
Common attribute are in one structure that has two constructors, one for ESM3 vs ESM4 Cell
Mood part of MWWorld::Cell
2 years ago
elsid cf75363290
Typed launcher settings
QMultiMap is not clear about what settings exist and it's not efficient way to
access them after they are loaded.
2 years ago
elsid b1d0ee1f1b
Load only launcher.cfg from user folder
There is no other launcher.cfg.
2 years ago
psi29a 22c62a8c38 Merge branch 'join_path' into 'master'
Join path components using path::operator/ instead of string::operator+

See merge request OpenMW/openmw!2652
2 years ago
elsid 0961720835
Join path components using path::operator/ instead of string::operator+ 2 years ago
florent.teppe 6d25d4bc13 It loads cells and palce sstatics in them
Many missing meshes, no lights etc... But can coc into interior cells and see them.
2 years ago
florent.teppe 3515c8e61a Static references are created as refcells, nothing displayed yet. 2 years ago
florent.teppe c896a2ca48 Crashfix on launch 2 years ago
florent.teppe 0018bcf7de Should make cellvariant safer to use.
Hopefully clang tidy agrees.
2 years ago
florent.teppe e81e278363 Implements some cell params + linux compile fix 2 years ago
florent.teppe 562e129bd0 encapsulations of esm3 cell and esm4 cells. 2 years ago
florent.teppe 08b68fcd48 Cannot load a cell yet, but getting more necessary parts in 2 years ago
florent.teppe cddf6f29d6 Nothing can be loaded yet. Just foundations. 2 years ago
Alexei Kotov 0f9bb71534 Merge branch 'morecicells' into 'master'
Fix more case issues with cells

See merge request OpenMW/openmw!2648
2 years ago
unelsson 9b808a495c Use std::variant and std::visit instead of function overloads, add float type search, fix QMetaType and Type conversion 2 years ago
Evil Eye 7ca25e6467 Fix more case issues with cells 2 years ago
psi29a 9f3025257a Merge branch 'local_nwah' into 'master'
Use worldspace coords in AiWanderStorage

See merge request OpenMW/openmw!2645
2 years ago
psi29a 897b5afd79 Merge branch 'fix_coc_searchExtByName' into 'master'
fix coc search Store<ESM::Cell>::searchExtByName

See merge request OpenMW/openmw!2646
2 years ago
fteppe 889de35b99 fix coc search extbyname 2 years ago
Evil Eye d40a9ec5bc Use worldspace coords in AiWanderStorage 2 years ago
psi29a a9dbb023d7 Merge branch 'lua_create' into 'master'
Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893)

See merge request OpenMW/openmw!2627
2 years ago
psi29a e0f7884635 Merge branch 'count_loc' into 'master'
Improve duration tooltip

See merge request OpenMW/openmw!2644
2 years ago
Andrei Kortunov a774a51699 Improve duration tooltip 2 years ago
Petr Mikheev c294898246 Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893) 2 years ago
psi29a 7be20301af Merge branch '24-7lofibeatstoachievechimto' into 'master'
Rework music playback (bug #7172)

Closes #7172

See merge request OpenMW/openmw!2640
2 years ago
psi29a 90d9cc5042 Merge branch 'old-editor-icons' into 'master'
Remove old, unused OpenMW-CS icons and their source files.

See merge request OpenMW/openmw!2624
2 years ago
Petr Mikheev e7120f189b Unset RefNums after copying containers (otherwise copies will have the same RefNums, but they should be unique) 2 years ago
Petr Mikheev 5983f22290 Remember actor in the actor's InventoryStore instead passing the actor in every call 2 years ago
psi29a 1422053fa9 Merge branch 'more_uniforms' into 'master'
[Postprocessing] Add sky and ambient colors

See merge request OpenMW/openmw!2638
2 years ago
psi29a eb853b1315 Merge branch 'ptmikheev-master-patch-34687' into 'master'
Fix constexprant

See merge request OpenMW/openmw!2643
2 years ago
psi29a f5cacad426 Merge branch 'Revert_CellName_Type' into 'master'
Revert the usage of ESM::RefID for cell names.

See merge request OpenMW/openmw!2642
2 years ago
Petr Mikheev 24ef6d29d4 Fix constexprant 2 years ago
florent.teppe a4137e941c std::string_view can be used in map and unordered map
This avoids some unecessary dynamic allocations.
Also applies some review advice.
2 years ago