Commit Graph

2243 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
Andrei Kortunov 070327a259 Change SVG color in the editor 8 months ago
psi29a 02cdeb6252 Merge branch 'scalable_editor' into 'master'
Treat editor icons as scalable

See merge request OpenMW/openmw!4042
9 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 9 months ago
Andrei Kortunov 2264d067fc Clamp widgets coordinates to avoid crashes 9 months ago
AnyOldName3 04f1dc282b Merge branch 'fix-osga-rotate-wildly' into 'master'
Fix OSGAnimation issues

See merge request OpenMW/openmw!3989
9 months ago
psi29a 3600c6c7c7 Merge branch 'filterview' into 'master'
Validate INFO filters when loading the record

See merge request OpenMW/openmw!4003
9 months ago
Andrei Kortunov 1ad9e5f9e8 Rework editor icons 9 months ago
Evil Eye a4625ea784 Deduplicate dialogue filter parsing 9 months ago
Sam Hellawell c3420ed306 Fix build 9 months ago
Evil Eye 781e797810 Merge branch 'instanceselectionmode' into 'master'
Fix instance selection mode destruction (#7447)

Closes #7447

See merge request OpenMW/openmw!3945
10 months ago
Sam Hellawell a62da201e5 check for land index not -1, fix warning
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell aa0c9fb4cb Fix: cannot drag region into map, map columns are rectangular 10 months ago
psi29a 090e57b27c Merge branch 'esm3structs' into 'master'
Replace fixed size writeHNT calls with decomposition

See merge request OpenMW/openmw!3914
10 months ago
Alexei Kotov cdbe6adfc3 Fix instance selection mode destruction (#7447) 10 months ago
psi29a 9434f52c14 Merge branch 'fix/less-strict-ids' into 'master'
Fix(idvalidator): Allow any printable character in refIds

Closes #7721

See merge request OpenMW/openmw!3896
10 months ago
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 10 months ago
AnyOldName3 36a75cdb29 Get the GLExtensions instance when a context is created 11 months ago
Dave Corley 090a389feb Cleanup(idvalidator): Just don't use isValid function and instead
directly check if input is a printable char
11 months ago
Dave Corley 9fc66d5de6 Fix(idvalidator): Allow any printable character in refIds 11 months ago
Dave Corley 1b1f0c4971 Switch height/weight in names and make the stats a simple struct instead 11 months ago
Dave Corley 98ad059806 Cleanup(actoradapter): Use more explicit names & vec2 for racial height/weight 11 months ago
Dave Corley 049550d73e Cleanup(Actoradapter.cpp): Create new struct for race stats, use
std::pair instead
11 months ago
Dave Corley b31664a78f Fix(CS): Scale actors according to their race's stats 11 months ago
psi29a 76ad680549 Merge branch 'tools' into 'master'
Use move semantics for tools

See merge request OpenMW/openmw!3795
12 months ago
Andrei Kortunov 737d3b499b Use move semantics for tools 12 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
Evil Eye 0f6133b040 Merge branch 'move_editor' into 'master'
Move local variables in the editor

See merge request OpenMW/openmw!3771
12 months ago
Andrei Kortunov f8c1d48c0b Get rid of redundant casts 12 months ago
Andrei Kortunov 074ab682ab Move local variables in the editor 12 months ago
Dave Corley c563219b61 Cleanup(CS): Pass const ref when applicable for selection groups 1 year ago
Alexei Kotov 8a91e7057f Merge branch 'ref_id_universal_id' into 'master'
Fix RefId based UniversalId (#7747)

Closes #7747

See merge request OpenMW/openmw!3702
1 year ago
elsid 39dd73263d
Avoid converting UniversalId to a different type via string 1 year ago
Dave Corley 25f3e09da9 Fix(CS): Correct build issues on some compilers 1 year ago
Dave Corley 33ce7782e9 Feat(worldspacewidget.cpp): Add shortcut to clear selection 1 year ago
Dave Corley a7f8ee1106 Feat(instancemode.cpp): Implement save/load selection group functions 1 year ago
Dave Corley 23e75bed8f Feat(object.cpp): Make object outline an optional argument when selecting it 1 year ago
Dave Corley f287914f1e Feat(cell.cpp): Add select/unhide functions in cell.cpp 1 year ago
Dave Corley 8edc148418 Feat(CS): Implement select/unhide functions into interior & exterior
worldspace widgets
1 year ago
Dave Corley 94eadd436d Feat(worldspacewidget.cpp): Implement shortcut for visibility switching
& unhiding all instances
1 year ago
Dave Corley 9d155afc15 Feat(worldspacewidget.hpp): Add virtual decs for selection functions 1 year ago
Dave Corley cf098033b9 Feat(Mask.hpp): Add mask for hidden objects 1 year ago
Evil Eye 36b61d7074 Merge branch 'copy-that' into 'master'
Feat(CS): Implement Instance Cloning

See merge request OpenMW/openmw!3654
1 year ago
elsid a29ae07957
Fix CS Key Binding settings page
This got broken by e07d8f3066. Creating QGridLayout with parent and setting it
later has not the same effect.
1 year ago
Dave Corley bc662aeb63 Fix(CS): Fix minor issue in deleteSelectedInstances impl which caused it
to run twice
1 year ago
Dave Corley 7069a970ae Feat(CS): Implement instance cloning 1 year ago
Andrei Kortunov 6f68df9ac2 Avoid redundant copies 1 year ago
elsid e07d8f3066
Add separate setting type for subcategory 1 year ago
elsid fb6e429dad
Remove "separators" from cs settings
Those are just empty widgets which do not make significant visible difference in
the UI.
1 year ago
elsid 335dbffe6e
Avoid std::string to QString conversion for label 1 year ago
elsid 08902371b4
Use settings values for Shaders settings 1 year ago
elsid 053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 1 year ago
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 1 year ago
elsid 28614730da
Pass land reference to LandObject constructor 1 year ago
elsid 2a49919b53
Move esm3terrain to esmterrain 1 year ago
psi29a 4aaffa72e5 Merge branch 'more_coverity_fixes' into 'master'
More coverity fixes

See merge request OpenMW/openmw!3304
1 year ago
Andrei Kortunov 0723b44a65 Do not copy QVectors twice 1 year ago
Andrei Kortunov 35561450f1 Do not copy osg::ref_ptr when possible 1 year ago
Andrei Kortunov d3d7a663c6 Move some objects instead of copying 1 year ago
Andrei Kortunov b1c8a968ae Do not use invalid iterators 1 year ago
Matjaž Lamut d12426f1b0 Add white space and larger default opening size of OpenMW-CS preferences window. Improves first-impression and overall readability. 2 years ago
Evil Eye 6b7e7acd16 Replace a number of incorrect index types 2 years ago
psi29a df57f8004b Merge branch 'default' into 'master'
Replace some empty constructors and destructors with default

See merge request OpenMW/openmw!3078
2 years ago
Evil Eye 9214ffb50b Replace some empty constructors and destructors with default 2 years ago
florent.teppe ad8cfde4e0 ESM::LandData no longer a virtual interface
instead it is constructed from ESM::Land or ESM4::Land
2 years ago
fteppe 22dc383f63 fixes errors and warnings
Applies review comments

getWorldspaceTerrain => returns a reference because never null
crashfix in navigator
updateLandPositions fixes naming of it
const ESM4::Land* MWWorld::Store<ESM4::Land>::search(ESM::ExteriorCellLocation cellLocation) const removes useless else
ExteriorCellLocation uses default initializers
get terrain height returns -MAX_FLOAT when there is no esm4 terrain.

applied review comments

use default initlializer when possible
factorise code
uses pattern matching in for loop.
2 years ago
florent.teppe e0fa15b727 Abstracted Land data that can be used by esm3 and esm4. 2 years ago
florent.teppe 1b718f09c5 adding worldspace info to terrain data structures
Rendering manager can have multiple terrain, one for each queried worldspace
Terrain::World has a worldspace member
storage functions require a worldspace parameter.
2 years ago
florent.teppe 93e7b0d946 Terrain has a mandatory worldspace in constructor
getTerrainHeightAt takes a worldspace.

Doesn't change anything for now => Therrain is created with the default ESM3 worldspace, and is never changed.
2 years ago
psi29a 01705485b8 Merge branch 'grow_limit' into 'master'
[Needs testing] Migrate Grow Limit editor feature to a more modern code

See merge request OpenMW/openmw!2637
2 years ago
florent.teppe 56cb2a83ec removed sDefaultWorldspace, only sDefaultWorldspaceId now.
sDefaultWorldspaceId is a StringRefId to be able to getvalue easily.
2 years ago
jvoisin c7a3f43915 Minor header cleanup
This has been done via CLion's "unused include directive",
set to "detect completely unused".
2 years ago
florent.teppe cb4a97e50b Displays references in exterior cells. A bit hackish. 2 years ago
psi29a 4fd8ed8f13 Merge branch 'qt_scene' into 'master'
Migrate from GraphicsWindowQt to QOpenGLWidget

See merge request OpenMW/openmw!2895
2 years ago
Evil Eye 8d8207b734 Refactor pathgrid indices to use size_t instead of int 2 years ago
Andrei Kortunov 3e9cedf3b5 Use a compile-time check 2 years ago
Andrei Kortunov 8df7ce545e Migrate from GraphicsWindowQt to QOpenGLWidget 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
Evil Eye 6e33da6cfe Don't capture temporaries by reference 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
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
elsid 0d523c3793
Log loading errors 2 years ago
elsid 9598b26462
Make loading error messages copyable 2 years ago
elsid d03bec60e9
Avoid redundant conversion from RefId to string and back 2 years ago
elsid 419a86f0b9
Use ESM::RefId for actor parts
To avoid redundant conversion RefId to string and back.
2 years ago
elsid e618026c69
Use ESM::RefId as index key in collections 2 years ago
psi29a 944931c9bf Merge branch 'load_esm4_lights' into 'master'
Adds ESM4 light into ESM4 Cells

See merge request OpenMW/openmw!2692
2 years ago
Andrei Kortunov 9ad0e2f4e6 Migrate Grow Limit editor feature to a more modern code 2 years ago
florent.teppe 486d15b19e moved light common to its own file
moved esm4light to it's own file
2 years ago
florent.teppe dc961e3189 Adds the light into the scene.
Common struct for ESM3 and ESM4 light
2 years ago
psi29a a0795ba7ae Merge branch 'launch_fix' into 'master'
Fix some non-ASCII path issues

Closes #6817

See merge request OpenMW/openmw!2686
2 years ago
Andrei Kortunov 7e2aedf637 Add an initial Qt6 support 2 years ago
Andrei Kortunov 5836d27928 Fix ContentSelector usage with non-ASCII paths 2 years ago
unelsson fe70285ac1 Fixes 2 years ago
psi29a 3f9cae7947 Merge branch 'dragdetails' into 'master'
[OpenMW-CS] Generate record filters based on cell content and column header

Closes #7161

See merge request OpenMW/openmw!2617
2 years ago
unelsson 5bbe9bc5d8 cleanup and style (const ref instead of value, consistent ifndef naming) 2 years ago
unelsson 6b0998ff85 Implement enum class FilterType 2 years ago
unelsson 2e7d41373b Remove unused includes, fix std::get logic at editwidget 2 years ago
unelsson 2fac4d0e40 Use struct with sensible member names 2 years ago