Calandiel
901c6b94a6
remove unnecessary land loading
2025-06-19 22:17:26 +02:00
Calandiel
c711179b8f
apply changes requested in the code review
2025-06-19 22:17:26 +02:00
Sebastian Fieber
8917103bf3
put land bindings in a table in openmw.core
2025-06-19 22:17:26 +02:00
Calandiel
336275292e
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
3b962e3fd4
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
22a0dce4a6
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
fe68a098ea
reorder includes
2025-06-19 22:17:26 +02:00
Sebastian Fieber
1521d5195a
add bindings for land textures
2025-06-19 22:17:26 +02:00
Calandiel
283be9f4f0
add docs for the new binding
2025-06-19 22:17:26 +02:00
Calandiel
910690c7e5
expose a terrain height getter
2025-06-19 22:17:26 +02:00
Alexei Kotov
5938ba528f
Export symbols for openmw binary under Clang ( #8039 )
2025-06-19 14:43:10 +03:00
AnyOldName3
f7b8091117
Add missing semicolon
2025-06-19 00:23:52 +01:00
AnyOldName3
acbc0a9b8f
Fix launching other binaries when the CWD is not the binary directory
2025-06-19 00:19:14 +01:00
AnyOldName3
2ce4571c3a
Handle paths passed on the command line properly
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/8567 .
Also maybe horribly breaks lots of things because it removes some insanity from https://gitlab.com/OpenMW/openmw/-/merge_requests/86 , which would set the CWD to the local directory just in case any local-relative paths were expressed relatively without the explicit base being the local path.
2025-06-17 00:26:06 +01:00
Alexei Kotov
e7305e7c97
Merge branch 'colorfullights' into 'master'
...
Use the Color type for Light colours in Lua
Closes #8558
See merge request OpenMW/openmw!4715
2025-06-14 00:36:45 +03:00
Aussiemon
f085717aef
Import ESS kill count / selected spell as RefIDs, handle old INFO records
2025-06-12 23:28:14 +03:00
Evil Eye
be0cbb7277
Use the Color type for Light colours in Lua
2025-06-12 17:17:28 +02:00
psi29a
1c242425b0
Merge branch 'finite_number' into 'master'
...
Reduce code duplication for finite number and add tests
See merge request OpenMW/openmw!4707
2025-06-06 22:14:32 +00:00
elsid
267ce1ec9b
Reduce code duplication for finite number
2025-06-06 00:05:07 +02:00
Evil Eye
c05d2d1d38
Restrict openmw.animation to local scripts
2025-06-05 20:15:40 +02:00
Evil Eye
360abd9b90
Render openmw.animation inaccessible in menu scripts
2025-06-05 20:13:36 +02:00
Aussiemon
0d96d71be6
Change World.setGameTimeScale to float
2025-06-04 11:40:53 -06:00
Aussiemon
e2cf80e3a6
Protect more bindings from non-finite numbers
2025-06-03 19:34:10 -06:00
Alexei Kotov
ecc9e8f5cd
Merge branch 'silencedcode' into 'master'
...
Remove dead code
See merge request OpenMW/openmw!4699
2025-06-01 23:23:35 +03:00
psi29a
79a2735e19
Merge branch 'datachanged' into 'master'
...
Launcher: Reload cells after a short delay (#8478 )
See merge request OpenMW/openmw!4664
2025-06-01 10:47:23 +00:00
Evil Eye
4e8a713819
Remove dead code
2025-05-31 15:26:11 +02:00
psi29a
0c6c71f6cb
Merge branch 'qprogressbar' into 'master'
...
Increment some new Qt progress bars the canonical way
See merge request OpenMW/openmw!4698
2025-05-30 07:22:35 +00:00
psi29a
ed03babb08
Merge branch 'consolesearch' into 'master'
...
Uncursify forward/reverse console search (#8532 )
Closes #8532
See merge request OpenMW/openmw!4697
2025-05-30 07:21:26 +00:00
Alexei Kotov
e7976a544a
Increment some new Qt progress bars the canonical way
2025-05-29 03:33:03 +03:00
Alexei Kotov
f7a33d24e2
Uncursify forward/reverse console search ( #8532 )
...
Correct search start/end calculation, give normal search the memo that the end iterator's meaning changed and fix broken invalid range guards.
2025-05-28 22:11:22 +03:00
Alexei Kotov
b0d389319c
Merge branch 'layer_desync' into 'master'
...
Prevent conflicts between UI layer insertions
See merge request OpenMW/openmw!4696
2025-05-27 17:45:11 +03:00
uramer
32169155bb
Fix before insert index
2025-05-27 11:56:16 +00:00
Aussiemon
d2f1eeff98
Prevent hard freeze when camera receives invalid inputs from Lua
2025-05-26 07:22:10 +00:00
uramer
fa3e8ea74d
Prevent conflicts between UI layer insertions
2025-05-25 12:32:29 +02:00
psi29a
8a10de5fed
Merge branch 'kaamatan-seminggu-lagi-8165' into 'master'
...
Remove redundant activate check in `activateBy` #8165
See merge request OpenMW/openmw!4690
2025-05-24 12:35:09 +00:00
psi29a
42ca8e31eb
Merge branch 'equipunequip' into 'master'
...
Allow equip attach/detach keys to coincide with the start key
See merge request OpenMW/openmw!4691
2025-05-23 07:26:58 +00:00
Aussiemon
192cf1535b
Fix second instance of mPickpocketDetected set after use
2025-05-22 16:10:05 -06:00
Aussiemon
b5aaf4ca30
Fix mPickpocketDetected flag being set after use
2025-05-22 16:03:52 -06:00
Alexei Kotov
e8b0ee874f
Launcher: Reload cells after a short delay ( #8478 )
2025-05-22 15:42:56 +03:00
Alexei Kotov
9387f50f77
Allow equip attach/detach keys to coincide with the start key
2025-05-22 04:53:34 +03:00
elsid
0fc22b2b2d
Check selected files existence in the reload cells thread
...
This reduces UI reponse time.
2025-05-21 22:11:22 +02:00
Kuyondo
30da6dc508
allow activateBy to trigger handlers
2025-05-22 02:45:29 +08:00
psi29a
0251b7c820
Merge branch 'uneventful' into 'master'
...
Don't trigger cell change logic when the player isn't changing cells
Closes #8469
See merge request OpenMW/openmw!4657
2025-05-13 20:30:28 +00:00
Evil Eye
9ea1afedcc
Merge branch 'baiki-isActive-kembalikan-bool' into 'master'
...
self:isActive() returns bool
See merge request OpenMW/openmw!4663
2025-05-09 15:17:08 +00:00
thagberg
883f9e5049
Fix anti-aliasing on macOS
...
Blitting to the resolve FBO in OSG::RenderStage was causing a GL_INVALID_FRAMEBUFFER_OPERATION due to a mismatch in attached colorbuffers between the FBOs bound in read and draw slots. This was because the normal attachment was invariantly attached to FBO_Interrupt, but not to other FBOs.
2025-05-07 16:31:22 -04:00
Kuyondo
77bd2250b0
isactive return bool now
2025-05-07 11:24:09 +08:00
Evil Eye
d1196ea667
Ignore resistances for base diseases
2025-05-06 20:09:48 +02:00
elsid
4a18c23e2d
Wait for the reloading cells thread on DataFilesPage destruction
...
Run a single thread and notify it when it has to reload cells.
2025-05-04 21:59:49 +02:00
Evil Eye
87014016a2
Stop postponing physics for objects that _don't_ have physics
2025-05-03 17:25:27 +02:00
Evil Eye
57c40bc052
Don't trigger cell change logic when the player isn't changing cells
2025-05-03 16:26:39 +02:00
elsid
b5f8a0ecdb
Fix warning: -Wstring-compare
...
In file included from ../../../components/esm/defs.hpp:7,
from ../../../apps/components_tests/esm/test_fixed_string.cpp:1:
In function 'bool ESM::operator==(const FixedString<capacity>&, const char (&)[rhsSize]) [with long unsigned int capacity = 4; long unsigned int rhsSize = 12]',
inlined from 'virtual void {anonymous}::EsmFixedString_empty_strings_Test::TestBody()' at ../../../apps/components_tests/esm/test_fixed_string.cpp:82:13:
../../../components/esm/esmcommon.hpp:142:85: error: 'int strncmp(const char*, const char*, size_t)' of strings of length 0 and 4 and bound of 4 evaluates to nonzero [-Werror=string-compare]
142 | return strnlen(rhs, rhsSize) == strnlen(lhs.mData, capacity) && std::strncmp(lhs.mData, rhs, capacity) == 0;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
2025-04-28 22:07:00 +02:00
Alexei Kotov
55107e0913
Merge branch 'idle_select_to_group_name' into 'master'
...
Use string_view for sIdleSelectToGroupName
See merge request OpenMW/openmw!4646
2025-04-28 03:02:17 +03:00
Alexei Kotov
58fcc8f66d
Require a non-empty argument in ShowMap ( #8466 )
2025-04-26 13:29:01 +03:00
elsid
fc4cc3255d
Do not build navmeshtool translation units twice
2025-04-24 23:03:07 +02:00
elsid
f487a6332b
Use string_view for sIdleSelectToGroupName
2025-04-24 23:01:30 +02:00
Sam Kaufman
1948ab21f7
Set SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH.
...
This fixes bugs #8225 and #8462 .
2025-04-23 20:33:56 -07:00
elsid
626d7b2282
Add missing TargetPolygonNotFound enum value to lua bindings
2025-04-21 16:36:19 +02:00
Evil Eye
05c624bc34
Merge branch 'rm_using_namespace_fallback' into 'master'
...
Remove redundant using namespace Fallback
See merge request OpenMW/openmw!4638
2025-04-21 08:39:48 +00:00
Aussiemon
22c01b22c1
Clang format
2025-04-19 23:06:30 -06:00
Aussiemon
085e5d1988
Calculate spell cost when building buying window
2025-04-19 22:31:58 -06:00
elsid
042c4b2b9d
Use static_assert for compile time check
2025-04-18 14:38:23 +02:00
elsid
0d5e9ef85f
Remove redundant using namespace Fallback
...
C++ has ADL to find overloads. using namespace does nothing in this
case.
2025-04-18 12:27:37 +02:00
psi29a
87d77a6882
Merge branch 'rippleshaders' into 'master'
...
Fix crash if ripple pipeline shaders are unavailable
See merge request OpenMW/openmw!4622
2025-04-17 09:26:12 +00:00
AnyOldName3
31fcc5e126
Add test for new ReadersCache functions
2025-04-11 17:30:56 +01:00
psi29a
ea8369eff0
Merge branch 'dont-redraw-the-whole-gui-every-time-we-change-the-tiniest-thing' into 'master'
...
Be more careful when we tell Qt that data has changed
Closes #8405
See merge request OpenMW/openmw!4621
2025-04-09 11:19:32 +00:00
AnyOldName3
096759435a
Add progress bars where the launcher can be limited by IO
...
I tested this with a USB3 external hard drive.
These two places were the only ones where we're IO-bound and block the main thread, so they're the only ones that need progress bars.
If trying to replicate this test, then it's important to unplug the hard drive between each repeat.
Apparently Windows is excellent at disk caching these days as it takes a minute and a half to start the launcher with Total Overhaul on this drive when it's just been plugged in, but less time than the first launch after a reboot on an NVME drive once the cache has been warmed up.
2025-04-09 01:36:52 +01:00
psi29a
428044abe2
Merge branch 'moveoutalready' into 'master'
...
Open the data directory file picker at the last opened location
Closes #8426
See merge request OpenMW/openmw!4606
2025-04-07 11:04:26 +00:00
psi29a
bd1c2a11d7
Merge branch 'herbalfish' into 'master'
...
Fix some graphic herbalism issues
See merge request OpenMW/openmw!4624
2025-04-07 11:03:55 +00:00
psi29a
0c4c202998
Merge branch 'ifavideofallsintheforest' into 'master'
...
Pause menu video playback when OpenMW is minimized
Closes #8441
See merge request OpenMW/openmw!4625
2025-04-07 11:03:37 +00:00
Alexei Kotov
8419116cae
Fix crash if ripple pipeline shaders are unavailable
2025-04-07 03:31:32 +03:00
psi29a
8a0f513094
Merge branch 'fix_clang_tidy' into 'master'
...
Fix clang tidy checks
See merge request OpenMW/openmw!4619
2025-04-06 17:54:20 +00:00
Evil Eye
1667b11564
Pause menu video playback when OpenMW is minimized
2025-04-06 19:42:04 +02:00
psi29a
b29d89bd6a
Merge branch 'enchantment404' into 'master'
...
Allow referenced enchantments to be missing on equipped items
See merge request OpenMW/openmw!4617
2025-04-06 16:06:10 +00:00
Evil Eye
d826962eaa
Don't assume unresolved containers contain no visible items
2025-04-06 11:02:31 +02:00
AnyOldName3
7bad2864d9
Reuse QIcon
...
This saves more than 15% of launcher startup time on my machine (after the prior improvements - it's way less without those)
2025-04-06 02:40:42 +01:00
elsid
7c45a564a1
Fix clang-analyzer-deadcode.DeadStores
2025-04-05 12:55:17 +02:00
Evil Eye
15f4368fe6
Account for creatures not having a model in more places
2025-04-05 10:19:50 +02:00
Alexei Kotov
065a388632
Allow enchantments to be missing on equipped items
2025-04-05 01:10:41 +03:00
Kindi
0eb2ced072
update spell windows after selecting spell using quickkey
2025-04-04 12:58:07 +08:00
Evil Eye
86426aa87b
Open the data directory file picker at the last opened location
2025-03-31 17:11:09 +02:00
elsid
a61ce111a5
Remove declaration without definition
2025-03-31 00:28:06 +02:00
psi29a
747771ac5e
Merge branch 'fontexport' into 'master'
...
Restore --export-fonts option functionality
See merge request OpenMW/openmw!4561
2025-03-27 11:04:35 +00:00
elsid
ada48d9021
Reduce a chance to have a deadlock in the AsyncNavMeshUpdater
...
* Do not fail tile generation if debug mesh writing fails.
* Mark some functions as noexcept to better crash than have a deadlock.
* Unlock tile and remove job if there on exception while processing it.
2025-03-23 23:33:40 +01:00
elsid
7112217adc
Use temporary directory for tests output
2025-03-23 23:33:40 +01:00
Evil Eye
73811b45b1
Clarify the resetInitialPosition loop
2025-03-23 21:44:04 +01:00
Evil Eye
88cac9b0fa
Reset initial wander position when commanding actors and don't create return packages when stacking actual ai packages
2025-03-23 18:25:20 +01:00
psi29a
d13f108779
Merge branch 'nbsp' into 'master'
...
Non-breaking space-related fixes (#8378 )
Closes #8378
See merge request OpenMW/openmw!4592
2025-03-23 16:27:07 +00:00
elsid
51258662b5
Support max log level for Recast via env variable
...
Do not write to log if log message level is greater than one speficied
in the OPENMW_RECAST_MAX_LOG_LEVEL env variable. Use Error by default.
2025-03-21 15:34:47 +01:00
Alexei Kotov
d6916c35bc
Only print the player name if it doesn't match the profile
2025-03-21 04:10:52 +03:00
Alexei Kotov
8634b6c3ac
Revise saved game dialog save info layout ( #8313 )
2025-03-21 03:18:32 +03:00
psi29a
241a24564a
Merge branch 'doubleexit' into 'master'
...
Don't assume there is a GUI mode in exitCurrentGuiMode (#8380 )
Closes #8380
See merge request OpenMW/openmw!4590
2025-03-18 13:16:23 +00:00
Alexei Kotov
cd3980eca4
Make figure space non-breaking
2025-03-18 10:29:29 +03:00
Alexei Kotov
b5a2a4e52d
Render no-break space in books, don't consider narrow NBSP breaking
2025-03-17 22:03:38 +03:00
Alexei Kotov
887e1c04ef
Spell buying window layout tweaks
2025-03-16 13:53:43 +03:00
Alexei Kotov
4db41c2111
Merchant repair menu layout tweaks
2025-03-16 13:16:59 +03:00
Alexei Kotov
e4ae0c9a95
Don't assume there is a GUI mode in exitCurrentGuiMode ( #8380 )
2025-03-16 09:06:01 +03:00
Evil Eye
2b5d076ff8
Merge branch 'followmeifyouwanttohit' into 'master'
...
Don't use attack strength as "hit ready" flag
See merge request OpenMW/openmw!4583
2025-03-15 12:02:35 +00:00
Alexei Kotov
34a5eb7512
Editor: Account for pixel ratio in instance mode mouse coordinates conversion ( #6573 )
2025-03-13 20:06:20 +03:00
Alexei Kotov
9f85e51934
Only log ripples pipeline once
2025-03-11 17:37:18 +03:00
Alexei Kotov
569ed4559f
Merge branch 'fix_msvc_warnings' into 'master'
...
Fix msvc warnings
See merge request OpenMW/openmw!4579
2025-03-11 00:55:32 +03:00