Nelsson Huotari
313e895912
[OpenMW-CS] Cube and sphere instance selection
4 years ago
fredzio
60f66f5e29
Remove never used parameter from CharacterController:update()
4 years ago
fredzio
9bc687e209
Avoid a rare but possible deadlock around mCollisionWorldMutex.
...
What happened is that the last handle to an Actor shared_ptr was a
promoted weak_ptr. When the shared_ptr goes out of scope, the Actor dtor
is invoked. That involves removing the Actor collision object after
exclusively locking mCollisionWorldMutex. In this case, the lock was
already held in the outter scope of the promoted weak_ptr.
Reduce the scope of the mCollisionWorldMutex to never encompass the
lifetime of a promoted weak_ptr.
4 years ago
Andrei Kortunov
ad101de733
Merge declaration and initialization
4 years ago
unknown
564a0d7d55
Don't nuke fog when bounds have changed
4 years ago
Andrei Kortunov
1930f8f37d
Fix copy-paste error
4 years ago
Andrei Kortunov
50e4600b16
Reduce code duplication
4 years ago
AnyOldName3
4fcf3b80b1
Merge branch 'madsbuvi-master-patch-13347' into 'master'
...
engine.cpp typos
See merge request OpenMW/openmw!521
4 years ago
Andrei Kortunov
874348fb46
Remove redundant code
4 years ago
Mads Buvik Sandvei
a2d8a0b61a
engine.cpp typos
4 years ago
Andrei Kortunov
80ee1b55ea
Protect assignment operator from this == &src case
4 years ago
Andrei Kortunov
33da0af1d1
Use explicit calls for virtual methods in constructors
4 years ago
elsid
a6aba83741
Remove redundant SoundManager::lookupSound and loadSound
4 years ago
elsid
e4cce88142
Replace std::tie by structured binding
4 years ago
elsid
90c8e77e2c
Remove redundant default Sound_Buffer fields initialization
4 years ago
elsid
24f8a2db27
Use perfect forwarding in Sound_Buffer ctor
4 years ago
Andrei Kortunov
a80ee7a76a
Avoid possible memory leak in the mInterMessageBoxe field
4 years ago
Andrei Kortunov
8e5f26c109
Code cleanup
4 years ago
Andrei Kortunov
c9b885ffd4
Avoid possible null dereferencing
4 years ago
Andrei Kortunov
33648313a6
Initialize variables
4 years ago
Andrei Kortunov
c1512b8b6c
Convert loop to condition
4 years ago
Andrei Kortunov
56666c60d4
Remove dead code
4 years ago
Andrei Kortunov
8283ec6cad
Do not use & for boolean arguments
4 years ago
Andrei Kortunov
7fc4c9f3f6
Avoid dead code
4 years ago
Andrei Kortunov
801e2d6ad0
Avoid to use uninitialized variables
4 years ago
Andrei Kortunov
c5a36ad440
Do not cast enums to booleans
4 years ago
Andrei Kortunov
799bd3379c
Move screenshots handling to the separate class
4 years ago
elsid
944033db4e
Separate sound buffer pool from sound manager
4 years ago
AnyOldName3
2d61db555b
Merge branch 'osg_log' into 'master'
...
Split long osg log messages into lines.
See merge request OpenMW/openmw!519
4 years ago
Petr Mikheev
7d551b0cfd
Split long osg log messages into lines.
4 years ago
psi29a
cbce3ebb79
Merge branch 'stanky_fetcher' into 'master'
...
Consider a path completed if it was non-empty
Closes #5773
See merge request OpenMW/openmw!508
4 years ago
Evil Eye
2a583e2337
consider empty paths as not constructed
4 years ago
psi29a
dc82cb61f4
Merge branch 'nativeshapesdebug' into 'master'
...
Unbreak physics debugger with projectiles' spherical shapes.
See merge request OpenMW/openmw!489
4 years ago
Alexei Dobrohotov
bbd11cb14e
Merge branch 'changelog' into 'master'
...
Remove #5683 changelog entry
See merge request OpenMW/openmw!514
4 years ago
Alexei Dobrohotov
701a5662b0
Remove #5683 changelog entry
4 years ago
Alexei Dobrohotov
c17e498465
Merge branch 'launchercleanup' into 'master'
...
Remove deadcode from the launcher.
See merge request OpenMW/openmw!511
4 years ago
fredzio
5215ffd964
The debug drawer rely on Bullet to determines the vertices of collision
...
shapes. It doesn't work in the case of spheres (used by projectiles):
resulting shape is malformed. It can also leads to this error which
makes the debug drawer non-working till game restart:
CullVisitor::apply(Geode&) detected NaN,
depth=nan, center=(nan nan nan),
matrix={
-0.265814 -0.0639702 0.9619 0
0.964024 -0.0176387 0.265228 0
-4.29769e-09 0.997796 0.0663574 0
18178.6 -3550.91 42154.4 1
}
Avoid this issue by using osg::Sphere
While here, remove an unused function. We don't use Bullet's solver so
we never have any contact points (in Bullet parlance).
4 years ago
fredzio
dbdd397716
Remove deadcode.
4 years ago
Evil Eye
57c92673bc
Consider a path completed if it was non-empty
4 years ago
Evil Eye
630ec36d1f
iterate in reverse order
4 years ago
unknown
3bf641d3ce
Show mesh origin
4 years ago
Alexei Dobrohotov
cdf0bc1d8d
Merge branch 'protec' into 'master'
...
Switch torches to shields for hostile NPCs
Closes #5300
See merge request OpenMW/openmw!501
4 years ago
Evil Eye
e46472442a
Switch torches to shields for hostile NPCs
4 years ago
psi29a
8c37817cf1
Merge branch 'viewingdistance' into 'master'
...
Make min and max view distance accurate to vanilla
See merge request OpenMW/openmw!504
4 years ago
Alexei Dobrohotov
e4e19bab1b
Make min and max view distance accurate to vanilla
4 years ago
Alexei Dobrohotov
66e0a7ff02
Merge pull request #3038 from akortunov/master
...
Fix defines names
4 years ago
Alexei Dobrohotov
1c6c86a113
Merge branch 'changelog' into 'master'
...
Fixed by 7cac7fa870
Closes #4039
See merge request OpenMW/openmw!502
4 years ago
Andrei Kortunov
e80d34268c
Fix defines names
4 years ago
Evil Eye
694b9c1505
Fixed by 7cac7fa870
4 years ago
Alexei Dobrohotov
a7cbe0b497
Merge pull request #3036 from akortunov/tooltip
...
Enhance level-up tooltip
4 years ago