Commit Graph

24529 Commits (18ef32ca82bd9c3cfcdc9f420131e4697ee054c9)
 

Author SHA1 Message Date
wareya 18ef32ca82 values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 3 years ago
Alexei Dobrohotov ddbfa5410d Merge branch 'fixboats' into 'master'
Apply waterwalking even when bypassing physics simulation

See merge request OpenMW/openmw!500
3 years ago
fredzio ebb564ad22 call moveObject() after applying waterwalking
This unbreak abot's boat mods: they're continually teleporting
the boats (who is an actor with waterwalking effect). As such, the
physics simulation was never run and the boat never went to sea level.
3 years ago
Evil Eye 7d8727b98e Merge branch 'books' into 'master'
Only ignore plain text after the last EOL tag (#5627)

Closes #5627

See merge request OpenMW/openmw!492
3 years ago
AnyOldName3 215b27cae5 Merge branch 'lighting' into 'master'
Clean up shader lighting

See merge request OpenMW/openmw!484
3 years ago
psi29a a094269c46 Merge branch 'guardsguards' into 'master'
Don't consider a path completed unless we're close

Closes #5736

See merge request OpenMW/openmw!498
3 years ago
psi29a 3afa4e5869 Merge branch 'feels_good_guar' into 'master'
Make followers keep a distance dependant on the fattest party member

Closes #5423

See merge request OpenMW/openmw!499
3 years ago
Evil Eye f981dd9916 update changelog 3 years ago
Evil Eye 7cac7fa870 Make followers keep a distance dependant on the fattest party member 3 years ago
Alexei Dobrohotov ad41546648 Merge branch 'fix_swimming' into 'master'
Fix #5743 where NPCs and creatures underwater may rotate to the upwards direction

Closes #5743

See merge request OpenMW/openmw!494
3 years ago
Alexei Dobrohotov c57cb09bf2 Merge branch 'focus' into 'master'
Don't restore focus to hidden/unrelated buttons

Closes #5757

See merge request OpenMW/openmw!497
3 years ago
Evil Eye d2a28d915a Don't consider a path completed unless we're close 3 years ago
Evil Eye 1f1755ae48 Add version checks 3 years ago
Evil Eye bdcbb412a5 Don't restore focus to hidden/unrelated buttons 3 years ago
Alexei Dobrohotov a4f6448f34 Merge branch 'movement_fix' into 'master'
Fix minor bug: mSmoothedSpeed is not updating in first person mode

See merge request OpenMW/openmw!495
3 years ago
Petr Mikheev 8b3088a9e5 Fix #5743 3 years ago
Petr Mikheev 51d63a4152 Fix minor bug: mSmoothedSpeed is not updating in first person mode, that leads to an incorrect value after switching to first person mode and back.
Additional refactoring: move `setSideMovementAngle` from camera.cpp to character.cpp as this logic shouldn't belong to Camera.
3 years ago
Alexei Dobrohotov fd77ef6b01 Only ignore plain text after the last EOL tag (#5627) 3 years ago
Alexei Dobrohotov fd5429ae56
Merge pull request #3034 from akortunov/master
Update info about font-related settings
3 years ago
psi29a 4f1361b5ea Merge branch 'paralyze' into 'master'
Fix paralyze for swimming and levitating actors

Closes #5758

See merge request OpenMW/openmw!488
3 years ago
Andrei Kortunov f6ab2cd4a4 Update info about font-related settings 3 years ago
psi29a d2b38c16a6 Merge branch 'package' into 'master'
Fix AI sequence looping code (bug #5706)

Closes #5706

See merge request OpenMW/openmw!487
3 years ago
Alexei Dobrohotov eaa65ec60a Update changelog 3 years ago
Alexei Dobrohotov 22476281da Fix paralyze for swimming actors 3 years ago
Alexei Dobrohotov 218597b13d Fix paralyze for levitating actors 3 years ago
Alexei Dobrohotov f5af09aed9 Fix AI sequence looping code (bug #5706) 3 years ago
Alexei Dobrohotov 09759c6620 Clean up shader lighting 3 years ago
psi29a 3e87c35005 Merge branch 'dialogue' into 'master'
Don't regenerate the topics list unconditionally

See merge request OpenMW/openmw!459
3 years ago
Alexei Dobrohotov e9a8636d18 Merge branch 'restore_absolute_position_handling' into 'master'
Restore pre-async handling of absolute actors positionning

See merge request OpenMW/openmw!486
3 years ago
Alexei Dobrohotov ce36dd8a52 Merge branch 'misc_cleanup' into 'master'
Small cleanup

See merge request OpenMW/openmw!482
3 years ago
fredzio 5bd921fa3a Restore pre-async handling of absolute actors positionning
One of the issue since the introduction of async physics is the quirky
handling of scripted moves. Previous attempt to account for them was
based on detecting changes in actor position while the physics thread is
running. To this end, semantics of Actor::updatePosition() (which is
responsible for set the absolute position of an actor in the world) was
toned down to merely store the desired position, with the physics system
actually responsible for moving the actor. For the cases were complete
override of the physics simulation was needed, I introduced
Actor::resetPosition(), which actually have same semantics as
original updatePosition(). This in turn introduced a loads of new bugs
when the weakened semantics broke key assumptions inside the engine
(spawning, summoning, teleport, etc).
Instead of tracking them down, count on the newly introduced support for
object relative movements in the engine (World::moveObjectBy) to
register relative movements and restore original handling of absolute positionning.

Changes are relatively small:
- move resetPosition() content into updatePosition()
- call updatePosition() everywhere it was called before
- remove all added calls to the now non-existing resetPosition()

tldr; ditch last month worth of bug introduction and eradication and redo
it properly
3 years ago
fredzio 33eb09f534 Remove unused headers 3 years ago
Alexei Dobrohotov 6b5e614b1a Merge branch 'dont_cache_ptr' into 'master'
Always use latest actor's Ptr

See merge request OpenMW/openmw!481
3 years ago
Alexei Dobrohotov eb6dad1a93 Merge branch 'fixstupidtypo' into 'master'
Fix misplaced dummies (#5752)

Closes #5752

See merge request OpenMW/openmw!483
3 years ago
fredzio e5f0c7f117 Fix a typo introduced in 08e73a09ec
It closes #5752
3 years ago
AnyOldName3 6fa315b59e Merge branch 'madsbuvi-master-patch-39387' into 'master'
Disable MSVC warning 4866

See merge request OpenMW/openmw!480
3 years ago
Mads Buvik Sandvei 637c76f438 Update CMakeLists.txt 3 years ago
fredzio 93a12fe388 Avoid dynamic_cast when possible. 3 years ago
fredzio 8e084dea2e Don't cache Ptr, it can be updated while the simulation is running. 3 years ago
fredzio 58297ffbf4 Move stats update into their own function. 3 years ago
fredzio 24a8b8c66a Remove redundant call to resetPosition(). adjustPosition() takes care of
it,
3 years ago
Mads Buvik Sandvei a2a462f416 Update CMakeLists.txt to disable MSVC warning 4866 3 years ago
psi29a a1065c8376 Merge branch 'loadingScreen_initialdrawcallback' into 'master'
Loading screen initialdrawcallback 4th time's the charm

See merge request OpenMW/openmw!479
3 years ago
Mads Buvik Sandvei eec2ba3623 Loading screen initialdrawcallback 4th time's the charm 3 years ago
AnyOldName3 264539cd63 Merge branch 'WindowCrashCatcher' into 'master'
Handle Crashes on Windows

See merge request OpenMW/openmw!455
3 years ago
psi29a 327df7457b Merge branch 'simulationresultinactor' into 'master'
Embed physics simulation results inside of actor class.

See merge request OpenMW/openmw!478
3 years ago
fredzio 4e7c9b6696 Embed physics simulation results inside of actor class.
This gives finer control over reseting positions (switch off tcl is no
longer glitchy) and solve most of the erroneous usage of stale World::Ptr
indicated by:
"Error in frame: moveTo: object is not in this cell"
3 years ago
psi29a d01d5745c6 Merge branch 'relative_move' into 'master'
Relative translation for scripts

See merge request OpenMW/openmw!477
3 years ago
psi29a e586544ade Merge branch 'loadingScreen_initialdrawcallback' into 'master'
Wait for initialDrawCallback to finish before removing it

See merge request OpenMW/openmw!476
3 years ago
Mads Buvik Sandvei ea8f98b339 Wait for initialDrawCallback to finish before removing it 3 years ago