Alexei Dobrohotov
fd77ef6b01
Only ignore plain text after the last EOL tag ( #5627 )
2020-12-23 03:33:34 +03:00
Alexei Dobrohotov
32cc14981e
Don't move characters if their animation can't move them
2020-12-22 20:40:52 +03:00
Alexei Dobrohotov
fd5429ae56
Merge pull request #3034 from akortunov/master
...
Update info about font-related settings
2020-12-22 16:38:11 +03:00
psi29a
4f1361b5ea
Merge branch 'paralyze' into 'master'
...
Fix paralyze for swimming and levitating actors
Closes #5758
See merge request OpenMW/openmw!488
2020-12-22 10:49:24 +00:00
Andrei Kortunov
f6ab2cd4a4
Update info about font-related settings
2020-12-22 14:34:09 +04:00
psi29a
d2b38c16a6
Merge branch 'package' into 'master'
...
Fix AI sequence looping code (bug #5706 )
Closes #5706
See merge request OpenMW/openmw!487
2020-12-22 10:10:46 +00:00
Alexei Dobrohotov
eaa65ec60a
Update changelog
2020-12-22 08:03:51 +03:00
Alexei Dobrohotov
22476281da
Fix paralyze for swimming actors
2020-12-22 08:03:51 +03:00
Alexei Dobrohotov
218597b13d
Fix paralyze for levitating actors
2020-12-22 06:33:19 +03:00
Alexei Dobrohotov
f5af09aed9
Fix AI sequence looping code (bug #5706 )
2020-12-22 05:56:59 +03:00
Alexei Dobrohotov
09759c6620
Clean up shader lighting
2020-12-22 04:46:35 +03:00
psi29a
3e87c35005
Merge branch 'dialogue' into 'master'
...
Don't regenerate the topics list unconditionally
See merge request OpenMW/openmw!459
2020-12-21 22:52:38 +00:00
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
2020-12-20 22:52:35 +00:00
Alexei Dobrohotov
ce36dd8a52
Merge branch 'misc_cleanup' into 'master'
...
Small cleanup
See merge request OpenMW/openmw!482
2020-12-20 19:10:06 +00:00
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
2020-12-20 19:23:09 +01:00
fredzio
33eb09f534
Remove unused headers
2020-12-20 18:28:21 +01:00
Alexei Dobrohotov
6b5e614b1a
Merge branch 'dont_cache_ptr' into 'master'
...
Always use latest actor's Ptr
See merge request OpenMW/openmw!481
2020-12-19 17:15:43 +00:00
Alexei Dobrohotov
eb6dad1a93
Merge branch 'fixstupidtypo' into 'master'
...
Fix misplaced dummies (#5752 )
Closes #5752
See merge request OpenMW/openmw!483
2020-12-19 16:56:30 +00:00
fredzio
e5f0c7f117
Fix a typo introduced in 08e73a09ec
...
It closes #5752
2020-12-19 16:54:50 +01:00
AnyOldName3
6fa315b59e
Merge branch 'madsbuvi-master-patch-39387' into 'master'
...
Disable MSVC warning 4866
See merge request OpenMW/openmw!480
2020-12-19 14:27:31 +00:00
Mads Buvik Sandvei
637c76f438
Update CMakeLists.txt
2020-12-19 08:34:36 +00:00
fredzio
93a12fe388
Avoid dynamic_cast when possible.
2020-12-18 23:47:01 +01:00
fredzio
8e084dea2e
Don't cache Ptr, it can be updated while the simulation is running.
2020-12-18 22:22:37 +01:00
fredzio
58297ffbf4
Move stats update into their own function.
2020-12-18 21:18:04 +01:00
fredzio
24a8b8c66a
Remove redundant call to resetPosition(). adjustPosition() takes care of
...
it,
2020-12-18 21:16:48 +01:00
Mads Buvik Sandvei
a2a462f416
Update CMakeLists.txt to disable MSVC warning 4866
2020-12-18 20:04:24 +00:00
psi29a
a1065c8376
Merge branch 'loadingScreen_initialdrawcallback' into 'master'
...
Loading screen initialdrawcallback 4th time's the charm
See merge request OpenMW/openmw!479
2020-12-18 18:15:14 +00:00
Mads Buvik Sandvei
eec2ba3623
Loading screen initialdrawcallback 4th time's the charm
2020-12-18 18:15:14 +00:00
AnyOldName3
264539cd63
Merge branch 'WindowCrashCatcher' into 'master'
...
Handle Crashes on Windows
See merge request OpenMW/openmw!455
2020-12-18 13:41:18 +00:00
psi29a
327df7457b
Merge branch 'simulationresultinactor' into 'master'
...
Embed physics simulation results inside of actor class.
See merge request OpenMW/openmw!478
2020-12-18 12:50:20 +00:00
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"
2020-12-18 12:54:02 +01:00
psi29a
d01d5745c6
Merge branch 'relative_move' into 'master'
...
Relative translation for scripts
See merge request OpenMW/openmw!477
2020-12-18 09:23:18 +00:00
psi29a
e586544ade
Merge branch 'loadingScreen_initialdrawcallback' into 'master'
...
Wait for initialDrawCallback to finish before removing it
See merge request OpenMW/openmw!476
2020-12-18 08:48:39 +00:00
Mads Buvik Sandvei
ea8f98b339
Wait for initialDrawCallback to finish before removing it
2020-12-18 08:48:39 +00:00
fredzio
7bae6691b6
Introduce World::moveObjectBy() function to translate an object relatively to
...
its current position.
Use it in relevant MWScripts opcode (move and moveworld).
Remove the fragile detection of scripted translation from PhysicsTaskScheduler.
No user visible change, just a more robust mechanism.
2020-12-18 08:40:38 +01:00
AnyOldName3
691b4d64fe
Merge branch 'nigeometry' into 'master'
...
Make sure NIFLoader avoids working further with empty geometry
Closes #5751
See merge request OpenMW/openmw!475
2020-12-17 23:39:37 +00:00
psi29a
96a87b582c
Merge branch 'loadingScreen_initialdrawcallback' into 'master'
...
Fix for !472 for older versions of OSG
See merge request OpenMW/openmw!474
(cherry picked from commit 35e25d79b9a6c76807084be5ca2584c4fd9b9c35)
4447dd41 osg versions
06f4d63b Preserve callback in older osg version
2020-12-17 23:37:21 +00:00
Alexei Dobrohotov
8db2ba2b38
Merge pull request #3032 from akortunov/gtest
...
Mark mock methods as overrides (requires GTest 1.10)
2020-12-18 01:46:42 +03:00
Alexei Dobrohotov
46ec40fa92
Make sure NIFLoader avoids working further with empty geometry
2020-12-18 01:22:34 +03:00
AnyOldName3
70bd9d395d
Merge branch 'loadingScreen_initialdrawcallback' into 'master'
...
Clean up use of initial draw callback in loadingscreen
See merge request OpenMW/openmw!472
2020-12-16 22:10:03 +00:00
Mads Buvik Sandvei
bc961a13f5
avoid redundant calls to removeInitialDrawCallback
2020-12-16 22:03:16 +01:00
Mads Buvik Sandvei
640420eaaa
No longer delete and recreate CopyFramebufferToTextureCallback, remove oneshot functionality. Instead just remove the callback after the traversals. Use addInitialDrawCallback instead of setInitialDrawCallback to avoid messing with existing callbacks.
2020-12-16 21:46:52 +01:00
psi29a
9f81dcbd1a
Per request via PM:
...
"I would like to request that my name is removed from the teams page as my contributions has all been replaced by better solutions years ago." by vorenon, Manuel Edelmann
2020-12-16 13:21:00 +00:00
psi29a
14a80d7d9e
Merge branch 'niffix' into 'master'
...
Turn all NIF records into structs
See merge request OpenMW/openmw!470
2020-12-16 09:04:14 +00:00
Alexei Dobrohotov
1e6156e04a
Turn all NIF records into structs
2020-12-16 01:54:31 +03:00
Alexei Dobrohotov
4490f89a3d
Merge branch 'dontcollidewithowncollisionbox' into 'master'
...
Don't explode spell mid-air (#5745 )
See merge request OpenMW/openmw!468
2020-12-15 21:50:24 +00:00
fredzio
259d522800
When doing a ray cast to the next projectile position, ignore collisions
...
that occurs with the projectile own collision object. Otherwise a magic
bolt can explode "spontaneously".
2020-12-15 21:34:58 +01:00
psi29a
884b434ee0
Merge branch 'fixfriendlyfire' into 'master'
...
Fix projectiles friendly fire (#5744 )
See merge request OpenMW/openmw!466
2020-12-15 15:45:43 +00:00
psi29a
78e85fe011
Merge branch 'this_is_nife' into 'master'
...
More NIF stuff
See merge request OpenMW/openmw!461
2020-12-15 15:43:12 +00:00
psi29a
bc6bcda58f
Merge branch 'wizard' into 'master'
...
Wizard: fix "file is already opened" warning
See merge request OpenMW/openmw!465
2020-12-15 15:35:47 +00:00