Evil Eye
61e014a765
Allow negative values for ai stats
4 years ago
elsid
489107c5ee
Count navmesh cache key once in item size
...
Key is stored only in NavMeshTilesCache::Item, TileMap uses KeyView with
a pointer to a vector.
4 years ago
Nelsson Huotari
e91d1a2b42
Fix earlier broken commit
4 years ago
AnyOldName3
0639f8b7c6
Make the dummy texture for the character preview shadow-friendly
4 years ago
Nelsson Huotari
384112746c
Add option for custom collision node with non-nif files
4 years ago
Jordan Francis Moran-Meyers
0d1c073cfa
Fix the regression involving Cure
4 years ago
Petr Mikheev
94e8855c8c
Merge branch 'fix_5821' into 'master'
...
Fix #5821 : NPCs from mods getting removed if mod order was changed
Closes #5821
See merge request OpenMW/openmw!577
4 years ago
Petr Mikheev
157b14cdaa
Fix #5821 : NPCs from mods getting removed if mod order was changed
4 years ago
Petr Mikheev
9590377f22
Don't ignore Z in path finding if actor can move by Z.
4 years ago
Petr Mikheev
642ca02e35
Shorten almost straight paths only if smooth movement is enabled; reduce angle limit for the shortening.
4 years ago
Andrei Kortunov
b286397dd4
Merge pull request #3045 from akortunov/revert
...
Revert fix for 5379
4 years ago
Andrei Kortunov
7b727e4d70
Revert "Remove physics dependency on basenode"
...
This reverts commit 165c731492
.
4 years ago
Andrei Kortunov
165af1c365
Revert "Some actors are supposed to spawn on a static object that belong to an adjacent cell."
...
This reverts commit f031a191b8
.
4 years ago
Andrei Kortunov
f8e8496d36
Revert "Revert a wrong change introduced in MR 546"
...
This reverts commit 23137d0c54
.
4 years ago
Bret Curtis
9f168eab88
Merge pull request #3044 from akortunov/master
...
Avoid null dereference for objects without cells
4 years ago
uramer
ee2f0e7eb3
Fix inconsistent argument name
4 years ago
uramer
eca0d8b7ea
Fix typo in DropMode enum
4 years ago
uramer
edc6d5c3e7
Fix a typo in separate drop binds
4 years ago
uramer
36cd818155
Fix separate drop, refactor for code reuse
4 years ago
Andrei Kortunov
3b9f8b5fa2
Avoid null dereference for objects without cells
4 years ago
Andrei Kortunov
d984d13b1c
Merge branch 'animate_animated_objects' into 'master'
...
Unbreak animated objects (regression from !546 )
See merge request OpenMW/openmw!570
4 years ago
Andrei Kortunov
5382d38b9b
Merge branch 'hit_target_object' into 'master'
...
Unbreak targetted spell on objects (#5811 )
See merge request OpenMW/openmw!569
4 years ago
elsid
a3ab8dfbb4
Revert "Merge branch 'movement_fix2' into 'master'"
...
This reverts merge request !496
4 years ago
fredzio
23137d0c54
Revert a wrong change introduced in MR 546
...
A prerequisite to create physics objects for statics was to remove the
dependency on base node (since it doesn't yet exists) for object
position. It is still necessary for animation though.
Restore the basenode (and the associated FIXME) so that animated objects works properly.
4 years ago
Nelsson Huotari
83ee1cc582
fix xbase to baseanim
4 years ago
Nelsson Huotari
3194520dcd
Move base_anim settings to settings-default.cfg
4 years ago
Bret Curtis
b164f1aa17
Merge pull request #3023 from akortunov/grass_intsancing
...
Grass instancing
4 years ago
psi29a
699bd257ef
Merge branch 'camera_stats' into 'master'
...
Collect all available stats if OPENMW_OSG_STATS_FILE is set and point to a valid file.
See merge request OpenMW/openmw!526
4 years ago
Frederic Chardon
7cd7fa2f08
Collect all available stats if OPENMW_OSG_STATS_FILE is set and point to
...
a valid file.
4 years ago
fredzio
64475ebedb
Remove a brainfart from precise projectile handling: all non-actor
...
non-projectile objects were treated as ground.
4 years ago
Gleb Mazovetskiy
8737453498
cmake: Compiler-specific whole-archive macro
4 years ago
Gleb Mazovetskiy
99ba45a308
Optional static builds of OSG, MyGUI, Bullet
4 years ago
Andrei Kortunov
f40e227686
Remove redundant formatting changes
4 years ago
Andrei Kortunov
b975f16e6b
Remove redundant check - groundcover is not present in the CellStore
4 years ago
Andrei Kortunov
d12a0fdcb3
Mark only instances from groundcover files as groundcover objects
4 years ago
Andrei Kortunov
8874e88ff1
Drop fading setting
4 years ago
Andrei Kortunov
1a6c06f7b5
Do not allow to set distance to non-positive values
4 years ago
Andrei Kortunov
859cd0fd0c
Do not use display lists for instanced meshes
4 years ago
Andrei Kortunov
a09f03c850
Drop groundcover materials - they are not used
4 years ago
Andrei Kortunov
14cf0ce1dc
Implement instanced groundcover
4 years ago
madsbuvi
663e0a1055
Fix a race condition in loading screen.
4 years ago
David Cernat
eefa94db12
[Client] Allow ClientScriptGlobal to create new global variables
4 years ago
Petr Mikheev
bc2cec86e9
Fix bug: NPCs doesn't move if the target is exactly above or exactly below.
4 years ago
psi29a
cadd1e7529
Merge branch 'daedric_fog' into 'master'
...
Don't nuke fog when bounds have changed
Closes #5469
See merge request OpenMW/openmw!522
4 years ago
psi29a
a8c5607aa6
Merge branch 'disableinfotablesorting' into 'master'
...
[OpenMW-CS] Info table dragging to move record order, disable sorting
See merge request OpenMW/openmw!538
4 years ago
psi29a
64b4472efa
Merge branch 'stand' into 'master'
...
Don't adjust actor position until all objects are loader (#5379 )
See merge request OpenMW/openmw!546
4 years ago
psi29a
c6f14cde20
Merge branch 'Show-level-multipliers-in-levelup-tooltip' into 'master'
...
Show level multipliers in levelup tooltip
Closes #5783
See merge request OpenMW/openmw!518
4 years ago
Cédric Mocquillon
3bb551a6f1
Show level multipliers in levelup tooltip
4 years ago
Evil Eye
59af819f97
Merge branch 'fix-mem-leak-2' into 'master'
...
Fix memory leak in MWInput
See merge request OpenMW/openmw!566
4 years ago
Gleb Mazovetskiy
fe815d3d8d
Fix memory leak in MWInput
...
mListener wasn't being cleaned up
4 years ago
Evil Eye
a2171875a0
Prevent nullptr access
4 years ago
fredzio
f031a191b8
Some actors are supposed to spawn on a static object that belong to an adjacent cell.
...
Since actors can be active in 3x3 grid around the player, we need to
first load all statics in a 5x5 grid around the player.
Split load and unloading in 2 phases. Add an mInactiveCells set into the
scene, which contains all cells inside the aforementioned 5x5 grid.
These cells contains only heightfields and physics objects of static
class.
4 years ago
fredzio
165c731492
Remove physics dependency on basenode
...
Necessary to be able to load physics objects from inactive cells.
4 years ago
psi29a
b28adafee4
Merge branch 'navcrash' into 'master'
...
Fix #5798
Closes #5798
See merge request OpenMW/openmw!554
4 years ago
Evil Eye
a401c517bf
Always unload height fields
...
loadCell always adds a height field, but unloadCell only removed it for
cells with height data. Reloading a cell overwrote the height field
added earlier (leading to its destruction) while the navigator retained
a reference to the now deleted collision shape, leading to a crash.
4 years ago
psi29a
0ec953380f
Merge branch 'opaque-character-preview-preprocessor' into 'master'
...
Always write opaque fragments instead of relying on blending being off for translucent RTT II: Daggerfall
Closes #5391
See merge request OpenMW/openmw!552
4 years ago
psi29a
d2c5de5211
Merge branch 'projectile_physics' into 'master'
...
Precise projectile physics (closes #4201 )
Closes #4201
See merge request OpenMW/openmw!550
4 years ago
fredzio
1f4c85520f
Use convexSweepTest for projectile movement to solve any
...
imprecision issue with projectile collision detection.
Simplify the mechanics: manage hits in one spot.
Give magic projectiles a collision shape similar in size to their visible
model.
Rename the 2 convex result callback to clearly state their purpose.
4 years ago
elsid
cc24f13b39
Remove duplicated sound_buffer entry
4 years ago
AnyOldName3
b6e92c9c6d
Use ShaderVisitor to skip translucent framebuffer specific stuff
4 years ago
AnyOldName3
8af8ad3840
Always write opaque fragments instead of relying on blending being off for translucent RTT
4 years ago
Alexei Dobrohotov
6d70a3f308
Merge branch 'jumpy' into 'master'
...
Don't run unstuck if there is no simulation running in async case (#5799 )
See merge request OpenMW/openmw!548
4 years ago
Nelsson Huotari
9f0f3eaeb2
Add collada to supported formats
4 years ago
Nelsson Huotari
54ea8eb5c7
Fix string corruption with Qt on linux-systems
4 years ago
fredzio
e37e5d4d16
Don't run unstuck if there is no simulation running in async case.
...
In this case, the actor mPreviousPosition is not updated, so the actor
position is interpolated between an old (stucked) position and the new
(unstucked) position. The new position is most likely "stucked", so the
unstuck code strikes again, making the actor "vibrates".
That's exactly what the sync code path does, and it doesn't exhibit this
behavior.
4 years ago
David Cernat
0eb01591e8
[Client] Move overrideRecord() method for Sound records to right spot
4 years ago
psi29a
9eba086c34
Merge branch 'sound_buffer_pool_2' into 'master'
...
Separate sound buffer pool from sound manager
See merge request OpenMW/openmw!520
4 years ago
Bret Curtis
e68651e9a6
Merge pull request #3042 from akortunov/helpers
...
Refactoring pre-requisites for groundcover
4 years ago
Nelsson Huotari
f2fc02cdff
Support filtered tables (mapToSource for indexes)
4 years ago
Nelsson Huotari
16e03c151a
Implement basic move algorithm, connect it to drag&drop
4 years ago
Andrei Kortunov
0418e8e7a6
Add an API to get base wind speed (which is from openmw.cfg)
4 years ago
Andrei Kortunov
f175beb304
Define template ref classes in components
4 years ago
psi29a
fd602e2c31
Merge branch 'viewdist' into 'master'
...
Downgrade FOV-dependent view distance factor to a recommendation
See merge request OpenMW/openmw!531
4 years ago
Bret Curtis
d944f703e8
Merge branch 'master' of gitlab.com:OpenMW/openmw
4 years ago
Bret Curtis
73740013a3
mResourceSystem initialization reorder
4 years ago
psi29a
abdc4cde95
Merge branch 'float' into 'master'
...
Allow all creatures to float to the water surface (#5790 , #5758 )
Closes #5758 and #5790
See merge request OpenMW/openmw!534
4 years ago
Alexei Dobrohotov
4638fc36b4
Allow all creatures to float to the water surface
4 years ago
psi29a
3903142152
Update apps/openmw/mwbase/environment.cpp
4 years ago
psi29a
654238fd18
Merge branch 'no_bonus_points' into 'master'
...
Show mesh origin
Closes #5771
See merge request OpenMW/openmw!507
4 years ago
psi29a
29fdcb3fa1
Merge branch 'hardlanding' into 'master'
...
Init mJumpState based on saved fallheight (#5739 )
See merge request OpenMW/openmw!532
4 years ago
Nelsson Huotari
70087e16fe
Disable dialogue info table sorting
4 years ago
fredzio
3087ce9c70
Use saved fallheight to determine a character's jump state.
...
The jump state initial state is "none", and it is set after physics simulation.
If a save is done just above the ground, the character may land before
the first run of the simulation, effectively cancelling the effect of
falling.
4 years ago
psi29a
acfd2cfd90
Merge branch 'dialogclonefix' into 'master'
...
[OpenMW-CS] Fix cloning in info records
See merge request OpenMW/openmw!524
4 years ago
Nelsson Huotari
93b1b444f2
Optimize CreateCommand and CloneCommand configuration
4 years ago
Alexei Dobrohotov
7be7af13d7
Downgrade FOV-dependent view distance factor to a recommendation
4 years ago
psi29a
6863c5a68f
Merge branch 'raii' into 'master'
...
Make all physics object manage their own resources.
See merge request OpenMW/openmw!527
4 years ago
Nelsson Huotari
7196ad7455
Implement an override-value when cloning, use when cloning info records
4 years ago
Evil Eye
1ab4683dce
Tweak follow distance to be more like the original
4 years ago
fredzio
d015f17a6c
Make all physics object manage their own resources
...
Use smart pointer for heightfields and their members.
Move collision object addition inside of Object's ctor, as for Actors and HeightFields
4 years ago
elsid
8b7f3fe908
Merge branch 'nodeadlock' into 'master'
...
Avoid a rare but possible deadlock around mCollisionWorldMutex.
See merge request OpenMW/openmw!525
4 years ago
Bret Curtis
b3f3b29bbe
Merge pull request #3039 from akortunov/screenshotmanager
...
Move screenshots handling to the separate class
4 years ago
Bret Curtis
a735bbe9a5
Merge pull request #3040 from akortunov/pvs
...
Fix some issues, found by PVS Studio
4 years ago
Evil Eye
e737bd00fa
Merge branch 'unused_param' into 'master'
...
Remove never used parameter from CharacterController::update()
See merge request OpenMW/openmw!523
4 years ago
Alexei Dobrohotov
c3a952c133
Merge branch 'dorsbien' into 'master'
...
Don't update magic effects when unequipping items to equip something else
Closes #5687
See merge request OpenMW/openmw!509
4 years ago
Evil Eye
a257567b80
Don't update magic effects when unequipping items to equip something else
4 years ago
Nelsson Huotari
3045d20a97
Make sure that vector isn't empty, just in case
4 years ago
Nelsson Huotari
5f1d3e0e2f
Use the Topic ID of the cloned target from topicinfos
4 years ago
psi29a
f7d7186c39
Merge branch 'instanceselectiontools' into 'master'
...
[OpenMW-CS] Cube and sphere instance selection
See merge request OpenMW/openmw!485
4 years ago
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
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
David Cernat
def981694d
[Client] Use correct function for setting global floats from packets
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
AnyOldName3
4ed3252001
Check for EXT_gpu_shader4 CPU-side
...
Mesa lies and always defines GL_EXT_gpu_shader4 even when the extension
isn't present.
4 years ago
David Cernat
da3316daf8
Add OpenMW commits up to 4 Jan 2021
...
# Conflicts:
# CMakeLists.txt
# apps/openmw/main.cpp
# apps/openmw/mwmechanics/npcstats.hpp
# apps/openmw/mwphysics/actor.cpp
# apps/openmw/mwphysics/mtphysics.hpp
# components/CMakeLists.txt
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
c17e498465
Merge branch 'launchercleanup' into 'master'
...
Remove deadcode from the launcher.
See merge request OpenMW/openmw!511
4 years ago
AnyOldName3
f2eed5594a
Don't use A2C when MSAA is off
4 years ago
AnyOldName3
c75d7ceada
Ensure alpha test is off by default
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
unknown
3bf641d3ce
Show mesh origin
4 years ago
Alexei Dobrohotov
396667f801
Fix weather particle fading
...
Update rain particle system setup
4 years ago
Evil Eye
e46472442a
Switch torches to shields for hostile NPCs
4 years ago
AnyOldName3
54853380cd
Enable multisampling in RTTs to support A2C
4 years ago
Andrei Kortunov
e80d34268c
Fix defines names
4 years ago
Alexei Dobrohotov
a7cbe0b497
Merge pull request #3036 from akortunov/tooltip
...
Enhance level-up tooltip
4 years ago
Andrei Kortunov
66fee6dccb
Enhance level-up tooltip
4 years ago
Andrei Kortunov
6a12c2b58b
Fix GCC build warnings
4 years ago
Alexei Dobrohotov
45f4e69a19
Merge branch 'skipanim' into 'master'
...
Don't move characters if their animation can't move them
Closes #5593
See merge request OpenMW/openmw!490
4 years ago
wareya
18ef32ca82
values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset
4 years ago
Alexei Dobrohotov
ddbfa5410d
Merge branch 'fixboats' into 'master'
...
Apply waterwalking even when bypassing physics simulation
See merge request OpenMW/openmw!500
4 years ago