1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:53:52 +00:00
Commit graph

22554 commits

Author SHA1 Message Date
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
elsid
6ba42314df
Fix Ptr::toString 2024-06-09 04:08:18 +02:00
Andrei Kortunov
fb3687e62a Set minimum width for Launch OpenMW button 2024-06-08 17:20:54 +04: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
psi29a
9087de1596 Merge branch 'esm3_land' into 'master'
Add unit tests for saving and loading ESM3 Land

See merge request OpenMW/openmw!4159
2024-06-08 10:47:58 +00: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
176e6490c5 Merge branch 'stufftheminasack' into 'master'
Drop 360-degree screenshot support (#7720)

Closes #7720

See merge request OpenMW/openmw!4158
2024-06-07 20:50:43 +00: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
elsid
044748725c
Add unit tests for saving and loading ESM3 Land 2024-06-07 00:22:24 +02:00
psi29a
24d8accee7 Merge branch 'lua_base_disposition_fns' into 'master'
lua - Add [get,set,mod]BaseDisposition functions to npc type

See merge request OpenMW/openmw!4142
2024-06-06 21:44:55 +00:00
Mads Buvik Sandvei
e063fa5b23 rename template_ to templatePtr 2024-06-06 16:51:51 +02:00
Alexei Kotov
93d1c6d7e0 Drop 360-degree screenshot support (#7720) 2024-06-06 14:46:01 +03:00
Mads Buvik Sandvei
90b415a8dd comments by elsid 2024-06-06 11:20:14 +02:00
Alexei Kotov
593d4ff714 Move per-pixel lighting to the in-game settings 2024-06-06 05:19:33 +03:00
psi29a
ee5ccaa760 Merge branch 'setangleaxis' into 'master'
Fix SetAngle alternative axis order

See merge request OpenMW/openmw!4155
2024-06-05 21:00:15 +00:00
Evil Eye
330f5de78d Rename ot mStatic 2024-06-05 21:48:07 +02:00
Sebastian Fieber
ed26708e4d more dry + restrict mutation of disposition to global and on self 2024-06-05 18:09:54 +02:00
Alexei Kotov
32ca57c9ad Merge branch 'unify_operation_bars' into 'master'
Unify operation progress bar appearance

See merge request OpenMW/openmw!4154
2024-06-05 11:31:27 +00:00
psi29a
8f3625b6a8 Merge branch 'cleanup_object_paging' into 'master'
Cleanup object paging

See merge request OpenMW/openmw!4149
2024-06-04 20:39:37 +00:00
jvoisin
c7f3277744 Merge branch 'waterfiltering' into 'master'
Apply filtering settings to water normal map

See merge request OpenMW/openmw!4151
2024-06-04 16:37:52 +00:00
Alexei Kotov
4a394a391b Fix SetAngle alternative axis order 2024-06-04 18:44:55 +03:00
Andrei Kortunov
eac2082e82 Unify operation progress bar appearance 2024-06-04 11:07:08 +04:00
Alexei Kotov
56b31d87e3 Merge branch 'soundfixes' into 'master'
Follow-up work for Lua-based music

See merge request OpenMW/openmw!4146
2024-06-03 22:03:04 +00:00
Evil Eye
ca6baed366 Fix LTEX overriding and allow deletion 2024-06-03 16:42:27 +02:00
Alexei Kotov
c7e98fdb45 Apply filtering settings to water normal map 2024-06-03 11:12:29 +03:00
elsid
2169e22e93
Move key when inserting item to mLODNameCache 2024-06-02 13:16:22 +02:00
elsid
6e3fd34790
Calculate floor and ceil of bounds once 2024-06-02 13:16:22 +02:00
elsid
3790e97184
Clarify scope and constness of the variables 2024-06-02 13:16:22 +02:00
elsid
d9d8802f3a
Move node when inserting into a nodes map 2024-06-02 13:16:22 +02:00
elsid
aecdf04705
Use custom struct for CellRef used by object paging
ESM::CellRef is too heavy. There is no need to have all the data from there.
2024-06-02 13:16:21 +02:00
elsid
0040409a4d
Move collectESM3References to unnamed namespace 2024-06-02 13:16:21 +02:00
elsid
524af5b723
Move symbols not defined in header to unnamed namespace 2024-06-02 13:16:20 +02:00
Andrei Kortunov
7b5146e824 Do not allow Lua's "stopMusic" to interrupt MWScript's music 2024-06-02 13:18:06 +04:00
Andrei Kortunov
402e725d87 Reset music type to Normal when we are done to scripted music 2024-06-02 09:44:41 +04:00
Andrei Kortunov
e762ae9703 Move current music from MechanicsManager to SoundManager 2024-06-02 09:29:28 +04:00
psi29a
05815b3952 Merge branch 'settingswindow' into 'master'
Hide the settings window when any main menu button is pressed

See merge request OpenMW/openmw!4136
2024-06-01 15:31:56 +00:00
Mads Buvik Sandvei
a1b695a8d5 De-duplicate ManualRef constructor 2024-05-31 23:10:54 +02:00
Sebastian Fieber
da4531faa0 rename modBaseDisposition to modifyBaseDisposition 2024-05-31 19:39:02 +02:00
Sebastian Fieber
f683adeb14 Add [get,set,mod]BaseDisposition functions to npc type 2024-05-30 00:08:11 +02:00
Mads Buvik Sandvei
ae4bf04798 Fix soul gems losing their souls when splitting stacks between containers. 2024-05-28 23:35:44 +02:00
elsid
6218afa484
Cleanup object paging includes 2024-05-28 22:21:15 +02:00
elsid
b5a75ba96c
Use std::vector to collect ChunkIds to be removed
Cache does not have duplicated entries.
2024-05-28 22:21:15 +02:00
elsid
b64069156d
Convert position on construction 2024-05-28 22:21:15 +02:00
elsid
33ef7fc8ca
Make ClearCacheFunctor a class and rename to clarify the purpose 2024-05-28 22:21:14 +02:00
psi29a
e7c9574d31 Merge branch 'savetheslot' into 'master'
Convert constant effect equipment slots to refnums

Closes #7998

See merge request OpenMW/openmw!4130
2024-05-28 11:09:36 +00:00
psi29a
8cf6fde8b6 Merge branch 'fix_debug_render' into 'master'
Fix debug render for recast mesh and navmesh

See merge request OpenMW/openmw!4127
2024-05-28 07:38:00 +00:00
psi29a
af4adf41d0 Merge branch 'saveyourvanityforsomeonewhocares' into 'master'
Toggle the vanity camera off before toggling to the saved camera mode

Closes #7960

See merge request OpenMW/openmw!4135
2024-05-28 07:37:44 +00:00
psi29a
4ae29b0042 Merge branch 'log_exceptions' into 'master'
Log caught exceptions

See merge request OpenMW/openmw!4131
2024-05-28 07:36:30 +00:00
Alexei Kotov
340783e3a1 Merge branch 'modernprometheus' into 'master'
Make torches held by creatures emit light

Closes #8002

See merge request OpenMW/openmw!4134
2024-05-27 18:19:58 +00: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
Alexei Kotov
7274d825a3 Hide the settings window when any main menu button is pressed 2024-05-26 23:49:52 +03:00
Evil Eye
9027af426b Toggle the vanity camera off before toggling to the saved camera mode 2024-05-26 11:35:13 +02:00
Evil Eye
a7026ae3e9 Make torches held by creatures emit light 2024-05-26 09:52:50 +02:00
elsid
71369be796
Log caught exceptions 2024-05-26 02:52:11 +02: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
11e8e1eeb5 Include creatures 2024-05-25 09:58:46 +02:00
psi29a
62930cb8db Merge branch 'fix_archives_selection' into 'master'
Fix archive selection when switching profiles (#7956)

See merge request OpenMW/openmw!4118
2024-05-24 23:06:55 +00:00
Yury Stepovikov
80d2b289e7 Fix archive selection when switching profiles (#7956) 2024-05-24 23:06:55 +00:00
psi29a
6e0606b55b Merge branch 'paralysisagainagain' into 'master'
Make paralysis cancel camera mode changes (#7997)

Closes #7997

See merge request OpenMW/openmw!4122
2024-05-24 23:06:35 +00:00
psi29a
c8567e96fd Merge branch 'itsover32767' into 'master'
Use more appropriate types in terrain storage

See merge request OpenMW/openmw!4125
2024-05-24 21:56:20 +00:00
psi29a
157a5a4489 Merge branch 'l10n' into 'master'
Many localization fixes

See merge request OpenMW/openmw!4108
2024-05-24 17:46:47 +00:00
Evil Eye
cdfd305ac3 Convert constant effect equipment slots to refnums 2024-05-24 16:59:48 +02:00
elsid
d6af9305ae
Exclude debug rendering from toggleworld 2024-05-24 01:08:15 +02:00
elsid
4b8897e33e
Use state sets without transparency support for recast mesh and agents paths 2024-05-24 00:05:10 +02:00
elsid
98d530d8cb
Share state sets for recast mesh tiles and actors paths 2024-05-24 00:05:09 +02:00
Evil Eye
6a10311ae5 Use more appropriate types in terrain storage 2024-05-23 18:48:54 +02:00
psi29a
d15be7a685 Merge branch 'fix-nearest-gui-options' into 'master'
Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI

See merge request OpenMW/openmw!4114
2024-05-23 10:07:42 +00:00
psi29a
db27543ea1 Merge branch 'uniform_choice' into 'master'
Add choice widget type to postprocessing uniforms

See merge request OpenMW/openmw!3969
2024-05-23 10:06:22 +00:00
psi29a
b0aa19dc07 Merge branch 'msvc_crash_fix' into 'master'
Avoid MSVC crash in Visual Studio 17.10.0

See merge request OpenMW/openmw!4116
2024-05-23 10:05:52 +00:00
Alexei Kotov
ae7861abe4 Move paralysis god mode checks to CreatureStats 2024-05-23 11:48:59 +03:00
Sam Hellawell
d3c1aa6653 Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI 2024-05-23 04:11:29 +01:00
psi29a
2be6116ef6 Merge branch 'fix_recastmesh' into 'master'
Limit number of cached tiles with recast meshes

See merge request OpenMW/openmw!4112
2024-05-22 20:38:42 +00: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
psi29a
cd116ebe5f Merge branch 'dark_mode' into 'master'
Support dark mode on Windows

Closes #7985

See merge request OpenMW/openmw!4101
2024-05-20 14:51:20 +00:00
Andrei Kortunov
bf682d51a6 Support dark mode on Windows (feature 7985) 2024-05-20 16:50:24 +04:00
psi29a
fd3ae0d42a Merge branch 'dehardcode_music' into 'master'
Dehardcode music

See merge request OpenMW/openmw!3438
2024-05-20 12:49:33 +00:00
psi29a
f34994e4c8 Merge branch 'notexturetypeconfusion' into 'master'
Support defining the texture type with a state attribute (#6240)

Closes #6240

See merge request OpenMW/openmw!4079
2024-05-20 12:48:30 +00:00
psi29a
651a7d569c Merge branch 'activatebooks' into 'master'
Allow NPCs to activate in-world books for the player (part of #7959)

See merge request OpenMW/openmw!4080
2024-05-20 12:46:01 +00:00
psi29a
d67bc1defd Merge branch 'timeplayedhours' into 'master'
Improve Time Played formatting (#7971)

Closes #7971

See merge request OpenMW/openmw!4107
2024-05-20 12:45:49 +00:00
Alexei Kotov
a3bfd3a337 Merge branch 'fix-infinite-fall-into-void' into 'master'
Fix infinite fall into void (#1415)

Closes #1415

See merge request OpenMW/openmw!4100
2024-05-19 20:47:13 +00:00
Alexei Kotov
e96ebec2cf Merge branch 'fix_lua_attack' into 'master'
Allow Actors to pick an attack type/animation when no AI applies (fix #7583)

Closes #7583

See merge request OpenMW/openmw!4102
2024-05-19 20:40:09 +00:00
Alexei Kotov
03652104fe Merge branch 'cleanup_preloading' into 'master'
Cleanup preloading code

See merge request OpenMW/openmw!4104
2024-05-19 20:39:28 +00:00
Evil Eye
77d554594f Add ReadersCache::clear 2024-05-19 20:39:23 +02:00
Andrei Kortunov
5a1ec8ce87 Implement Lua-based music 2024-05-19 22:10:54 +04:00
elsid
45d62ee59f
Limit RecastMeshManager range by active cell grid 2024-05-19 20:07:47 +02:00
elsid
49db37ee29
Merge setWorldspace and updateBounds 2024-05-19 20:07:47 +02:00
elsid
9854d42d56
Use ESM::RefId for worldspace type 2024-05-19 20:07:47 +02:00
elsid
5d28164416
Remove recast mesh tiles outside active range 2024-05-19 20:07:47 +02:00
elsid
4f5bdbb4fb
Remove recastmesh group for absent tile 2024-05-19 20:07:47 +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
Alexei Kotov
908f3891fb Add helper method for texture type recovery 2024-05-19 02:26:40 +03:00
Alexei Kotov
84f4ba4ca1 Support defining the texture type with a state attribute (#6240)
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
2024-05-18 23:11:20 +03:00
Sam Hellawell
c1cd8bd900 Check collision before findInteriorPositionfindInteriorPos 2024-05-18 06:33:06 +01:00
elsid
6f70350f2f
Remove unused arguments from preload functions 2024-05-17 19:42:44 +02:00
elsid
7290ce81c0
Avoid allocating std::vector for a single element 2024-05-17 19:42:44 +02:00
elsid
ac891a5eb1
Use algorithms to check if PositionCellGrid(s) is/are contained in a range 2024-05-17 19:42:31 +02:00
Evil Eye
c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
2024-05-17 15:02:00 +00:00
psi29a
42db5f4386 Merge branch 'fix_menu_timers' into 'master'
Process menu script timers

See merge request OpenMW/openmw!4103
2024-05-17 08:54:43 +00:00
Alexei Kotov
86ecf3fa0c Make saved game dialog Health and Level lines localizable
Currently providing English, Russian and GMST-based localization.
2024-05-17 05:01:06 +03:00
Alexei Kotov
b8ee467d13 Allow NPCs to activate in-world books for the player (part of #7959) 2024-05-17 01:04:30 +03:00
Alexei Kotov
6bf0d17aa2 Improve Time Played formatting (#7971) 2024-05-16 23:48:13 +03:00
Sam Hellawell
72dbad6fb4 Satisfy king clang 2024-05-16 20:10:32 +01:00
Sam Hellawell
6f7fff409c Empty refid check 2024-05-16 19:38:29 +01:00
trav5
3f26a6c5a0 Merge branch 'master' of https://gitlab.com/OpenMW/openmw into fix7970-remove-removed-spells-on-rest 2024-05-16 20:14:09 +02:00
psi29a
4a3dbb5a80 Merge branch 'default_colors' into 'master'
Change default colors in script editor to support dark themes

See merge request OpenMW/openmw!4097
2024-05-16 11:19:24 +00:00
psi29a
991f887de2 Merge branch 'fix/7562-mouse-position' into 'master'
fix(openmw): MacOS Scaling Bugs

See merge request OpenMW/openmw!3963
2024-05-16 11:15:03 +00:00
Dylan
91a771f851 fix(openmw): MacOS Scaling Bugs 2024-05-16 11:15:02 +00:00
Sam Hellawell
64142dbd51 Merge remote-tracking branch 'origin/master' into fix-infinite-fall-into-void
# Conflicts:
#	CHANGELOG.md
2024-05-16 04:48:27 +01:00
Sam Hellawell
e98c4f86d6 Remove period 2024-05-16 00:14:09 +01:00
elsid
d71b422615
Convert PositionCellGrid into a struct 2024-05-15 22:33:12 +02:00
Sam Hellawell
e1cfd46f87 Do not teleport if dest < lowest point or collision disabled, add debug log 2024-05-15 20:41:48 +01:00
Zackhasacat
20d26a9cda Use random attack type 2024-05-15 14:09:33 -05:00
uramer
a662198903 Process menu script timers 2024-05-15 21:07:23 +02:00
Zackhasacat
0ad64cffdb Add empty line back 2024-05-15 12:41:45 -05:00
Zackhasacat
b62b0a2f00 Check for world AI disable 2024-05-15 11:56:58 -05:00
Zackhasacat
1e05bb20bf Allow Actors to pick an attack type/animation when no AI applies 2024-05-15 11:39:02 -05:00
Sam Hellawell
b43c7238e9 Fix infinite fall into void (#1415) 2024-05-15 05:01:58 +01:00
Alexei Kotov
195599c13c Don't update head animation if the animation is paused (#7980) 2024-05-15 01:38:32 +03:00
Andrei Kortunov
dca452aaca Change default colors in script editor to support dark themes 2024-05-14 13:59:19 +04:00
psi29a
2bed7450b6 Merge branch 'style_change' into 'master'
Minor changes in Qt styles handling

See merge request OpenMW/openmw!4093
2024-05-14 07:43:55 +00:00
trav5
238d68b691 Magic effects are updated once before applying when resting
Fixing #7970.
When the player was resting, all their magic effects were applied throughout
the rest duration, including the effects for already removed spells, which
were applied once more before removal.
This commit calls an update before that applying, so that these removed
spells are executed and removed and only then the real duration-long
execution of remaining magic effects takes place.
2024-05-13 21:41:41 +02:00
Zackhasacat
c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 2024-05-13 14:14:44 +00:00
Andrei Kortunov
bf568da6de Remove redundant checks 2024-05-12 17:26:18 +04:00
Andrei Kortunov
0262b33067 Update toolbar style sheet when theme changed 2024-05-12 17:26:14 +04:00
Andrei Kortunov
d5bbd75828 Make sure that Open button becomes focused after enabling 2024-05-12 17:26:14 +04:00
Andrei Kortunov
b0930158df Use an auto raise mode to disable the border 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
abd4596cf8 Do not use style sheets to set font 2024-05-12 15:34:33 +04:00
psi29a
ea7555c012 Merge branch 'feature/pplLauncherSetting' into 'master'
added force PPL checkbox

See merge request OpenMW/openmw!3857
2024-05-11 07:45:04 +00:00
psi29a
919d1e366e Merge branch 'staticcollections' into 'master'
Place static collections to the scene and fix item modification record loading

See merge request OpenMW/openmw!4085
2024-05-11 07:43:28 +00:00
psi29a
3e8442e749 Merge branch 'fix_build' into 'master'
Add missing include (#7967)

Closes #7967

See merge request OpenMW/openmw!4087
2024-05-11 07:42:55 +00:00
elsid
35f5c8cd15
Add missing includes 2024-05-10 23:27:21 +02:00
jvoisin
c9890fbd4f Merge branch 'fix_disabled_esm4' into 'master'
Make a check for disabled parent recursive

See merge request OpenMW/openmw!4084
2024-05-10 20:13:47 +00:00
elsid
26233e082d
Optimize iteration over dialogue records 2024-05-10 10:38:18 +02:00
Zackhasacat
0e1678b3b8 Merge branch 'mwdialogue-bindings' into 'master'
Add Lua bindings for ESM::Dialogue record stores to openmw.core

Closes #7964

See merge request OpenMW/openmw!4034
2024-05-09 23:22:03 +00:00
Alexei Kotov
29b25ffb26 Formatting 2024-05-09 17:52:34 +03:00
elsid
bad935ff34
Make a check for disabled parent recursive 2024-05-09 16:38:30 +02:00
Alexei Kotov
fd4d3b8a27 Fix item mod record loading 2024-05-09 17:29:47 +03:00
Alexei Kotov
7d979a2dfc Place ESM4 static collections to the scene 2024-05-09 17:26:27 +03:00
psi29a
99ac6c40e5 Merge branch 'wizard_update' into 'master'
UI fixes for Wizard

See merge request OpenMW/openmw!4069
2024-05-09 08:45:29 +00:00
Alexei Kotov
b9069835b2 Merge branch 'scriptedit' into 'master'
Improve appearance of script editor in the OpenMW-CS

See merge request OpenMW/openmw!4076
2024-05-07 13:22:58 +00:00
Alexei Kotov
c95bb4ce59 Merge branch 'split_esm_headers' into 'master'
Split ESM headers

See merge request OpenMW/openmw!4071
2024-05-07 11:57:32 +00:00
trav
fc6695a918 Merge branch openmw:master into mwdialogue-bindings 2024-05-06 18:27:19 +00:00
Andrei Kortunov
b56c255be2 Improve appearance of script editor in the OpenMW-CS 2024-05-06 12:22:30 +04:00
psi29a
2e971ec2e3 Merge branch 'appropriateammunition' into 'master'
Adjust Russian appropriate ammunition setting label/description

See merge request OpenMW/openmw!4062
2024-05-05 20:19:45 +00:00
trav
512b7e46e5 Merge branch openmw:master into mwdialogue-bindings 2024-05-04 14:35:31 +00:00
elsid
f83d388391
Iterate over smaller container when removing blacklisted refs 2024-05-04 13:22:32 +02:00
elsid
a920ca9070
Report loading screens to osg stats 2024-05-04 13:22:32 +02:00
Alexei Kotov
95cef34477 Bump the minimum launcher width to 775 2024-05-04 11:15:57 +03:00
Hristos N. Triantafillou
63a27bbf99 Expose Wander option values to the Lua API (#7916) 2024-05-03 09:40:30 +00:00
elsid
01166b1f26
Split ESM headers 2024-05-03 01:55:20 +02:00
trav5
0e03b9bd32 ESM::Dialogue Lua bindings: filterActorGender returns string 2024-05-01 13:14:59 +02:00
trav5
9001ed1e2f ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell 2024-05-01 12:33:25 +02:00
Andrei Kortunov
9252879f0f UI fixes for Wizard 2024-05-01 08:56:35 +04:00
trav5
2cdfaa69b3 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs [correction] 2024-04-30 21:46:20 +02:00
trav5
9743276332 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs 2024-04-30 21:37:56 +02:00
psi29a
a57c350c08 Merge branch 'paint_svg' into 'master'
Change SVG icons color in the editor

See merge request OpenMW/openmw!4060
2024-04-30 08:19:51 +00:00
psi29a
bb89717886 Merge branch 'droppinglikeflies' into 'master'
Fix Drop behavior for creatures that don't have an inventory

See merge request OpenMW/openmw!4063
2024-04-30 08:18:22 +00:00
elsid
404940b6e0
Make sure proper number of cells is preloaded
Limit the number of exterior cells around a cell to be preloded based on current
and max cache size not just max cache size. Avoid doing break from inner loop
only.

Log when truncation happens but only once during process lifetime to warn a user.
2024-04-29 02:03:32 +02:00
elsid
2220868fa9
Preload surrounding exterior cells for the teleport door destination
When player teleports to the exterior cell, multiple cells are loaded not only
the target so better to have them preloaded too.
2024-04-29 01:02:49 +02:00
Alexei Kotov
cc4b2e5c58 Fix Drop behavior for creatures that don't have an inventory 2024-04-28 20:07:37 +03:00
psi29a
5b25435260 Merge branch 'fix_osg_stats_report' into 'master'
Report osg stats for frames with loading screens (#7737)

Closes #7737

See merge request OpenMW/openmw!4053
2024-04-28 14:16:41 +00:00
psi29a
1e1fd28136 Merge branch 'fix_anim_state' into 'master'
Fix AnimState initialization

See merge request OpenMW/openmw!4061
2024-04-28 13:14:44 +00:00
psi29a
24fca82f2c Merge branch 'faction_relations' into 'master'
Take in account faction reaction changes

See merge request OpenMW/openmw!4015
2024-04-28 13:05:13 +00:00
trav
c6807465f6 Merge branch openmw:master into mwdialogue-bindings 2024-04-28 10:34:21 +00:00
trav5
0aae0299af ESM::Dialogue Lua bindings: Several post-review fixes 2024-04-28 12:32:56 +02:00
jvoisin
3e63b507d4 Merge branch 'fix_physics_crash' into 'master'
Fix crash in physics worker on removing object (#7950)

Closes #7950

See merge request OpenMW/openmw!4057
2024-04-28 00:25:43 +00:00
trav5
421cf40508 ESM::Dialogue Lua bindings: ref in DialogueInfos 2024-04-27 21:56:22 +02:00
trav5
52e1f32c88 Important change, https://godbolt.org/z/YjjaaqYsc 2024-04-27 21:38:20 +02:00
trav5
897e43ae1e Less complex "index" and "at" 2024-04-27 15:22:19 +02:00
trav5
b9358521cc Better return values 2024-04-27 15:02:45 +02:00
elsid
9d2f132aa7
Fix AnimState initialization
Remove redundant user defined constructor and destructor, make sure all members
are properly initialized including mTime (new float does not initialize the
float).
2024-04-27 14:47:23 +02:00
trav5
4449b66846 Operators and retting rid of 'records' 2024-04-27 13:44:08 +02:00
elsid
41d5d3bf09
Report osg stats for all frames showing loading screens 2024-04-27 12:37:39 +02:00
Andrei Kortunov
070327a259 Change SVG color in the editor 2024-04-27 09:57:47 +04:00
trav
a0989c3481 Merge branch openmw:master into mwdialogue-bindings 2024-04-26 19:21:28 +00:00
elsid
5261f0c5cf
Modify PhysicsTaskScheduler::mCollisionObjects under lock
addCollisionObject is called from the main thread and removeCollisionObject is
usually called from the main thread and rarely from one of the physics worker
threads. This usually happens on cell unloading when object is already removed
from the scene but there is active simulation for it. Which possible because
it's a shared pointer.

There is getUserPointer function which only reads from the container but it's
called only when there is no active simulation so no lock is required.
2024-04-26 16:17:40 +02:00
elsid
acf1e51a28
Call getUserPointer only for not nullptr collision object
nullptr can't have user pointer anyway so it saves a lookup in the
unordered_map.
2024-04-26 15:32:27 +02:00
Benjamin Y
d62fb92b5b Fixed capitalization 2024-04-25 10:09:48 -05:00
Benjamin Y
3146015a00 Fixed Label Capitalization 2024-04-25 09:42:35 -05:00
psi29a
ec8675ba6f Merge branch 'scalable_launcher' into 'master'
Improve launcher appearance

See merge request OpenMW/openmw!4051
2024-04-25 08:46:29 +00:00
psi29a
3980bb15cc Merge branch 'lua_controller_cursor' into 'master'
Add lua bindings for controller cursor mode

See merge request OpenMW/openmw!3623
2024-04-25 08:45:57 +00:00
trav
0986b103c5 Merge branch openmw:master into mwdialogue-bindings 2024-04-24 21:06:58 +00:00
elsid
b4976354a5
Use correct frame and stats for lua worker
When a loading screen appears during the frame processing, the frame number
returned by the viewer is incremented and the stats reporting goes into the
wrong frame. Pass frame number and stats object from the main thread to avoid
this.
2024-04-24 21:53:59 +02:00
trav5
223e315fdb ESM::Dialogue Lua bindings quest change and docs 2024-04-24 21:17:26 +02:00
bwyunker
563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 2024-04-24 10:04:31 -05:00
psi29a
5f926bd129 Merge branch 'scalable_wizard' into 'master'
Use scalable icons for wizard

See merge request OpenMW/openmw!4050
2024-04-24 13:20:36 +00:00
psi29a
a20f456a5c Merge branch 'mudcrabcanhazsoulgem' into 'master'
Allow running soulgem instructions on all actors (#7943)

Closes #7943

See merge request OpenMW/openmw!4048
2024-04-24 13:20:09 +00:00
psi29a
a628c658a9 Merge branch 'lessgoofymaterialptr' into 'master'
Simplify material file pointer acrobatics

See merge request OpenMW/openmw!4049
2024-04-24 08:39:52 +00:00
Andrei Kortunov
5e8dc9cc03 Fix stub icon color 2024-04-24 11:14:50 +04:00
psi29a
6d0df9f686 Merge branch 'window_clamp' into 'master'
Do not take in account UI scaling factor twice

See merge request OpenMW/openmw!4046
2024-04-23 10:28:51 +00:00
Andrei Kortunov
d97838def1 Improve launcher appearance 2024-04-23 12:28:37 +04:00
Andrei Kortunov
0873eb6e62 Use scalable icons for wizard 2024-04-23 11:49:33 +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
Alexei Kotov
78eda530ac Simplify material file pointer acrobatics 2024-04-23 00:34:38 +03:00
Alexei Kotov
1c1df996be Allow running soulgem instructions on all actors (#7943) 2024-04-23 00:02:06 +03:00
Andrei Kortunov
d10b0d503b Do not take in account UI scaling factor twice 2024-04-22 13:36:34 +04: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
1909ec121b Take in account faction reaction changes 2024-04-21 18:00:26 +04:00
Andrei Kortunov
2264d067fc Clamp widgets coordinates to avoid crashes 2024-04-21 17:15:33 +04:00
elsid
a863899eb1
Use normalized path for SoundManager::streamMusic 2024-04-20 21:14:09 +02:00
trav5
277d830530 ESM::Dialogue Lua bindings 6 2024-04-20 20:23:37 +02:00
trav5
c1639e54b1 ESM::Dialogue Lua bindings 6 2024-04-20 19:53:56 +02:00
Alexei Kotov
6f9206428d Don't ignore material files in NifLoader tests 2024-04-20 19:43:42 +03:00
Alexei Kotov
4e3d45db1b Deduplicate file handling in niftest 2024-04-20 19:43:42 +03:00
Alexei Kotov
1d65aaee71 Formatting 2024-04-20 19:43:42 +03:00
Alexei Kotov
1a961f3021 Extremely early handling for BGSM/BGEM files 2024-04-20 19:43:41 +03:00
Alexei Kotov
4a03555d53 Add BGEM/BGSM file support to niftest 2024-04-20 19:43:40 +03: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
ddd64c893a Merge branch 'noyoudumbtoolyourflipingwrong' into 'master'
Don't flip the water normal map twice

See merge request OpenMW/openmw!4022
2024-04-20 16:39:09 +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
psi29a
29d6c76f93 Merge branch 'log_not_supported_agent_bounds_ptr' into 'master'
Log ptr for which agent bounds are not supported

See merge request OpenMW/openmw!4040
2024-04-20 16:37:37 +00:00
trav5
1e36b17679 ESM::Dialogue Lua bindings 5 2024-04-20 17:44:36 +02: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
trav5
3bb7bf1a4a ESM::Dialogue Lua bindings 4 2024-04-20 15:47:34 +02:00
trav5
d14fc1d28c ESM::Dialogue Lua bindings 3 2024-04-20 14:29:11 +02:00
trav
807d78a0d0 Merge branch openmw:master into mwdialogue-bindings 2024-04-20 12:27:47 +00:00
elsid
5b0eb0b5b0
Log ptr for which agent bounds are not supported
To make it easier to find what NPC or mod makes this happen.
2024-04-20 14:15:26 +02:00
elsid
40cc16046b
Use normalized path for sound decoder 2024-04-19 22:46:38 +02:00
elsid
e11a5a4352
Use normalized path for SoundManager::playPlaylist 2024-04-19 22:43:20 +02:00
elsid
38b005cda6
Use normalized path to store playlist music files 2024-04-19 22:42:20 +02:00
elsid
82931059fd
Make NormalizedView constructor from const char* explicit 2024-04-19 22:42:04 +02:00
Benjamin Y
8cc512cbc9 Convention fixes and remove confusing info 2024-04-18 18:44:51 -05: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
psi29a
b91ff634e4 Merge branch 'navmesh_queue' into 'master'
Optimize queue for navmesh async jobs

See merge request OpenMW/openmw!4025
2024-04-17 11:10:44 +00:00
Sam Hellawell
d09f32d9e4 Yes sir clang 2024-04-17 08:19:51 +01:00
Sam Hellawell
2653b76db9 getTranslation/getTransformForNode refactor, unit tests 2024-04-17 08:16:48 +01: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
jvoisin
b574155a0b Merge branch 'av_raii' into 'master'
Use RAII for ffmpeg pointers

See merge request OpenMW/openmw!4030
2024-04-16 19:20:24 +00:00
psi29a
e633d2bfd4 Merge branch 'unsubscribe' into 'master'
Deregister the player before loading a new one

See merge request OpenMW/openmw!4018
2024-04-16 08:48:48 +00:00