Commit Graph

22346 Commits (145f9c1154b7c48c7dae406b3ab68e7440f2f617)

Author SHA1 Message Date
Alexei Kotov 908f3891fb Add helper method for texture type recovery 8 months ago
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)
8 months ago
Sam Hellawell c1cd8bd900 Check collision before findInteriorPositionfindInteriorPos 8 months ago
elsid 6f70350f2f
Remove unused arguments from preload functions 8 months ago
elsid 7290ce81c0
Avoid allocating std::vector for a single element 8 months ago
elsid ac891a5eb1
Use algorithms to check if PositionCellGrid(s) is/are contained in a range 8 months ago
Evil Eye c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
8 months ago
psi29a 42db5f4386 Merge branch 'fix_menu_timers' into 'master'
Process menu script timers

See merge request OpenMW/openmw!4103
8 months ago
Alexei Kotov 86ecf3fa0c Make saved game dialog Health and Level lines localizable
Currently providing English, Russian and GMST-based localization.
8 months ago
Alexei Kotov b8ee467d13 Allow NPCs to activate in-world books for the player (part of #7959) 8 months ago
Alexei Kotov 6bf0d17aa2 Improve Time Played formatting (#7971) 8 months ago
Sam Hellawell 72dbad6fb4 Satisfy king clang 8 months ago
Sam Hellawell 6f7fff409c Empty refid check 8 months ago
trav5 3f26a6c5a0 Merge branch 'master' of https://gitlab.com/OpenMW/openmw into fix7970-remove-removed-spells-on-rest 8 months ago
psi29a 4a3dbb5a80 Merge branch 'default_colors' into 'master'
Change default colors in script editor to support dark themes

See merge request OpenMW/openmw!4097
8 months ago
psi29a 991f887de2 Merge branch 'fix/7562-mouse-position' into 'master'
fix(openmw): MacOS Scaling Bugs

See merge request OpenMW/openmw!3963
8 months ago
Dylan 91a771f851 fix(openmw): MacOS Scaling Bugs 8 months ago
Sam Hellawell 64142dbd51 Merge remote-tracking branch 'origin/master' into fix-infinite-fall-into-void
# Conflicts:
#	CHANGELOG.md
8 months ago
Sam Hellawell e98c4f86d6 Remove period 8 months ago
elsid d71b422615
Convert PositionCellGrid into a struct 8 months ago
Sam Hellawell e1cfd46f87 Do not teleport if dest < lowest point or collision disabled, add debug log 8 months ago
Zackhasacat 20d26a9cda Use random attack type 8 months ago
uramer a662198903 Process menu script timers 8 months ago
Zackhasacat 0ad64cffdb Add empty line back 8 months ago
Zackhasacat b62b0a2f00 Check for world AI disable 8 months ago
Zackhasacat 1e05bb20bf Allow Actors to pick an attack type/animation when no AI applies 8 months ago
Sam Hellawell b43c7238e9 Fix infinite fall into void (#1415) 8 months ago
Alexei Kotov 195599c13c Don't update head animation if the animation is paused (#7980) 8 months ago
Andrei Kortunov dca452aaca Change default colors in script editor to support dark themes 8 months ago
psi29a 2bed7450b6 Merge branch 'style_change' into 'master'
Minor changes in Qt styles handling

See merge request OpenMW/openmw!4093
8 months ago
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.
8 months ago
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 8 months ago
Andrei Kortunov bf568da6de Remove redundant checks 8 months ago
Andrei Kortunov 0262b33067 Update toolbar style sheet when theme changed 8 months ago
Andrei Kortunov d5bbd75828 Make sure that Open button becomes focused after enabling 8 months ago
Andrei Kortunov b0930158df Use an auto raise mode to disable the border 8 months ago
Andrei Kortunov e7d566eb2e Remove border from status bar 8 months ago
Andrei Kortunov abd4596cf8 Do not use style sheets to set font 8 months ago
psi29a ea7555c012 Merge branch 'feature/pplLauncherSetting' into 'master'
added force PPL checkbox

See merge request OpenMW/openmw!3857
8 months ago
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
8 months ago
psi29a 3e8442e749 Merge branch 'fix_build' into 'master'
Add missing include (#7967)

Closes #7967

See merge request OpenMW/openmw!4087
8 months ago
elsid 35f5c8cd15
Add missing includes 8 months ago
jvoisin c9890fbd4f Merge branch 'fix_disabled_esm4' into 'master'
Make a check for disabled parent recursive

See merge request OpenMW/openmw!4084
8 months ago
elsid 26233e082d
Optimize iteration over dialogue records 8 months ago
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
8 months ago
Alexei Kotov 29b25ffb26 Formatting 8 months ago
elsid bad935ff34
Make a check for disabled parent recursive 8 months ago
Alexei Kotov fd4d3b8a27 Fix item mod record loading 8 months ago
Alexei Kotov 7d979a2dfc Place ESM4 static collections to the scene 8 months ago
psi29a 99ac6c40e5 Merge branch 'wizard_update' into 'master'
UI fixes for Wizard

See merge request OpenMW/openmw!4069
8 months ago
Alexei Kotov b9069835b2 Merge branch 'scriptedit' into 'master'
Improve appearance of script editor in the OpenMW-CS

See merge request OpenMW/openmw!4076
8 months ago
Alexei Kotov c95bb4ce59 Merge branch 'split_esm_headers' into 'master'
Split ESM headers

See merge request OpenMW/openmw!4071
8 months ago
trav fc6695a918 Merge branch openmw:master into mwdialogue-bindings 8 months ago
Andrei Kortunov b56c255be2 Improve appearance of script editor in the OpenMW-CS 8 months ago
psi29a 2e971ec2e3 Merge branch 'appropriateammunition' into 'master'
Adjust Russian appropriate ammunition setting label/description

See merge request OpenMW/openmw!4062
8 months ago
trav 512b7e46e5 Merge branch openmw:master into mwdialogue-bindings 8 months ago
elsid f83d388391
Iterate over smaller container when removing blacklisted refs 8 months ago
elsid a920ca9070
Report loading screens to osg stats 8 months ago
Alexei Kotov 95cef34477 Bump the minimum launcher width to 775 8 months ago
Hristos N. Triantafillou 63a27bbf99 Expose Wander option values to the Lua API (#7916) 8 months ago
elsid 01166b1f26
Split ESM headers 8 months ago
trav5 0e03b9bd32 ESM::Dialogue Lua bindings: filterActorGender returns string 8 months ago
trav5 9001ed1e2f ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell 8 months ago
Andrei Kortunov 9252879f0f UI fixes for Wizard 8 months ago
trav5 2cdfaa69b3 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs [correction] 8 months ago
trav5 9743276332 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs 8 months ago
psi29a a57c350c08 Merge branch 'paint_svg' into 'master'
Change SVG icons color in the editor

See merge request OpenMW/openmw!4060
8 months ago
psi29a bb89717886 Merge branch 'droppinglikeflies' into 'master'
Fix Drop behavior for creatures that don't have an inventory

See merge request OpenMW/openmw!4063
8 months ago
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.
8 months ago
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.
8 months ago
Alexei Kotov cc4b2e5c58 Fix Drop behavior for creatures that don't have an inventory 8 months ago
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
8 months ago
psi29a 1e1fd28136 Merge branch 'fix_anim_state' into 'master'
Fix AnimState initialization

See merge request OpenMW/openmw!4061
8 months ago
psi29a 24fca82f2c Merge branch 'faction_relations' into 'master'
Take in account faction reaction changes

See merge request OpenMW/openmw!4015
8 months ago
trav c6807465f6 Merge branch openmw:master into mwdialogue-bindings 8 months ago
trav5 0aae0299af ESM::Dialogue Lua bindings: Several post-review fixes 8 months ago
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
8 months ago
trav5 421cf40508 ESM::Dialogue Lua bindings: ref in DialogueInfos 8 months ago
trav5 52e1f32c88 Important change, https://godbolt.org/z/YjjaaqYsc 8 months ago
trav5 897e43ae1e Less complex "index" and "at" 8 months ago
trav5 b9358521cc Better return values 8 months ago
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).
8 months ago
trav5 4449b66846 Operators and retting rid of 'records' 8 months ago
elsid 41d5d3bf09
Report osg stats for all frames showing loading screens 8 months ago
Andrei Kortunov 070327a259 Change SVG color in the editor 8 months ago
trav a0989c3481 Merge branch openmw:master into mwdialogue-bindings 8 months ago
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.
8 months ago
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.
8 months ago
Benjamin Y d62fb92b5b Fixed capitalization 8 months ago
Benjamin Y 3146015a00 Fixed Label Capitalization 8 months ago
psi29a ec8675ba6f Merge branch 'scalable_launcher' into 'master'
Improve launcher appearance

See merge request OpenMW/openmw!4051
8 months ago
psi29a 3980bb15cc Merge branch 'lua_controller_cursor' into 'master'
Add lua bindings for controller cursor mode

See merge request OpenMW/openmw!3623
8 months ago
trav 0986b103c5 Merge branch openmw:master into mwdialogue-bindings 8 months ago
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.
8 months ago
trav5 223e315fdb ESM::Dialogue Lua bindings quest change and docs 8 months ago
bwyunker 563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 8 months ago
psi29a 5f926bd129 Merge branch 'scalable_wizard' into 'master'
Use scalable icons for wizard

See merge request OpenMW/openmw!4050
8 months ago
psi29a a20f456a5c Merge branch 'mudcrabcanhazsoulgem' into 'master'
Allow running soulgem instructions on all actors (#7943)

Closes #7943

See merge request OpenMW/openmw!4048
8 months ago
psi29a a628c658a9 Merge branch 'lessgoofymaterialptr' into 'master'
Simplify material file pointer acrobatics

See merge request OpenMW/openmw!4049
8 months ago
Andrei Kortunov 5e8dc9cc03 Fix stub icon color 8 months ago
psi29a 6d0df9f686 Merge branch 'window_clamp' into 'master'
Do not take in account UI scaling factor twice

See merge request OpenMW/openmw!4046
8 months ago
Andrei Kortunov d97838def1 Improve launcher appearance 8 months ago
Andrei Kortunov 0873eb6e62 Use scalable icons for wizard 8 months ago
psi29a 02cdeb6252 Merge branch 'scalable_editor' into 'master'
Treat editor icons as scalable

See merge request OpenMW/openmw!4042
8 months ago
psi29a 9662586947 Merge branch 'editor-crash' into 'master'
Clamp widgets coordinates to avoid editor crashes

See merge request OpenMW/openmw!4043
8 months ago
Alexei Kotov 78eda530ac Simplify material file pointer acrobatics 8 months ago
Alexei Kotov 1c1df996be Allow running soulgem instructions on all actors (#7943) 8 months ago
Andrei Kortunov d10b0d503b Do not take in account UI scaling factor twice 8 months ago
psi29a 023c0f7a46 Merge branch 'vfs_normalized_path_6' into 'master'
Use normalized path for music related functions

See merge request OpenMW/openmw!4038
8 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 8 months ago
Andrei Kortunov 1909ec121b Take in account faction reaction changes 9 months ago
Andrei Kortunov 2264d067fc Clamp widgets coordinates to avoid crashes 9 months ago
elsid a863899eb1
Use normalized path for SoundManager::streamMusic 9 months ago
trav5 277d830530 ESM::Dialogue Lua bindings 6 9 months ago
trav5 c1639e54b1 ESM::Dialogue Lua bindings 6 9 months ago
Alexei Kotov 6f9206428d Don't ignore material files in NifLoader tests 9 months ago
Alexei Kotov 4e3d45db1b Deduplicate file handling in niftest 9 months ago
Alexei Kotov 1d65aaee71 Formatting 9 months ago
Alexei Kotov 1a961f3021 Extremely early handling for BGSM/BGEM files 9 months ago
Alexei Kotov 4a03555d53 Add BGEM/BGSM file support to niftest 9 months ago
psi29a 2438fb4c98 Merge branch 'windows_qt6' into 'master'
Use Qt6 on Windows by default

See merge request OpenMW/openmw!4016
9 months ago
psi29a ddd64c893a Merge branch 'noyoudumbtoolyourflipingwrong' into 'master'
Don't flip the water normal map twice

See merge request OpenMW/openmw!4022
9 months ago
psi29a f21453f0b7 Merge branch 'twoahahidles' into 'master'
Change wander package column names to match reality

See merge request OpenMW/openmw!4032
9 months ago
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
9 months ago
trav5 1e36b17679 ESM::Dialogue Lua bindings 5 9 months ago
AnyOldName3 04f1dc282b Merge branch 'fix-osga-rotate-wildly' into 'master'
Fix OSGAnimation issues

See merge request OpenMW/openmw!3989
9 months ago
trav5 3bb7bf1a4a ESM::Dialogue Lua bindings 4 9 months ago
trav5 d14fc1d28c ESM::Dialogue Lua bindings 3 9 months ago
trav 807d78a0d0 Merge branch openmw:master into mwdialogue-bindings 9 months ago
elsid 5b0eb0b5b0
Log ptr for which agent bounds are not supported
To make it easier to find what NPC or mod makes this happen.
9 months ago
elsid 40cc16046b
Use normalized path for sound decoder 9 months ago
elsid e11a5a4352
Use normalized path for SoundManager::playPlaylist 9 months ago
elsid 38b005cda6
Use normalized path to store playlist music files 9 months ago
elsid 82931059fd
Make NormalizedView constructor from const char* explicit 9 months ago
Benjamin Y 8cc512cbc9 Convention fixes and remove confusing info 9 months ago
psi29a 3600c6c7c7 Merge branch 'filterview' into 'master'
Validate INFO filters when loading the record

See merge request OpenMW/openmw!4003
9 months ago
psi29a b91ff634e4 Merge branch 'navmesh_queue' into 'master'
Optimize queue for navmesh async jobs

See merge request OpenMW/openmw!4025
9 months ago
Sam Hellawell d09f32d9e4 Yes sir clang 9 months ago
Sam Hellawell 2653b76db9 getTranslation/getTransformForNode refactor, unit tests 9 months ago
Andrei Kortunov d06e8e2c24 Use Qt6 on Windows by default 9 months ago
psi29a e1be24e7fc Merge branch 'svg_icons' into 'master'
Rework editor icons

See merge request OpenMW/openmw!4024
9 months ago
jvoisin b574155a0b Merge branch 'av_raii' into 'master'
Use RAII for ffmpeg pointers

See merge request OpenMW/openmw!4030
9 months ago
psi29a e633d2bfd4 Merge branch 'unsubscribe' into 'master'
Deregister the player before loading a new one

See merge request OpenMW/openmw!4018
9 months ago
trav5 34aec9caf9 ESM::Dialogue Lua bindings 2 9 months ago
trav5 c622cfc245 ESM::Dialogue Lua bindings 1 9 months ago
elsid f184d8f390
Use RAII for AVIOContext, AVFormatContext, AVCodecContext and AVFrame pointers 9 months ago
Evil Eye 963035fe47 Change wander package column names to match reality 9 months ago
Evil Eye b016f414d5 Add INFO record unit test 9 months ago
Evil Eye 0fa4b0137a Merge branch 'mattengarde' into 'master'
Improve hit detection emulation (#7900)

Closes #7900

See merge request OpenMW/openmw!3984
9 months ago
Andrei Kortunov 1ad9e5f9e8 Rework editor icons 9 months ago