Commit Graph

16760 Commits (master)

Author SHA1 Message Date
trav5 3f26a6c5a0 Merge branch 'master' of https://gitlab.com/OpenMW/openmw into fix7970-remove-removed-spells-on-rest 13 hours ago
psi29a 991f887de2 Merge branch 'fix/7562-mouse-position' into 'master'
fix(openmw): MacOS Scaling Bugs

See merge request OpenMW/openmw!3963
20 hours ago
Dylan 91a771f851 fix(openmw): MacOS Scaling Bugs 20 hours ago
Alexei Kotov 195599c13c Don't update head animation if the animation is paused (#7980) 2 days 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.
3 days ago
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 4 days 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
6 days ago
psi29a 3e8442e749 Merge branch 'fix_build' into 'master'
Add missing include (#7967)

Closes #7967

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

See merge request OpenMW/openmw!4084
6 days 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
1 week ago
Alexei Kotov 29b25ffb26 Formatting 1 week ago
elsid bad935ff34
Make a check for disabled parent recursive 1 week ago
Alexei Kotov fd4d3b8a27 Fix item mod record loading 1 week ago
Alexei Kotov 7d979a2dfc Place ESM4 static collections to the scene 1 week ago
Alexei Kotov c95bb4ce59 Merge branch 'split_esm_headers' into 'master'
Split ESM headers

See merge request OpenMW/openmw!4071
1 week ago
trav fc6695a918 Merge branch openmw:master into mwdialogue-bindings 2 weeks ago
trav 512b7e46e5 Merge branch openmw:master into mwdialogue-bindings 2 weeks ago
elsid f83d388391
Iterate over smaller container when removing blacklisted refs 2 weeks ago
elsid a920ca9070
Report loading screens to osg stats 2 weeks ago
Hristos N. Triantafillou 63a27bbf99 Expose Wander option values to the Lua API (#7916) 2 weeks ago
elsid 01166b1f26
Split ESM headers 2 weeks ago
trav5 0e03b9bd32 ESM::Dialogue Lua bindings: filterActorGender returns string 2 weeks ago
trav5 9001ed1e2f ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell 2 weeks ago
trav5 2cdfaa69b3 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs [correction] 2 weeks ago
trav5 9743276332 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs 2 weeks 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
2 weeks 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.
3 weeks 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.
3 weeks ago
Alexei Kotov cc4b2e5c58 Fix Drop behavior for creatures that don't have an inventory 3 weeks 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
3 weeks ago
psi29a 1e1fd28136 Merge branch 'fix_anim_state' into 'master'
Fix AnimState initialization

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

See merge request OpenMW/openmw!4015
3 weeks ago
trav c6807465f6 Merge branch openmw:master into mwdialogue-bindings 3 weeks ago
trav5 0aae0299af ESM::Dialogue Lua bindings: Several post-review fixes 3 weeks 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
3 weeks ago
trav5 421cf40508 ESM::Dialogue Lua bindings: ref in DialogueInfos 3 weeks ago
trav5 52e1f32c88 Important change, https://godbolt.org/z/YjjaaqYsc 3 weeks ago
trav5 897e43ae1e Less complex "index" and "at" 3 weeks ago
trav5 b9358521cc Better return values 3 weeks 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).
3 weeks ago
trav5 4449b66846 Operators and retting rid of 'records' 3 weeks ago
elsid 41d5d3bf09
Report osg stats for all frames showing loading screens 3 weeks ago
trav a0989c3481 Merge branch openmw:master into mwdialogue-bindings 3 weeks 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.
3 weeks 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.
3 weeks ago
psi29a 3980bb15cc Merge branch 'lua_controller_cursor' into 'master'
Add lua bindings for controller cursor mode

See merge request OpenMW/openmw!3623
3 weeks ago
trav 0986b103c5 Merge branch openmw:master into mwdialogue-bindings 3 weeks 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.
3 weeks ago
trav5 223e315fdb ESM::Dialogue Lua bindings quest change and docs 3 weeks ago