Commit Graph

13022 Commits (767eba941fb73f2a31989a99ff09b80d426eb826)

Author SHA1 Message Date
scrawl 767eba941f Speed up finding of attachment node by using the cached nodeMap 8 years ago
scrawl a76d693627 Speed up ControllerVisitor by skipping sub graphs that have no ChildrenRequiringUpdateTraversal() 8 years ago
scrawl c58fc6d276 Improve performance of loading screen by not recomputing the bounding sphere of the entire scene after each loading step 8 years ago
scrawl 0be811c519 Update the resource cache every second instead of every frame
A dry run takes about ~1.5ms. Even though it's all done in the worker thread, the locks used can stall loading operations that are about to happen in other threads, and just in general this CPU load is unnecessary.
8 years ago
scrawl 6d8c414071 Set osgViewer ReleaseContextAtEndOfFrameHint to false for better performance when in SingleThreaded mode
The flag is normally set to off by default when using Viewer::run() - however since we're using our own frame loop, we have to unset the flag ourselves
8 years ago
scrawl c5f8ff6e0e Add names to several nodes for debugging purposes 8 years ago
scrawl 625c5040ce Fix build 8 years ago
scrawl 1808b8567e Add 'small feature culling pixel size' setting specifically for water RTTs, by default set higher than the one in [Camera] 8 years ago
scrawl fcb4129aee Add 'small feature culling pixel size' setting 8 years ago
scrawl 960d4a96c3 Reduce the number of osg::Material state by setting the default state on the graph root 8 years ago
scrawl 34deb6e7b1 Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
MiroslavR d97e9cfe7e Fix InterpreterContext::updatePtr updating mLocals to the implicit ref's locals when interpreting a targeted global script (Fixes #3738)
The interpreter context of a targeted global script would point to the target's locals instead of the global script instance's locals when the target changed cell during script execution. Credit to scrawl for the solution.
8 years ago
MiroslavR c64351b3e8 ESS-import: player is no longer disabled (Bug #3246) 8 years ago
scrawl cc19b4bd8a Fix door rotation order in collision case (Bug #3707) 8 years ago
scrawl 45fb4f04b1 Update reference of the interpreter context when an Activate results in a take action (Fixes #3727) 8 years ago
scrawl 70c5f64caa Fix mLocals not being updated in InterpreterContext::updatePtr 8 years ago
scrawl c6822b9eb6 Merge pull request #1192 from damiel/water_refactor
Added refactoring of shader handling from visvalda's fog shader
8 years ago
Martin-Kevin Neumann 5a8efa1649 added refactoring of shader handling from visvalda's fog shader 8 years ago
NeveHanter e82d542d89 Merge remote-tracking branch 'upstream/master' into bugfix-3617 8 years ago
NeveHanter 811e9ad9f3 Fixed bug https://bugs.openmw.org/issues/3617 by allowing touch and target enchantments from ranged weapons and their projectiles to explode even when colliding with non-activable objects, terrain, water slab or when shoot underwater.
Also allowed projectiles to fly through the dead bodies as in vanilla.
8 years ago
Allofich f2240dde9c Allow command spells to work when cast by AI on AI
(Fixes #3723)
8 years ago
Allofich e825010107 Apply command spell effects on impact
Command spells should apply their effects, including taking an actor out
of combat, every time a spell successfully hits, even if a previous
command effect is still active.
8 years ago
Allofich a46c4de918 Stop combat when adding an AI package to an actor
(Fixes #3722)
8 years ago
scrawl b87abb0456 Reset activation flags when an object is copied (Fixes #3671, Fixes #3719) 8 years ago
scrawl 69ce9f32bc Activate/OnActivate fix (Bug #3712) 8 years ago
scrawl 73aa07b81b Merge pull request #1189 from Allofich/attack
Match best attack selection to vanilla behavior
8 years ago
Allofich 2322ab3125 Don't make Command spells cancel AI packages
(Fixes #3649)
8 years ago
Allofich c10585fb07 Match best attack selection to original MW
(Fixes #3721)
8 years ago
MiroslavR f1f9209814 Creatures now auto-equip shields (Fixes #3704) 8 years ago
Allofich 5e992a0342 Fix attempting to access NPC stats on creatures 8 years ago
Assumeru 1a073ca642 Fix teleportation being unreachable 8 years ago
Allofich eee49b7ea7 Make dispel an instant effect again (Fixes #3695) 8 years ago
scrawl 80c008906b Fix texture coordinates 8 years ago
scrawl 48a23d61b2 Mask out water in global map overlay 8 years ago
scrawl 7b5f3e3cdc Fix crash in ProjectileManager when a sound id fails to play or is not found 8 years ago
scrawl 708009eac4 Merge pull request #1158 from logzero/move3
[RFC] Movement solver experiments
8 years ago
scrawl 212e85e810 Merge pull request #1174 from Allofich/combat
Adjustments to AI combat engaging and disengaging
8 years ago
scrawl da3815f5a6 Merge pull request #1179 from Armada651/fix-audio-cutoff
OpenAL_Output: When a source is finished, rewind it instead of stopping it.
8 years ago
logzero dbf0fa6766 Skip stepping if movement tracer hits actor. 8 years ago
Marc Zinnschlag dedd95f52a Merge remote-tracking branch 'miroslavr/save-cleanup' 8 years ago
Jules Blok e9d8ff532f OpenAL_Output: When a source is finished, rewind it instead of stopping it.
This works around a bug in the MacOS OpenAL implementation.
8 years ago
MiroslavR c9dd63af8d Merge pull request #1171 from NeveHanter/travel-followers-cost
Implemented "paying" for travelling followers
8 years ago
NeveHanter 8568cd049f Removed "less" character from the documentation by the requested opportunity. 8 years ago
Allofich 54fa921dad Change some AI combat engagements to not need LOS 8 years ago
Allofich 6fa0354a17 Make AI attack player also if it attacks follower 8 years ago
Allofich 5a6ea4e84e Cleanup 8 years ago
Allofich e10c4d8814 Stop combat between AI when canFight is false 8 years ago
Allofich e8c7ad2f4b Change environment check to canFight check
Instead of just checking that combatants are in compatible environments,
allow combat if in attack range using canFight. Together with previous
commit, fixes #3690.
8 years ago
Allofich 588442b6cc Make enemies start combat with player followers
Recreates vanilla behavior of enemies starting combat with player
followers and escorters. (Fixes #3691)
8 years ago
logzero a5360483bb Back off slightly when we are touching something.
This can reduce the amount of movement solver failures significantly.
I've observed a drop of 8 iteration cases by almost factor of ten.
8 years ago