Commit Graph

3899 Commits (06bf80cc3b6e9ebd4907f192b30a54766f334b98)

Author SHA1 Message Date
psi29a ef708c9cf0 Merge branch 'consistentcaptioncapitalization' into 'master'
Make OpenMW-CS preferences and OMWMusic lines more stylistically consistent

See merge request OpenMW/openmw!4394
3 months ago
Evil Eye 6644a7f27b Use more sensible types in pathgridutil 3 months ago
Alexei Kotov 4dd11d91f3 Editor: Make setting captions stylistically consistent, improve grammar 3 months ago
Alexei Kotov 0b1465446d Editor: Improve Models category layout
Increase minimum input field width and give proper labels to string settings
3 months ago
elsid 1fd6ac6438
Use normalized path in ImageManager 3 months ago
elsid d8189a5aa1
Use normalized path in SceneManager 4 months ago
psi29a e1875d459a Merge branch 'boost-config-required' into 'master'
Modernise Boost CMake stuff

Closes #8100

See merge request OpenMW/openmw!4307
4 months ago
Dave Corley daf82d40b9 FIX(CSVRender::Object): Clamp scale edits in render window too 4 months ago
AnyOldName3 387b63909b Remove vestigial Boost libraries
Boost::zlib is basically part of Boost::iostreams, and depending on how you configure Boost, it can either be a separate library or get embedded into iostreams.
With the third-party-but-linked-on-Boost's-website package we've been using for years, it's a separate library.
Before https://gitlab.com/OpenMW/openmw/-/merge_requests/4307, we needed to explicitly link with it as CMake wasn't handling transitive dependencies for us.
With vcpkg, it's embedded, and doesn't have its own CMake config, so we couldn't explicitly link with it even if we wanted to.

Now CMake *is* handling transitive dependencies for us, we don't even need to think about this library.
It's all automatic.

Boost::locale, on the other hand, used to be something we used directly (I think for doing UTF-16/UTF-8 conversions when dealing with Windows paths).
However, it isn't anymore, and we just didn't purge it from our CMake when we should have.
It can go.
4 months ago
AnyOldName3 26be98966f Modernise Boost CMake stuff
Resolves https://gitlab.com/OpenMW/openmw/-/issues/8100

Also removes some old crud.
Hopefully the old crud is all:
* Handled automatically by CMake now we're using the modern approach.
* A hack-fix for a problem caused by not using the modern approach.
* Massively outdated so no longer necessary.

If it turns out this makes CI fail, I'll tweak things as necessary.

Changes that might not be wanted include:
* Getting rid of our BOOST_STATIC CMake option. In cases where the CMake config doesn't make the one correct choice from the build environment (i.e. because there's a choice) the CMake config exposes the option already.
  However, we were forcing this on for Windows, so that might matter.
  It seems to default to static on my machine even though I thought I read something suggesting otherwise, so we'll see how things go with that.
  If we eventually put CMake in charge of installing dependency DLLs this will be a moot point as we won't need to care.
* Bumping the minimum version of Boost to 1.70.0, as that's the first with working CMake config.
  It's from 2019, so plausibly there are distros too scared to use a library from five years ago as it can't legally drink in the US (although it could in limited quantities with parental supervision in the UK, as long as it's just something inconsequential like a single sip of beer).
4 months ago
psi29a dc9c68f61b Merge branch 'fix_android_openmw' into 'master'
Keep separation between openmw and openmw-lib on Android

See merge request OpenMW/openmw!4221
5 months ago
psi29a 765d55208f Merge branch 'axis-lock' into 'master'
Feat(CS): Add shortcuts for axis locking, submode selection, switching camera, and fix render arrows

See merge request OpenMW/openmw!3675
5 months ago
Andrei Kortunov 21db4219de Use QPersistentModelIndex to react to model changes 5 months ago
Dave Corley 9f8ebc7973 FIX: Correct keybind conflict with move submode and drop to terrain 5 months ago
Dave Corley 55ccec7ecc FIX: Update settings declarations to newer standards 5 months ago
Dave Corley 5afdcddefa Consistency fix in keybind names, simplify instancemode and remove some
dead code
5 months ago
Dave Corley 78c41d3eee Feat(instancemode.cpp): Implement keybinds for axis locking & switching submodes
Cleanup(instancemode): Make the axis shortcut using std::string instead
of format
5 months ago
Dave Corley 98750a122d Feat(worldspacewidget.cpp): store the camera mode tool & implement the
shortcut to cycle camera modes
5 months ago
Dave Corley 2e581c4d70 Feat(CS): Add shortcuts for axis locking, submode selection, and camera cycling 5 months ago
Andrei Kortunov 355dd0bccf Do not store references to disposed objects 5 months ago
psi29a 89e8514e00 Merge branch 'qvariant_usertype' into 'master'
Improve QVariant usage

See merge request OpenMW/openmw!4261
5 months ago
Andrei Kortunov 54271b872c Improve QVariant usage 5 months ago
Sam Hellawell 78e365f382 Add OpenMW-CS Terrain Equalize tool 5 months ago
elsid 1bdc01273e
Move "debugging" function into Debug namespace 6 months ago
elsid 73d48720ef
Do not change output names for targets
Changing them does not solve any problem but only creates some.
6 months ago
Andrei Kortunov dc7407a34c Use signed variables to match an API 6 months ago
Andrei Kortunov a9108a743d Do not make redundant copy 6 months ago
Andrei Kortunov 5390634e22 Add a missing null pointer check 6 months ago
psi29a 64dd6e36d1 Merge branch 'openmw-cs-error-verify-refnums' into 'master'
OpenMW-CS verify duplicate RefNums

See merge request OpenMW/openmw!4012
6 months ago
cykoder 57e7bf3748 OpenMW-CS verify duplicate RefNums 6 months ago
psi29a 0013a44b71 Merge branch 'datadisplaydelegate' into 'master'
React to scale or color changes in editor tables

See merge request OpenMW/openmw!4098
6 months ago
psi29a 98ba2120b6 Merge branch 'zerotohero' into 'master'
Use -1 as the plugin index for LandTextures

See merge request OpenMW/openmw!4121
7 months ago
Dave Corley b7deb7e9bc Feat(CS): Make LMB the primary interaction 7 months ago
Evil Eye fbc6629d40 Rework land texture handling 7 months ago
psi29a c1d74763ed Merge branch 'i-have-no-land-and-i-must-scream' into 'master'
Fix(CS): Add landscape flag if it doesn't exist at all and improve landscape QOL

Closes #7707

See merge request OpenMW/openmw!3617
7 months ago
psi29a 61772fa234 Merge branch 'verifiers' into 'master'
Complain about fishy local variable names, improve editor effect list handling

See merge request OpenMW/openmw!4160
7 months ago
elsid 2e0e0f53b6
Add --coverage to openmw-cs 7 months ago
Evil Eye 965bc20bab Set mPluginIndex to -1 for textures defined in this plugin 7 months ago
Evil Eye ed5bedb9db Use record state to determine if a LandTexture record was defined in the current plugin 7 months ago
Dave Corley 145f9c1154 CLEANUP(CS): Do heightData check in actual implementation, revert
accidental change to land condition order
7 months ago
Dave Corley 86316fa7ab Fix(cell.cpp): Don't try to update land for interiors 7 months ago
Dave Corley 10eb807e72 Fix(Cell.hpp): Correct include path for document 7 months ago
Dave Corley 0a8fee59dd Don't store member variables from document & use simpler and safer
inputs to cell constructor. Explicitly tell the constructor whether land
should be loaded or not
7 months ago
Dave Corley 47044e1dc0 Cleanup(CS): re-add const for land collection 7 months ago
Dave Corley 89bce6f678 Fix(CS): Enum name in accordance with current standards 7 months ago
Dave Corley 6f2ae4a33b Cleanup(CS): Improve readability and clean up some implementations 7 months ago
Dave Corley ad135e3b95 Fix(cell.cpp): Change commands.hpp to absolute include path 7 months ago
Dave Corley d8187e40b2 Feat(CS): Create LAND record using the undo stack 7 months ago
Dave Corley 731302ecff Feat(CS): Add undo stack as a member of CSVRender::Cell 7 months ago
Dave Corley f565730a9a Fix(cell.cpp): never try to update land for interiors 7 months ago