Commit Graph

103 Commits (c++11)

Author SHA1 Message Date
Marc Zinnschlag 91d1bab4ac replaced NULL with nullptr 10 years ago
scrawl 974fda5bde Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	extern/sdl4ogre/sdlwindowhelper.cpp
10 years ago
scrawl de8e5f0db1 Restore projectiles 10 years ago
scrawl fd50be0fb8 Restore various gameplay 10 years ago
scrawl d1b6289cad Don't teleport followers when using teleportation spells 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
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
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago
scrawl a653716e2c Fix for damage/restore effects using the instant apply path when they have a duration 10 years ago
scrawl f82751422d Fix constant effect restore enchantments being applied incorrectly (Fixes #2408) 10 years ago
scrawl 77bb77b367 Fix for instant restore effects (Fixes #2392) 10 years ago
dteviot 8d7de7d1ec Telekinesis allows safe opening of traps (Fixes #1916)
When trap activated at beyond normal activation distance, assume telekinesis used and detonate trap at trapped object's location.
Also some minor code refactoring of spellcasting.
1. Corrected parameter passed to explodeSpell().
2. For loop now correctly does an early exit.
3. Removed duplicated tests.
10 years ago
scrawl 378e91545d Fix Tribunal/BM summon effects not working 10 years ago
Marc Zinnschlag 38a413a483 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 13c5bd5cc2 Enchanting: fix skill-based cast cost bonus being applied twice 10 years ago
scrawl 992b87ea44 Reset existing summons when the spell is re-casted (Fixes #2135) 10 years ago
scrawl f267497c03 Allow separate summoned creature instances for each spell ID (Fixes #2194) 10 years ago
Marc Zinnschlag 31f6ccdf4d Merge remote-tracking branch 'internecine/bug2031' 10 years ago
Internecine e1fdcb608e Fixed incorrect index 10 years ago
Internecine a7a3ab0c78 Fixed instant negative dynamic stat changes being applied as positive 10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
scrawl de9d347018 Fix on touch area effect spells (Fixes #2233) 10 years ago
Internecine 5f9540318a Fixed incorrect indexes 10 years ago
Internecine a87fe71ddf Added a helper function to handle dynamic stat changes 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
Alexander "Ace" Olofsson 462b41a3a8 Missing files, aka; Why you shouldn't stresscommit 10 years ago
Internecine edc51ab768 Removed debug output 10 years ago
Internecine 6741fbe7a9 Fixes bug #2031 10 years ago
scrawl 8cb09e89ed Make spells cast by scripts always succeed (Fixes #1993) 10 years ago
Marc Zinnschlag 744c56943a Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup' 10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 10 years ago
Jordan Ayers 663647bee8 Simplify getEffectMultiplier.
Both return cases were same, except for some overflow conditions.
10 years ago
scrawl 56cd0da522 Fix potential infinite recursion when an area effect spell is reflected (Fixes #1896) 10 years ago
scrawl 58945c557a Add sound for casting enchanted item with insufficent charge (Fixes #1857) 11 years ago
MiroslavR fc789265e2 Spells that always succeed should not increase your skill when you cast them 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl 2bfcec53bf Don't show sMagicInvalidTarget for soultrap on NPCs (Fixes #1762)
Note the message was accurate, since NPCs can't be soultrapped. Maybe vanilla doesn't show it to not spam the screen with message boxes when attacking with a "soultrap on strike" weapon...
11 years ago
scrawl 175cc98e64 Make magic effects with no corresponding resistance attribute unresistable (Fixes #1727) 11 years ago
scrawl 78bd516ab4 Show sMagicInvalidTarget for an invalid soultrap target (Fixes #1728) 11 years ago
scrawl 5349699172 Only show "target resists magic" message for spells cast by player 11 years ago
scrawl 90b2709d6c Allow absorption of non-harmful spells (Fixes #1693)
Also fix absorption being calculated for each effect rather than the whole spell.
11 years ago
scrawl 6d794dac69 Add missing messagebox for spell lock and unlock success 11 years ago
scrawl 20a0040bdb Apply elemental shield magnitude to element resistance (Closes #1121) 11 years ago
scrawl 479f248c1d Use spell effect range type, not base effect (applied to spellcasting code) 11 years ago
scrawl e95483c40f Fix crash for on target spells cast by non-actors (Fixes #1529) 11 years ago
scrawl fe1e6a2719 Make Weakness effects apply to all subsequent effects within the same spell (Fixes #1150) 11 years ago