Commit Graph

353 Commits (openmw-36)

Author SHA1 Message Date
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
scrawl 3879ce6ac1 Get rid of "player" string checks (Fixes #2216) 10 years ago
dteviot ca8c8c6aa4 fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 0c6e2170db Include cleanup 10 years ago
scrawl bdcc3a4036 Add missing swish sound for thrown weapons 10 years ago
scrawl f35c9b7a69 Clang warning fixes (thanks hemite) 10 years ago
scrawl fafc14d5a0 Add proper air movement mechanics (Fixes #2077) 10 years ago
scrawl 5e7e40aac9 Fix being able to switch weapons while knocked out 10 years ago
scrawl d56906acf7 Fix the creature position glitch 10 years ago
scrawl 70d3bfc6ed Fix idle animation not restarting immediately for creatures 10 years ago
scrawl d26d5f6c26 Fix outdated bone locations when camera view is changed while paralyzed 10 years ago
scrawl d1a29300f0 Handle bipedal creatures not using weapons (Fixes #2238) 10 years ago
scrawl 6c9875969a Stop idle animations for non-biped creatures when attacking/moving
The idle animation wouldn't be visible anyway, since these creatures don't have animation layers. However sounds tagged in the animation would still play.
10 years ago
scrawl 1bd3ab8a2d Fix torch animation playing when torch is hidden (Fixes #2236) 10 years ago
scrawl 8bc7eb5530 PlayGroup: Don't loop animations with no loop keys (Fixes #2223) 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl d962f0918d Implement NPC head tracking (Fixes #1720) 10 years ago
scrawl 60aa209144 Implement drowning when knocked out underwater (Fixes #1228) 10 years ago
scrawl d034a079e6 Allow equipping twohanded weapon and shield at the same time (Fixes #1785)
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl bc85bb32c2 Fix vampirism magic effect not applying immediately (Fixes #1984) 10 years ago
scrawl 3c747195ae Add fall damage for creatures (Fixes #2201) 10 years ago
scrawl 416d549568 Fix animation glitch caused by knockdown
If the player was knocked down while having no weapon, spell nor fists ready, the animation state would incorrectly shift to "weapon equipped" even though no weapon is equipped.
10 years ago
scrawl 14ae6d28b0 Fix being able to jump when overencumbered 10 years ago
scrawl 5f5fcc2fef Make PlayGroup use an indefinite number of loops (Fixes #2156) 10 years ago
scrawl f117a75747 Force walk animation when flying (Fixes #2015) 10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 10 years ago
scrawl e9ed0211c9 Attempt to fix Clang warnings 10 years ago
Marc Zinnschlag 175d4f3d44 Merge remote-tracking branch 'ragora/playdeathlevelupmusic' 10 years ago
Ragora 06e683d378 Added code to play music on level up and on death 10 years ago
scrawl 447e93bdb4 Use SpellCast animation for creatures that have it (flame atronach) 10 years ago
scrawl 3ce3f31452 Adjust turning animation speed multiplier based on turning speed 10 years ago
scrawl 6debd21ec6 Make sure the Jump control is always handled by the PhysicsSystem even if game runs faster than the minimum physics timestep 10 years ago
scrawl 269c200c8f Fix jump velocity mechanics (Fixes #1708) 10 years ago
scrawl b6a89c7845 Fix idlestorm animation conflict with torch animation 10 years ago
scrawl 4c285151a3 Fix incorrect movement animation for some creatures (Fixes #1924) 10 years ago
scrawl 157c53bed4 Handle spellcasting for creatures with no casting animation (Fixes #1856) 10 years ago
scrawl dd5f4947d7 Add a TODO comment 10 years ago
scrawl a9847c9453 Fix creature attacking flag not being reset after the attack starts (Fixes #1889) 10 years ago
scrawl adbc50366b Use random attack strength for creatures (Bug #1876)
Determining the attack strength from the time the wind-up animation was held will not work properly, as most creatures don't have this animation.

This fixes another balancing issue with Rieklings (they were previously using an attack strength of 1 every time).
10 years ago
MiroslavR 931e778b4d Initialize mHasMovedInXY in CharacterController 10 years ago
MiroslavR b1a449a0b9 Fix wolfrun sound playing all the time when running is default 10 years ago
scrawl 84a0d064cd Fall back to regular death animation if deathknockdown/deathknockout don't exist (Fixes #1870) 10 years ago
scrawl feeb740497 Fix bone not found exception for golden saint spellcasting 11 years ago
scrawl fc7ed05da8 Knock out actors when fatigue base is 0 (Fixes #1847) 11 years ago
scrawl c5c822ecba Use Chop attack when walking diagonally (Fixes #1729) 11 years ago
scrawl e0e4cbbb41 Implement Light magic effect (Fixes #1122) 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl 8ae6796b2f Play creature movement animation without scaling if a fallback is used (Fixes #1797) 11 years ago
scrawl 34847baa54 Disable head animations for dead actors (Fixes #1781) 11 years ago
Marc Zinnschlag dbf5613d8c cleanup 11 years ago