Cody Glassman
8ec0a52605
Toggable day night switch ( #5928 )
3 years ago
AnyOldName3
8fc09f8c51
Merge remote-tracking branch 'upstream/master' into detain-hash-selectively-reluctant
...
Merge conflicts included:
* One setting being removed (branch had changed its type).
* One setting's description being changed (branch had changed its type).
* List of files in components/files was changed both upstream and on the
branch.
* Upstream had changed something in a file the branch deletes.
3 years ago
Bret Curtis
9336626927
use OPENMW_RESOURCES_ROOT instead
3 years ago
Bret Curtis
a9bf53d4ed
modified builtin_scripts to be macOS aware; simplified things as the SHADER and MYGUI dir were just pointing to the OpenMW_BINARY_DIR anyway, so removing the code duplication
3 years ago
AnyOldName3
84d6de3eba
Parse paths with boost rules when it's quoted, but use the string verbatim when it's not
3 years ago
Evil Eye
52f9634624
Allow the CS to handle the repeat flag for all types
3 years ago
psi29a
5c5c71778a
Merge branch 'circular' into 'master'
...
Consistently sort content files
See merge request OpenMW/openmw!1350
3 years ago
Evil Eye
6daefe3ddc
Cast to the unsigned char expected by cctype functions
3 years ago
Evil Eye
f23bd51175
Don't check bounds when the type is unambiguously a char
3 years ago
Evil Eye
751e8cf76b
Do a bounds check before calling functions defined in cctype
3 years ago
AnyOldName3
8fb0b5846e
Allow paths with trailing data, emmitting a warning
3 years ago
Evil Eye
a3e039d862
Explicitely sort by file name after adding all data dirs
3 years ago
Alexei Dobrohotov
7a0c13fcf8
Make better use of std::clamp
3 years ago
Bo Svensson
6cf74f7041
refactors ESM::Land ( #3213 )
...
With this PR we reduce coupling, simplify code, encapsulate a variable and separate actual `ESM` data from its context.
3 years ago
Petr Mikheev
37386f417e
Support *.omwscripts in openmw-launcher
3 years ago
Evil Eye
9b565c4cf9
Remove dead code
3 years ago
Bo Svensson
c9c8d02332
fixes a crash ( #3183 )
...
This PR fixes a crash caused by the improperly ensured lifetime of RigGeometry::mSourceGeometry. mSourceGeometry was not adequate to ensure mSourceGeometry would outlive mGeometry because we extend mGeometrys lifetime beyond this lifetime by passing mGeometry to the draw traversal instead of this.
In addition,
We add important comments.
We detect and prevent generally unsafe operations in high level code.
We add a sprinkling of const to help clarify intentions.
3 years ago
elsid
18d3102148
Do not use union to access FIXED_STRING<4> as int
...
https://en.cppreference.com/w/cpp/language/union :
> It's undefined behavior to read from the member of the union that wasn't most recently written.
3 years ago
unelsson
14c4bba4a3
Remove unused include
3 years ago
unelsson
28278e9a82
Drawing duplicate lines is faster than iterating through big containers
3 years ago
unelsson
55456a19fc
Only iterate through temporary selection when using toggle
3 years ago
unelsson
46960825ef
Various terrain selection and editmode dragging fixes
3 years ago
unelsson
89a20b6ea5
Call dragEnded instead of pressed also after aborted operation
3 years ago
unelsson
3df9ceda03
Remove measurement code
3 years ago
unelsson
7602d677fa
Terrain selection optimizations, measurements, renderBin change
3 years ago
Petr Mikheev
a8acc19988
Avoid copying std::string in MWWorld::Ptr::getTypeDescription()
3 years ago
AnyOldName3
1b83b08d80
Merge remote-tracking branch 'upstream/master' into detain-hash
...
Tests which no longer work are commented out.
Some of these don't work because they're effectively testing for the
presence of bugs in the old implementation.
Others don't work because we're no longer accidentally disabling the
boost::program_options feature where it generates an error if only part
of a token gets consumed.
These will be fixed by later commits.
3 years ago
AnyOldName3
af0d399103
Purge all uses of Escape Hash types
3 years ago
psi29a
fc7e13d76a
Merge branch 'omwaddon_dep' into 'master'
...
Allow creating omwaddons without a dependency on an omwgame
See merge request OpenMW/openmw!1243
3 years ago
psi29a
555224a0fb
Merge branch 'fixes' into 'master'
...
Make compilers happy and fix the changelog
See merge request OpenMW/openmw!1260
3 years ago
Evil Eye
d680aa26e9
Disallow switch fallthrough
3 years ago
Matjaž Lamut
1c9f06f742
Minor UI tweaks all around OpenMW-CS
3 years ago
psi29a
782e0710af
Merge branch 'OpenCS-preserve-blocked' into 'master'
...
OpenCS - Preserve "blocked" record flags when saving. #6288
Closes #6288
See merge request OpenMW/openmw!1052
3 years ago
psi29a
ade6cd0127
Merge branch 'editor_columns_filtering' into 'master'
...
Toggling table columns visibility. Partially implements #890
Closes #890
See merge request OpenMW/openmw!1232
3 years ago
Petr Mikheev
413ac067ec
Allow creating omwaddons without a dependency on an omwgame
3 years ago
psi29a
e2e5161d81
Merge branch 'optimizebrushdraw' into 'master'
...
Optimize terrain editing brush drawing performance
Closes #6285
See merge request OpenMW/openmw!1226
3 years ago
Pi03k
e641bea606
Toggling table columns visibility
3 years ago
Evil Eye
831055f878
Merge branch 'OpenCS-fix-modify' into 'master'
...
OpenCS - Re-implement the fix for Issue #6067 .
See merge request OpenMW/openmw!1173
3 years ago
psi29a
18f5762a76
Merge branch 'master' into 'OpenCS-preserve-blocked'
...
# Conflicts:
# CHANGELOG.md
3 years ago
unelsson
70e210735a
Optimize terrain editing brush drawing performance
3 years ago
Pi03k
4ff5a04e9b
Remove redundant qt-related cmake macros
3 years ago
psi29a
24d1c2b5fa
Merge branch 'recurse_directory_iterator' into 'master'
...
VFS manager refactoring
See merge request OpenMW/openmw!1218
3 years ago
Cédric Mocquillon
d4e26746a3
Use recurse subdirectory iterator to iterate over the VFS without exposing internal details
3 years ago
pi03k
e4eeb9cce9
Remove 'no relevant classes' moc warning
3 years ago
psi29a
0ab8a7ddd7
Merge branch 'create-objects-menu' into 'master'
...
OpenMW-CS: Usability changes to the drop-down menu when creating a new object.
See merge request OpenMW/openmw!1210
3 years ago
Lamoot
6e6214bc43
In OpenMW-CS, when creating a new object, sort the entries in the drop-down menu alphabetically. Also have the menu be tall enough to show all of them at once (without scroll bars).
3 years ago
elsid
6b7434ca69
Pass std::string_view instead of const std::string&
...
* Starting with Actor::getBodyPartMesh and ending with
Misc::StringUtils::ciEqual.
* Add tests for Misc::StringUtils::ciEqual.
3 years ago
elsid
b0f772af40
Define dependency to OSG plugins in one place
...
Each binary depending on components library requires OSG plugins to be linked.
Duplicating dependecies for each binary does not give benefits and brings
problems when new binary is added.
3 years ago
psi29a
6170971ea3
Merge branch 'bettermoveinstance' into 'master'
...
Set instance movement based on camera zoom
See merge request OpenMW/openmw!1186
3 years ago
elsid
a8c16071dc
Fix -Wreturn-local-addr warning
...
/home/elsid/dev/openmw/apps/opencs/model/world/actoradapter.cpp: In member function ‘const string& CSMWorld::ActorAdapter::ActorData::getPart(ESM::PartReferenceType) const’:
/home/elsid/dev/openmw/apps/opencs/model/world/actoradapter.cpp:142:20: error: returning reference to temporary [-Werror=return-local-addr]
142 | return "";
| ^~
3 years ago
jvoisin
d4e3575f1d
Don't use `const` for objects returned by value.
...
This prevents the usage of std::move semantics,
and makes clang-tidy sad.
3 years ago
unelsson
f876ff2c14
Clear temporary movement data at the end of the drag
3 years ago
unelsson
53d315c862
XYZ-locking, mouse wheel move fix
3 years ago
unelsson
23fe3d74ab
Use floats, not doubles
3 years ago
unelsson
840e7615f5
Store object origins and move difference
3 years ago
unelsson
0d511da615
Test of basic mouse-plane use
3 years ago
jvoisin
deb2af6acc
Dont copy-construct from a const-ref when used only as a const-ref
...
This also makes clang-tiny a bit happier
3 years ago
cc9cii
0a5571f19e
Disable editing for blocked records in both table and dialogue edit widget.
3 years ago
cc9cii
b0d5ca386d
Update original cell column and do not modify the refnum when moving a reference to another cell with 3D editing.
3 years ago
cc9cii
2eb210f31a
Partially undo commit 71be4cdd20
so that moved references retain the original refnum. This is consistent with vanilla CS's behaviour.
3 years ago
cc9cii
b2bd97f283
A different implementation to MR 1051 to fix Issue #6067 .
...
This MR doesn't delete the original record, but instead the original record is updated with the moved record when loading.
Issue #4752 is no longer addressed in this MR.
3 years ago
cc9cii
7264a10c07
Partially revert commit dab1a9e7fb
3 years ago
cc9cii
7227a83e60
Preserve "blocked" record flags when saving with OpenCS. This will help outputs of OpenCS to be used with vanilla Morrowind.
...
Sample use case: users are using the Morrowind Code Patch feature that allows modders to enable this flag to differentiate editor-made potions from player crafted potions for tooltips.
3 years ago
psi29a
66f028c4a1
Merge branch 'correctcommandimplementation' into 'master'
...
Don't do storage in constructors of the commands
See merge request OpenMW/openmw!1126
3 years ago
psi29a
fff35dcb03
Merge branch 'Ignore-empty-pgrd' into 'master'
...
Do not store empty PGRD records. Should resolve Issue #6209 .
See merge request OpenMW/openmw!1121
3 years ago
unelsson
de3497d291
Fix undo-redo crash
3 years ago
unelsson
890ce1eefb
Reverse action order for redo and undo
3 years ago
unelsson
0cfabd6f3b
Move mapToSource back to constructor
3 years ago
unelsson
b2fe591590
Don't do any storing in the constructor
3 years ago
unelsson
45549da0f5
For most commands, set mOld in redo, not in constructor
3 years ago
psi29a
716eebe616
Merge branch 'terrainselectioncrashfix' into 'openmw-47'
...
Fix terrain selection crash
See merge request OpenMW/openmw!1165
(cherry picked from commit ec4e3b04a7
)
b84e41bd
Avoid storing ref, dynamic cast worldspacewidget for safety
d62ddc00
Use QPointer to detect object existence, less verbose debug messages
cb42b528
Remove friend, make getEditMode public to allow editmode testing.
4b148180
Restucture code
08f7c73e
Fix text
3 years ago
psi29a
d09c807a40
Merge branch 'fixbadcast' into 'master'
...
Fix std::bad_cast
Closes #6217
See merge request OpenMW/openmw!1130
3 years ago
unelsson
7801f42005
Don't do mapToSource at executeModify
3 years ago
elsid
e9b8933b2f
Do no link binaries with Qt where it's not used
...
Define components_qt static library with all qt dependent components that also
depends on other components. Link only cs, wizard and launcher with qt
dependent components.
3 years ago
cc9cii
bd3ef506cd
Empty Pathgrid record is considered as the modder's intention to delete any existing record.
3 years ago
unelsson
298db2ef76
Initialize and check pointer.
3 years ago
unelsson
f1d05a93bf
Get index and model from proxy
3 years ago
psi29a
b770373491
Merge branch 'OpenCS-enforce-str-length' into 'master'
...
OpenCS - Disallow entry of strings longer than the lengths allowed by the file format (#3066 )
See merge request OpenMW/openmw!1088
3 years ago
glassmancody.info
09e03fde2e
refactor and fix wobbly shores
3 years ago
glassmancody.info
70fac33940
initial reverse-z depth implementation
3 years ago
cc9cii
8aee84c46e
Disallow entry of strings longer than the lengths allowed by the file format.
...
It is possible to allow longer strings but that will require an extension in the omwaddon format as well as changes to the reader to handle that extension. Such changes should be a separate MR.
(applied the patch in https://gitlab.com/OpenMW/openmw/-/issues/3066 )
3 years ago
psi29a
9fa7521fc5
Merge branch 'OpenCS-no-charconv' into 'master'
...
OpenCS - Avoid the inclusion of charconv header
See merge request OpenMW/openmw!1087
3 years ago
psi29a
9b7e14ec00
Merge branch 'OpenCS-moved-reference' into 'master'
...
OpenCS - Fix moved reference - Issues #3514 and #4752
See merge request OpenMW/openmw!1051
(cherry picked from commit 2bee171c7990522da33c2667f7d079fa35f4ede0)
36c30f7f Fix for Issue #3514 where moving a reference to another cell is not handled properly.
40327681 Update the changelog.
3 years ago
cc9cii
bf06898a79
Retain the use of std::string_view in the function signature.
3 years ago
cc9cii
99e691fbe3
Avoid the inclusion of <charconv> header due to Ubuntu Bionic (18.04) which as gcc version less than 8.1
...
Partially reverts commit fd67ebde25
3 years ago
unelsson
09ee2a0a36
fix texture brush index search
3 years ago
psi29a
4b48e62b64
Merge branch 'fixandclean' into 'master'
...
Fix opencs build and remove some clang warnings
See merge request OpenMW/openmw!1078
3 years ago
fredzio
1391194152
Remove unneeded return statement
3 years ago
fredzio
9ba459662d
Remove unneeded std::move
...
[19/199] Building CXX object apps/opencs/CMakeFiles/openmw-cs.dir/model/world/commands.cpp.o
../../../apps/opencs/model/world/commands.cpp:298:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
mOld = std::move(model.getRecord (id).clone());
^
../../../apps/opencs/model/world/commands.cpp:298:12: note: remove std::move call here
mOld = std::move(model.getRecord (id).clone());
^~~~~~~~~~ ~
../../../apps/opencs/model/world/commands.cpp:333:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
mOld = std::move(model.getRecord (id).clone());
^
../../../apps/opencs/model/world/commands.cpp:333:12: note: remove std::move call here
mOld = std::move(model.getRecord (id).clone());
^~~~~~~~~~ ~
2 warnings generated.
3 years ago
fredzio
36e33b0cf2
Add missing override
3 years ago
fredzio
bede1ea1ec
Fix build
3 years ago
psi29a
15d278de55
Merge branch 'opt-out-compose' into 'master'
...
Make it possible to opt out of composing variables
Closes #6186
See merge request OpenMW/openmw!1076
3 years ago
cc9cii
67cad2c515
Fix `CSMWorld::InfoCollection::getTopicRange()` returning one too many.
3 years ago
AnyOldName3
4727ae4b3b
Make it possible to opt out of composing variables
3 years ago
psi29a
141095b850
Merge branch 'OpenCS-loading-opt' into 'master'
...
OpenCS loading time improvements
See merge request OpenMW/openmw!1044
3 years ago
cc9cii
33dcd7585a
OpenCS - Jump To Modified
3 years ago
cc9cii
3e466699c8
A better way to plug a potential memory leak in the event of an exception during push_back().
3 years ago
cc9cii
fd67ebde25
Changes based on review comments, including:
...
* replace murmurhash with std::unordered_map
* plug potential leak from unique_ptr release
* replacing some sections with cleaner code
3 years ago
cc9cii
ee3361a118
Fix table being sorted twice (at least it appeared that way according to the sample profiler)
...
- Quoting Qt-4.8: "Note: . Setting the property to true with setSortingEnabled() immediately triggers a call to sortByColumn() with the current sort section and order."
(copied the changes from commit SHA-1: 77394fce99
)
3 years ago
cc9cii
725d689e8a
Call push_back() if inserting to the end of the vector. It seems MSVC may be generating different code compared to insert().
...
(copied the changes from commit SHA-1: 257126ed69
)
3 years ago
cc9cii
44a333b6db
Don't attempt to open files yet to be created.
3 years ago
cc9cii
5c504e4d22
Convert the CellRef record index lookup maps to use integer keys rather than strings.
...
- Morrowind load over 300,000 references, so even small inefficiencies add up to longer loading times.
- std::map is used, but should try others, std::unordered_map or even std::vector
(copied the changes from commit SHA-1: 86945d1912
)
3 years ago
cc9cii
10c6304a1f
Fix typo from commit cfdbd0d471
.
3 years ago
cc9cii
fc2f68a465
Change the loader's top progress bar to show total number of records processed rather than the number of files.
...
(copied the changes from commit SHA-1: ff072441fd
)
3 years ago
cc9cii
5fffcab94f
Performance improvements for loading Info records.
...
- The order of info records with the same topic are maintained in Collection::mRecords
- The index lookup data structure are not ordered. The topic string is hashed. The infos for the topic are simply placed in a vector.
- The index values for appending or inserting a record takes prev/next values (if exist)
- FIXME: prev/next values are not adjusted for adding or removing records
- FIXME: undo after reordering does not reset the modified flag
(copied the changes from commit SHA-1: 06f9922822
)
3 years ago
cc9cii
66bda84240
Convert RefNum index map to use find().
...
(copied the changes from commits 68e16b6cee
and 0de223c637
)
NOTE: it is unclear how this change affects commit 61a4a0807b
3 years ago
cc9cii
be45092e55
Use std::unique_ptr to store records in collections, RefidCollection and RefIdData.
...
(copied the changes from commit 23e7e3c165
)
3 years ago
elsid
cfdbd0d471
Indicate moved cell refs explicitly
...
This is less error prone approach than use of MovedCellRef fields.
Also make separate functions for skipping and reading moved cell refs to avoid
passing special flags logic and null pointers for unused arguments.
4 years ago
psi29a
126cf40848
Merge branch 'filter' into 'master'
...
Add a default filter to CS tables
See merge request OpenMW/openmw!958
4 years ago
cc9cii
ae4ddd810f
More dead code removal.
4 years ago
cc9cii
ec457a09c3
Fix Npc edit widget index out of bounds due to a removed column.
4 years ago
cc9cii
f68c81e631
Merge branch 'master' into 'OpenCS_Bug6017'
4 years ago
cc9cii
4b3de46bfa
Use enums in place of magic numbers. Ensure Creature and NPC cell references are always saved as persistent.
4 years ago
elsid
7498a86abe
Remove redundant semicolons
4 years ago
cc9cii
42bcbe34de
Cell references that teleport (Doors) should be placed in the "persistent" group when saving.
4 years ago
psi29a
07c3ed16d0
Merge branch 'base64-fixes' into 'master'
...
Base64 fixes
Closes #6111
See merge request OpenMW/openmw!965
4 years ago
cc9cii
2d8dd9be32
Fix using incorrect id to search for record flags. Eliminate inefficient double-loop in saving cell references.
4 years ago
cc9cii
47ef98ca1b
Clean up RefIdData code for better legibility.
4 years ago
cc9cii
f2a301653c
Remove redundant mPersistent member from ESM::NPC and ESM::Creature, replaced by mRecordFlags. Fixed the editing of the persistence flag value.
4 years ago
cc9cii
2a76634f5f
Moved persistence flag from references to the header flags of referenceables (e.g. Static, Weapon, etc). Editing widget is not fully working.
4 years ago
cc9cii
f6eab52a1b
Added "Persistent" column to references table.
4 years ago
cc9cii
024ad3276b
Partial fix for #6017 . The persistence flag of the references are saved but it is not yet possible to modify it via OpenCS.
4 years ago
elsid
8d2cdedc87
Show number of pathgrid node in a tooltip
...
To allow users faster understand what node it is.
4 years ago
AnyOldName3
d38126ef1c
Pack default CS config
...
*Technically* it was already being loaded as if it were packed, but it
made no difference because it's supposed to be empty.
4 years ago
Alexey Sokolov
ec576b36f1
Add a default filter to CS tables
...
This fixes the single most annoying issue of OpenMW-CS: inability for
users to filter records in the table if they don't happen to know by
heart the syntax of the very powerful filter engine. Because simply
typing the text into the search field did not work. Now, existence of .*
suggests that regex is used, and users still can replace the text with a
custom filter if they wish.
4 years ago
Evil Eye
7377568f01
Merge branch 'modernize_use_override_openmw_cs' into 'master'
...
Using override keyword in OpenMW CS
See merge request OpenMW/openmw!888
4 years ago
Alexey Sokolov
3e4340338f
Update IRC links to libera
...
In README, in OpenCS about dialog, in Travis notification
4 years ago
Thunderforge
945f1aad20
Using override keyword in OpenMW CS
...
Detected by clang-tidy's modernize-use-override
4 years ago
Atahualpa
3a1243a5d0
Rebased branch, reduced code duplication, added comments, adjusted formatting.
4 years ago
Atahualpa
ca80aeaaea
Fix vertex calculation for cell-border drawing.
4 years ago
Atahualpa
356efa15a2
Fixes #6035 (circle brush selects outside of circle) and #6036 (some corner vertices not selected).
4 years ago
Atahualpa
7be891b440
Directly use Geometry instead of Geode; fix for loop; add size_t type-cast.
4 years ago
Atahualpa
73949d5bd0
Updating the CMake file isn't a bad idea either...
4 years ago
Atahualpa
6c49074765
Remove old references to Cell class.
4 years ago
Atahualpa
008bf64dd9
Second step toward fixing terrain selection issues.
4 years ago
Atahualpa
18ea4d8eb2
First step toward fixing terrain selection issues.
4 years ago
elsid
f2188d2533
Reduce temporary allocations on ESM loading
...
By moving objects instead of copying when possible.
4 years ago
Bret Curtis
66a527c3de
Merge pull request #3075 from akortunov/warnfix
...
Fix MSVC's C4244 and C4267 warnings
4 years ago
psi29a
3944648f0b
Merge branch 'opencs_remove_inclde' into 'master'
...
Remove some superfluous includes in the opencs
See merge request OpenMW/openmw!829
4 years ago
jvoisin
06ae26037f
Remove some superfluous includes in the opencs
4 years ago
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
4 years ago
Thunderforge
339d347aea
Fixing performance-faster-string-find issues
...
This addresses the Clang Tidy check [performance-faster-string-find](https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html ).
4 years ago
Andrei Kortunov
2d869ca9ff
Fix node masks signed/unsigned mismatch
4 years ago
Andrei Kortunov
9647b670e4
Do not declare unused variables
4 years ago
Andrei Kortunov
0cadc97fb3
Fix double -> float conversions
4 years ago
Bret Curtis
befa3f587f
Merge pull request #3068 from akortunov/master
...
Clean up MSVC warnings
4 years ago
psi29a
3423d3f882
Merge branch 'various_warn' into 'master'
...
Fix various warnings found by clang
See merge request OpenMW/openmw!758
4 years ago
jvoisin
38316cdaf8
Fix various warnings found by clang
...
- unused alias
- inefficient use of push_back
- exceptions not inheriting from std::exception
- weird use of a comma
- value compared against itself
4 years ago
Andrei Kortunov
f308dde254
Clean up MSVC warnings
4 years ago
unelsson
06fda4c5a1
QLineEdit for setting base animation files
4 years ago
unelsson
95272e0f14
String setting to CSMPrefs, part of dehardcoding animation files
4 years ago
Andrei Kortunov
016a1d45df
Remove outdated field - remnant from earlier implementation
4 years ago
glassmancody.info
582f7b52cf
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
4 years ago
glassmancody.info
4ba473b684
Finalize settings, torch fix
4 years ago
glassmancody.info
690995988b
More formatting, OpenCS cells are unbroken
4 years ago
glassmancody.info
7370acdf54
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
4 years ago
glassmancody.info
43ac32921c
Rewrite, support different lighting methods
4 years ago
glassmancody.info
9d9074c244
Add shared UBO
4 years ago
glassmancody.info
c5ea966f24
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
4 years ago
glassmancody.info
dda735c54a
initial commit
4 years ago
Andrei Kortunov
124a33d8a3
Fix uninitialized variables
4 years ago
Petr Mikheev
7bbbe40abe
"static const" -> "static constexpr" in headers
4 years ago
Gleb Mazovetskiy
455be9dbbb
Fix linking with `-DOPENMW_USE_SYSTEM_OSG=ON -DOSG_STATIC=ON`
...
1. CMake's built-in OSG finder does not use pkgconfig, so we have to
manually ensure the order is correct for inter-library dependencies.
https://gitlab.kitware.com/cmake/cmake/-/issues/21701
2. OSG plugin pkgconfig files are missing dependencies on the underlying
libraries (e.g. freetype, png, jpeg), so we have to link them manually.
https://github.com/openscenegraph/OpenSceneGraph/issues/1052
4 years ago
Gleb Mazovetskiy
13c5b1b0c5
CMake: Fix support for OSG static lib paths
...
`$<TARGET_FILE:...>` fails if the argument is already a path (instead of
a library name). This happens when a static library is found via
`osg_find_library`.
If the argument contains `/` or `.`, do not use `$<TARGET_FILE:...>`
4 years ago
psi29a
5c0214142b
Merge branch 'static-build' into 'master'
...
Optional local source builds of OSG, MyGUI, Bullet
See merge request OpenMW/openmw!547
4 years ago
uramer
ee2f0e7eb3
Fix inconsistent argument name
4 years ago
uramer
eca0d8b7ea
Fix typo in DropMode enum
4 years ago
uramer
edc6d5c3e7
Fix a typo in separate drop binds
4 years ago
uramer
36cd818155
Fix separate drop, refactor for code reuse
4 years ago
Gleb Mazovetskiy
8737453498
cmake: Compiler-specific whole-archive macro
4 years ago
Gleb Mazovetskiy
99ba45a308
Optional static builds of OSG, MyGUI, Bullet
4 years ago
psi29a
a8c5607aa6
Merge branch 'disableinfotablesorting' into 'master'
...
[OpenMW-CS] Info table dragging to move record order, disable sorting
See merge request OpenMW/openmw!538
4 years ago
Nelsson Huotari
9f0f3eaeb2
Add collada to supported formats
4 years ago
Nelsson Huotari
54ea8eb5c7
Fix string corruption with Qt on linux-systems
4 years ago
Nelsson Huotari
f2fc02cdff
Support filtered tables (mapToSource for indexes)
4 years ago
Nelsson Huotari
16e03c151a
Implement basic move algorithm, connect it to drag&drop
4 years ago
Nelsson Huotari
70087e16fe
Disable dialogue info table sorting
4 years ago
psi29a
acfd2cfd90
Merge branch 'dialogclonefix' into 'master'
...
[OpenMW-CS] Fix cloning in info records
See merge request OpenMW/openmw!524
4 years ago
Nelsson Huotari
93b1b444f2
Optimize CreateCommand and CloneCommand configuration
4 years ago
Nelsson Huotari
7196ad7455
Implement an override-value when cloning, use when cloning info records
4 years ago
Bret Curtis
a735bbe9a5
Merge pull request #3040 from akortunov/pvs
...
Fix some issues, found by PVS Studio
4 years ago
Nelsson Huotari
3045d20a97
Make sure that vector isn't empty, just in case
4 years ago
Nelsson Huotari
5f1d3e0e2f
Use the Topic ID of the cloned target from topicinfos
4 years ago
Nelsson Huotari
313e895912
[OpenMW-CS] Cube and sphere instance selection
4 years ago
Andrei Kortunov
ad101de733
Merge declaration and initialization
4 years ago
Andrei Kortunov
1930f8f37d
Fix copy-paste error
4 years ago
Andrei Kortunov
50e4600b16
Reduce code duplication
4 years ago
Andrei Kortunov
8e5f26c109
Code cleanup
4 years ago
Andrei Kortunov
c9b885ffd4
Avoid possible null dereferencing
4 years ago
Andrei Kortunov
8283ec6cad
Do not use & for boolean arguments
4 years ago
Andrei Kortunov
7fc4c9f3f6
Avoid dead code
4 years ago
Andrei Kortunov
801e2d6ad0
Avoid to use uninitialized variables
4 years ago
Alexei Dobrohotov
32601e0ae4
Properly reserve body parts for skirts (bug #5731 )
4 years ago
Coleman Smith
3b9db41346
removing unneeded variable
4 years ago
Coleman Smith
842ea9d6ed
simplifying a bit
...
- attaching gradient camera directly to the main camera
- using Vec4ub
4 years ago
Nelsson Huotari
61a4a0807b
Load master index in refId to mContentFile, keep master index also in mIndex
4 years ago
Nelsson Huotari
b0e3bd6ff9
Fix crash caused by QStatusBar
4 years ago
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
Alexei Dobrohotov
53f91a3aa5
Merge pull request #3018 from akortunov/emplace
...
Use emplace_back instead of push_back
4 years ago
psi29a
957a1425d1
Merge branch 'cleanup_1' into 'master'
...
Cleanup 1
See merge request OpenMW/openmw!365
4 years ago
Bret Curtis
259f7fcf12
Merge pull request #3020 from unelsson/strippluginindex_cs
...
Strip the plugin index when looking for deleted refs.
4 years ago
Nelsson Huotari
b1ea9f6a5b
Strip the plugin index from refid completely
4 years ago
AnyOldName3
538314b03a
Make path settings have path type
4 years ago
Bret Curtis
5a824d0333
components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues
4 years ago
Andrei Kortunov
46a1950b0e
Do not use deprecated Qt functions
4 years ago
Nelsson Huotari
fb4250a2b7
Strip the plugin index when looking for deleted refs.
4 years ago
Andrei Kortunov
065ed5138e
Use emplace_back instead of push_back
4 years ago
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
4 years ago
AnyOldName3
73708a6f2a
Install openmw-cs.cfg on single-config generators and from the right directory on multi-config
4 years ago
psi29a
8f86617262
Merge branch 'master' into 'master'
...
Fixed passed indexes for object deletion #5384
See merge request OpenMW/openmw!196
5 years ago
Bret Curtis
0c2fea8254
Merge pull request #2932 from elsid/replace_open_threads
...
Replace OpenThreads by std types
5 years ago
Andrei Kortunov
d0fe15b095
Use meaningful names instead of mSkill1 and mSkill2
5 years ago
elsid
40ad87bc4d
Replace OpenThreads by std types
5 years ago
Andrei Kortunov
0bb9322a69
Use default constructor for ItemFlags
5 years ago
Andrei Kortunov
c8d5d421d9
Do not use deprecated mouse wheel movement angle
5 years ago
Andrei Kortunov
2b4274bca8
Use modern Qt flag declarations
5 years ago
Bret Curtis
8f9c3e28d9
Handle typo
5 years ago
Bret Curtis
61a5c6125d
#5480 : Drop Qt4 support and require Qt 5.12 or later.
5 years ago
Capostrophic
039c9a37eb
Verifier: Don't check race of non-skin body parts (bug #5400 )
...
Remove unnecessary flag field check
Remove magic numbers
5 years ago
Giovanni Bodega
8a8b4986da
Fixed passed indexes for object deletion #5384
5 years ago
Bret Curtis
68549828b4
create static functions to set/get hidden node mask; compromise on magic numbers to make things easier to understand
5 years ago
Bret Curtis
8a8107e837
as it says; revert vismask and uncomplicate openmw
5 years ago
Bret Curtis
4ae0bd1fae
Merge branch 'helplink' into 'master'
...
Link to readthedocs documentation from OpenCS
See merge request OpenMW/openmw!171
5 years ago
Frederic Chardon
513ac8986d
Add link to opencs documentation on readthedocs, available through
...
context menu.
The documentation opens in default browser.
There are 3 contexts:
- global: opens the OpenMW CS User Manual main page
- when a record is selected: opens the "Tables" page
- when the filter field is selected: opens the "Record Filters" page
There is also a link to the OpenCS tutorial in the help menu.
5 years ago
Capostrophic
ad333e88fe
Handle enchantment autocalc flag as a flag (bug #5363 )
5 years ago
Nelsson Huotari
42c7ec8f1c
Minor fix to calculation of mLandSizeFactor (-1)
5 years ago
Andrei Kortunov
023c51ad0e
Fix int/float conversions in the CSVRender::BrushDraw
5 years ago
Andrei Kortunov
9712925ba3
Merge pull request #2762 from akortunov/warnfix
...
Avoid a hack to initialize mIndex in the editor
5 years ago
Andrei Kortunov
c7cedc4e5a
Avoid a hack to initialize mIndex
5 years ago
Bret Curtis
7fda65e7bb
Merge pull request #2692 from unelsson/opencsbrushdraw
...
Editor: Implement brush outlines
5 years ago
Andrei Kortunov
a68d9aed4c
Fix issues, found by CoverityScan
5 years ago
elsid
ef4a7089e4
Use template specialization for writeHNT to write raw arrays
...
To avoid passing explicit size argument where it's possible.
5 years ago
Nelsson Huotari
66fba7cc51
Remove unneeded constructors, only initialize in cpp, minor fixes
5 years ago
Nelsson Huotari
ec2ff2a9b0
Fix if oneliners
5 years ago
Nelsson Huotari
18cdd3bd7c
rebase-related fixes
5 years ago
Nelsson Huotari
da0add904b
Fix and simplify brush outlines and coordinate calculations
5 years ago
Nelsson Huotari
8f625474fd
Hotfix terraintexturemode circle brush radius calculations
5 years ago
Nelsson Huotari
e14c390a9b
Fix crash
5 years ago
Nelsson Huotari
731e5b57f5
Tool outline for terraintexturemode and square shape. Various fixes.
5 years ago
Nelsson Huotari
24c8b32d4c
Implement brush outline for terrainshapemode
5 years ago
Alexei Dobrohotov
baff15362a
Merge pull request #2713 from unelsson/opencsdropobjects
...
Editor: Implement dropping objects with keypress in instancemode
5 years ago
Capostrophic
18bfc6f2c5
Fix Gender column filtering (bug #4601 ) and correct filter descs
5 years ago
Nelsson Huotari
793ea8566f
Fix typo
5 years ago
Nelsson Huotari
17cb3414d8
clean-up, improve formatting
5 years ago
Nelsson Huotari
75f6577f61
Remove unneeded include
5 years ago
Nelsson Huotari
41aa90bfa7
Add helper class for safer mask handling
5 years ago
Nelsson Huotari
af434cffba
fix numeric limits min() to lowest(), fix correct drop height
5 years ago
Nelsson Huotari
035d5205d9
Use collision boxes to calculate dropping height, variable naming
5 years ago
Nelsson Huotari
54738e1e32
Handle mask disabling better
5 years ago
Nelsson Huotari
711dc59f09
Implement four different functions for dropping
5 years ago