Evil Eye
ed5bedb9db
Use record state to determine if a LandTexture record was defined in the current plugin
2024-06-10 21:39:10 +02:00
Dave Corley
145f9c1154
CLEANUP(CS): Do heightData check in actual implementation, revert
...
accidental change to land condition order
2024-06-10 02:02:31 -05:00
Dave Corley
86316fa7ab
Fix(cell.cpp): Don't try to update land for interiors
2024-06-10 02:02:31 -05:00
Dave Corley
10eb807e72
Fix(Cell.hpp): Correct include path for document
2024-06-10 02:02:31 -05:00
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
2024-06-10 02:02:31 -05:00
Dave Corley
47044e1dc0
Cleanup(CS): re-add const for land collection
2024-06-10 02:02:31 -05:00
Dave Corley
89bce6f678
Fix(CS): Enum name in accordance with current standards
2024-06-10 02:02:31 -05:00
Dave Corley
6f2ae4a33b
Cleanup(CS): Improve readability and clean up some implementations
2024-06-10 02:02:31 -05:00
Dave Corley
ad135e3b95
Fix(cell.cpp): Change commands.hpp to absolute include path
2024-06-10 02:02:31 -05:00
Dave Corley
d8187e40b2
Feat(CS): Create LAND record using the undo stack
2024-06-10 02:02:31 -05:00
Dave Corley
731302ecff
Feat(CS): Add undo stack as a member of CSVRender::Cell
2024-06-10 02:02:31 -05:00
Dave Corley
f565730a9a
Fix(cell.cpp): never try to update land for interiors
2024-06-10 01:58:34 -05:00
Dave Corley
dd7a2f22d1
Cleanup(CSVRender::Cell:updateLand): Early exit when landscape should
...
not be loaded
2024-06-10 01:58:34 -05:00
Dave Corley
78fd135764
Fix(CS): Remove unreachable code as land data will always be present
2024-06-10 01:58:34 -05:00
Dave Corley
3e7335ddc7
Fix(CS): Initialize landscape when opening an existing cell without VHGT
2024-06-10 01:58:34 -05:00
Dave Corley
2541b74fc6
Fix(CS): Apply land flags when appropriate edits are made
2024-06-10 01:58:34 -05:00
Alexei Kotov
dd0ff13ba9
Reset attribute/skill arguments in IngredEffectRefIdAdapter if needed
2024-06-08 13:50:40 +03:00
Alexei Kotov
3051e0834a
Accept invalid effect IDs and ranges in EffectsListAdapter
2024-06-08 13:49:39 +03:00
Alexei Kotov
252ee7f8c4
Deduplicate effect list verification
...
Drop Potion-specific range check, it's irrelevant
2024-06-08 06:31:18 +03:00
Alexei Kotov
ba20ba2c6c
Editor: Warn if a magic effect's max magnitude is zero
2024-06-08 06:31:18 +03:00
Alexei Kotov
2fdbd6287d
Editor: Verify magic effects for enchantments, ingredients and potions
...
Use constants for known magic effect/skill/attribute range
2024-06-08 06:31:17 +03:00
psi29a
a80f5c109c
Merge branch 'ltexerasure' into 'master'
...
Fix LTEX overriding and allow deletion
See merge request OpenMW/openmw!4152
2024-06-07 08:05:56 +00:00
Andrei Kortunov
eac2082e82
Unify operation progress bar appearance
2024-06-04 11:07:08 +04:00
Evil Eye
ca6baed366
Fix LTEX overriding and allow deletion
2024-06-03 16:42:27 +02:00
Andrei Kortunov
204267d211
React to scale or color changes in editor tables
2024-05-27 18:38:33 +04:00
Alexei Kotov
131bb510e4
Merge branch 'operation_fixes' into 'master'
...
Improve operations widget formatting, part 2
See merge request OpenMW/openmw!4119
2024-05-27 01:07:07 +00:00
Andrei Kortunov
2749d2a6cb
Revert "Make sure that Open button becomes focused after enabling"
...
This reverts commit d5bbd75828
.
2024-05-25 23:43:19 +04:00
Evil Eye
6a10311ae5
Use more appropriate types in terrain storage
2024-05-23 18:48:54 +02:00
Andrei Kortunov
52de6177d1
Avoid MSVC crash in Visual Studio 17.10.0
2024-05-22 18:17:22 +04:00
Andrei Kortunov
6c83451b15
Improve operations widget formatting
2024-05-22 14:37:58 +04:00
Alexei Kotov
67c47b8603
Merge branch 'operation_fixes' into 'master'
...
Improve operation widget appearance
See merge request OpenMW/openmw!4110
2024-05-21 19:31:39 +00:00
Dave Corley
c87eaefd17
Merge branch 'theeditorisjustanotherengine' into 'master'
...
Use ESM::ReadersCache in the editor
Closes #7896
See merge request OpenMW/openmw!4111
2024-05-21 06:35:47 +00:00
Andrei Kortunov
bf682d51a6
Support dark mode on Windows (feature 7985)
2024-05-20 16:50:24 +04:00
Evil Eye
77d554594f
Add ReadersCache::clear
2024-05-19 20:39:23 +02:00
Evil Eye
5f0fe8097c
Use ESM::ReadersCache in the editor
2024-05-19 18:55:37 +02:00
Andrei Kortunov
3d699bd533
Improve operation widget appearance
2024-05-19 15:56:44 +04:00
Andrei Kortunov
dca452aaca
Change default colors in script editor to support dark themes
2024-05-14 13:59:19 +04:00
Andrei Kortunov
bf568da6de
Remove redundant checks
2024-05-12 17:26:18 +04:00
Andrei Kortunov
d5bbd75828
Make sure that Open button becomes focused after enabling
2024-05-12 17:26:14 +04:00
Andrei Kortunov
e7d566eb2e
Remove border from status bar
2024-05-12 17:26:10 +04:00
Andrei Kortunov
b56c255be2
Improve appearance of script editor in the OpenMW-CS
2024-05-06 12:22:30 +04:00
Andrei Kortunov
070327a259
Change SVG color in the editor
2024-04-27 09:57:47 +04:00
psi29a
02cdeb6252
Merge branch 'scalable_editor' into 'master'
...
Treat editor icons as scalable
See merge request OpenMW/openmw!4042
2024-04-23 07:04:59 +00:00
psi29a
9662586947
Merge branch 'editor-crash' into 'master'
...
Clamp widgets coordinates to avoid editor crashes
See merge request OpenMW/openmw!4043
2024-04-23 07:04:09 +00:00
psi29a
023c0f7a46
Merge branch 'vfs_normalized_path_6' into 'master'
...
Use normalized path for music related functions
See merge request OpenMW/openmw!4038
2024-04-22 07:02:14 +00:00
Andrei Kortunov
1bb48bcef7
Treat editor icons as scalable
2024-04-21 20:56:06 +04:00
Andrei Kortunov
2264d067fc
Clamp widgets coordinates to avoid crashes
2024-04-21 17:15:33 +04:00
psi29a
2438fb4c98
Merge branch 'windows_qt6' into 'master'
...
Use Qt6 on Windows by default
See merge request OpenMW/openmw!4016
2024-04-20 16:39:47 +00:00
psi29a
f21453f0b7
Merge branch 'twoahahidles' into 'master'
...
Change wander package column names to match reality
See merge request OpenMW/openmw!4032
2024-04-20 16:38:41 +00:00
AnyOldName3
04f1dc282b
Merge branch 'fix-osga-rotate-wildly' into 'master'
...
Fix OSGAnimation issues
See merge request OpenMW/openmw!3989
2024-04-20 15:37:09 +00:00
elsid
e11a5a4352
Use normalized path for SoundManager::playPlaylist
2024-04-19 22:43:20 +02:00
psi29a
3600c6c7c7
Merge branch 'filterview' into 'master'
...
Validate INFO filters when loading the record
See merge request OpenMW/openmw!4003
2024-04-17 13:08:49 +00:00
Andrei Kortunov
d06e8e2c24
Use Qt6 on Windows by default
2024-04-17 08:58:18 +04:00
psi29a
e1be24e7fc
Merge branch 'svg_icons' into 'master'
...
Rework editor icons
See merge request OpenMW/openmw!4024
2024-04-16 20:26:19 +00:00
Evil Eye
963035fe47
Change wander package column names to match reality
2024-04-15 18:20:57 +02:00
Andrei Kortunov
1ad9e5f9e8
Rework editor icons
2024-04-14 08:17:10 +04:00
Evil Eye
6e79064a57
Fix editor oddities
2024-04-12 18:32:47 +02:00
Evil Eye
a4625ea784
Deduplicate dialogue filter parsing
2024-04-11 22:29:33 +02:00
Sam Hellawell
c3420ed306
Fix build
2024-04-11 03:01:00 +01:00
psi29a
8037a6e765
Merge branch 'portable-launcher' into 'master'
...
Portable Launcher (plus a whole slew of bugs fixes for problems I found that I suspect aren't on the tracker)
Closes #6846
See merge request OpenMW/openmw!3925
2024-04-10 09:53:07 +00:00
Alexei Kotov
f2e0129436
Convert water/ripple defines to camelCase
2024-04-04 21:12:47 +03:00
uramer
3b930e4471
Restore !613
2024-04-03 07:12:53 +00:00
psi29a
b83ffdc357
Merge branch 'i-have-value-too' into 'master'
...
FIX(CS): Re-add gold value column for objects
See merge request OpenMW/openmw!3991
2024-04-02 07:34:51 +00:00
Dave Corley
7a291e5025
FIX(CS): Re-add gold value column for objects
2024-03-31 05:34:11 -05:00
Evil Eye
cb357997c9
Copy DIAL type to INFO when saving
2024-03-30 14:36:45 +01:00
Alexei Kotov
359600db83
Merge branch 'im-not-taking-you-anywhere' into 'master'
...
Fix #7901 , make teleport fields non-interactive when mTeleport is false
Closes #7901
See merge request OpenMW/openmw!3986
2024-03-29 03:48:18 +00:00
Dave Corley
b8a17b16f7
Cleanup(CS): Make TeleportColumn take flags as argument
2024-03-27 17:53:23 -05:00
Dave Corley
4e59246d2d
Fix(columnimp.hpp): Use QVariant() constructor instead of UserType to
...
hide unused subs from view and make a member variable to tell if the
column is used for a door or a regular position
2024-03-27 17:53:23 -05:00
Dave Corley
1360eeb839
Fix #7901 , make teleport fields non-interactive when mTeleport is false
2024-03-27 17:53:12 -05:00
Sam Hellawell
e87c39eeb3
OpenCS: Editing and verifying of projectile speed for magic effects
2024-03-27 09:26:03 +00:00
Dave Corley
2e68786331
Fix(CS): Actually allow unlocking doors ( #7899 )
2024-03-27 07:32:53 +00:00
psi29a
58632218fb
Merge branch 'you-can-only-grow-up-to-be-so-big' into 'master'
...
FIX(CS): Limit scale for references to TES3 values (Close #7898 )
Closes #7898
See merge request OpenMW/openmw!3981
2024-03-26 09:05:21 +00:00
psi29a
012d10703f
Merge branch 'spellcast-refactor' into 'master'
...
Spellcast related Lua API + spellcasting/activespell refactor
See merge request OpenMW/openmw!3922
2024-03-25 13:50:23 +00:00
Mads Buvik Sandvei
320d8ef014
Spellcast related Lua API + spellcasting/activespell refactor
2024-03-25 13:50:23 +00:00
psi29a
666d2835ab
Merge branch 'mgefverify' into 'master'
...
Use the right ID for magic effect verifier messages (#7894 )
Closes #7894
See merge request OpenMW/openmw!3971
2024-03-25 13:44:38 +00:00
Dave Corley
c59d097ab2
FIX( #7898 ): Limit scale for references TES3 values
2024-03-24 16:37:48 -05:00
Alexei Kotov
d7257e056c
Merge branch 'remove-unused-regionmap-constructor' into 'master'
...
Minor cleanup: Remove unused regionmap CellDescription constructor
See merge request OpenMW/openmw!3973
2024-03-24 13:08:24 +00:00
Evil Eye
781e797810
Merge branch 'instanceselectionmode' into 'master'
...
Fix instance selection mode destruction (#7447 )
Closes #7447
See merge request OpenMW/openmw!3945
2024-03-23 08:08:15 +00:00
Sam Hellawell
c20a23b694
Remove unused regionmap CellDescription constructor
2024-03-22 03:13:04 +00:00
Alexei Kotov
79039f88df
Use the right ID for magic effect verifier messages ( #7894 )
2024-03-22 04:34:38 +03:00
psi29a
7dcd127295
Merge branch 'openmw-cs-regionmap-improvements' into 'master'
...
OpenMW CS: Minor region map fixes and improvements
See merge request OpenMW/openmw!3959
2024-03-19 09:24:48 +00:00
Sam Hellawell
a62da201e5
check for land index not -1, fix warning
...
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-03-16 09:02:47 +00:00
Sam Hellawell
5fca45565c
Feature: display different brush for land vs water
2024-03-16 07:48:40 +00:00
Sam Hellawell
aa0c9fb4cb
Fix: cannot drag region into map, map columns are rectangular
2024-03-16 07:48:40 +00:00
elsid
9ae7b542c6
Fix warning: -Wmaybe-uninitialized
...
In file included from apps/opencs/model/world/pathgrid.hpp:7,
from apps/opencs/model/world/idcollection.hpp:15,
from apps/opencs/model/world/idcollection.cpp:1:
In constructor ‘constexpr ESM::Pathgrid::Pathgrid(ESM::Pathgrid&&)’,
inlined from ‘constexpr CSMWorld::Pathgrid::Pathgrid(CSMWorld::Pathgrid&&)’ at apps/opencs/model/world/pathgrid.hpp:24:12,
inlined from ‘constexpr CSMWorld::Record<CSMWorld::Pathgrid>::Record(CSMWorld::Record<CSMWorld::Pathgrid>&&)’ at apps/opencs/model/world/record.hpp:39:12,
inlined from ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = CSMWorld::Record<CSMWorld::Pathgrid>; _Args = {CSMWorld::Record<CSMWorld::Pathgrid>}]’ at /usr/include/c++/13.2.1/bits/unique_ptr.h:1070:30,
inlined from ‘std::unique_ptr<CSMWorld::RecordBase> CSMWorld::Record<ESXRecordT>::modifiedCopy() const [with ESXRecordT = CSMWorld::Pathgrid]’ at apps/opencs/model/world/record.hpp:92:116:
components/esm3/loadpgrd.hpp:19:12: warning: ‘<unnamed>.CSMWorld::Record<CSMWorld::Pathgrid>::mBase.CSMWorld::Pathgrid::<unnamed>.ESM::Pathgrid::mData’ may be used uninitialized [-Wmaybe-uninitialized]
19 | struct Pathgrid
| ^~~~~~~~
In file included from apps/opencs/model/world/idcollection.hpp:8:
apps/opencs/model/world/record.hpp: In member function ‘std::unique_ptr<CSMWorld::RecordBase> CSMWorld::Record<ESXRecordT>::modifiedCopy() const [with ESXRecordT = CSMWorld::Pathgrid]’:
apps/opencs/model/world/record.hpp:92:53: note: ‘<anonymous>’ declared here
92 | return std::make_unique<Record<ESXRecordT>>(Record<ESXRecordT>(State_ModifiedOnly, nullptr, &(this->get())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-03-16 02:34:50 +01:00
psi29a
090e57b27c
Merge branch 'esm3structs' into 'master'
...
Replace fixed size writeHNT calls with decomposition
See merge request OpenMW/openmw!3914
2024-03-15 11:02:42 +00:00
Evil Eye
0fdc432eb2
Format probability
2024-03-12 20:09:04 +01:00
Evil Eye
1d69d38081
Add an actual probability column
2024-03-12 20:09:04 +01:00
Alexei Kotov
cdbe6adfc3
Fix instance selection mode destruction ( #7447 )
2024-03-12 03:39:14 +03:00
elsid
5859fd464c
Add option to disable precompiled headers
...
To be able to use ccache.
Also fix compilation errors appeared due to absence of precompiled
headers.
2024-03-08 02:11:51 +01:00
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
2024-03-05 09:23:44 +00:00
psi29a
e340b06411
Merge branch 'get-glextensions-properly' into 'master'
...
Get the GLExtensions instance when a context is created
Closes #7351
See merge request OpenMW/openmw!3022
2024-03-04 15:05:23 +00:00
Evil Eye
cef59e8928
Replace fixed size writeHNT calls with decomposition
2024-03-03 19:39:19 +01:00
Evil Eye
958f70736f
Implement auto calculated potion values
2024-03-02 12:45:48 +01:00
AnyOldName3
626f438dcc
Make builtin.omwscripts actually mandatory
...
Previously it was quasi-mandatory - lots of things would add it, e.g. when running openmw through the CS, but it could technically be disabled.
Now it's treated like the resources/vfs directory and implicitly added by the engine etc.
2024-02-27 01:09:46 +00:00
AnyOldName3
36a75cdb29
Get the GLExtensions instance when a context is created
2024-02-23 00:15:23 +00:00
Dave Corley
ce2787e15e
Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub
2024-02-22 03:26:17 -06:00
Dave Corley
bb35f0366a
Fix(loadcell): Save water height regardless of value, if the user actually adjusted it
2024-02-22 03:01:28 -06:00
Dave Corley
090a389feb
Cleanup(idvalidator): Just don't use isValid function and instead
...
directly check if input is a printable char
2024-02-22 02:52:58 -06:00
Dave Corley
9fc66d5de6
Fix(idvalidator): Allow any printable character in refIds
2024-02-21 15:25:13 -06:00