scrawl
b312f50b1f
Fix regression with detect spells detecting deleted objects ( Fixes #2518 )
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
Marc Zinnschlag
f0a7b202b9
Merge branch 'openmw-35-1'
10 years ago
scrawl
3879ce6ac1
Get rid of "player" string checks ( Fixes #2216 )
10 years ago
dteviot
e6cd8484a2
fixing MSVC 2013 warning C4244: & C4305
...
fixes for mistakes in last commit.
10 years ago
dteviot
e197f5318b
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
58807064b4
Revert "Fix reference cell movement leaving behind deleted Ptrs for script access"
...
This reverts commit 666248618e
.
10 years ago
scrawl
666248618e
Fix reference cell movement leaving behind deleted Ptrs for script access
10 years ago
Marc Zinnschlag
281e0042ab
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
e7989a197d
Add defaults for some required globals ( Fixes #2397 )
10 years ago
Jordan Ayers
659a8ba279
Correction to teleportation changes.
...
OMW Bug #2400
Related to OMW Bug #1533
Don't crash on confiscating items if a prison marker cannot be found.
10 years ago
Jordan Ayers
691ebd2372
Correction to teleportation changes.
...
OMW Bug #2400
Related to OMW Bug #1533
Don't crash when finding the closest marker to an exterior position.
10 years ago
Marc Zinnschlag
8e007c91fd
Merge remote-tracking branch 'jordan-ayers/bugfix/1533'
10 years ago
Jordan Ayers
5edafc2a4c
Cleanup: Add const to read-only CellRefList access.
...
OMW Bug #1533
10 years ago
Jordan Ayers
c21b59ecff
Teleportation: Avoid marking searched cells as changed.
...
OMW Bug #1533
Only mark cells with the target marker / evidence chest as 'changed'.
10 years ago
Marc Zinnschlag
4c5bba2947
Merge remote-tracking branch 'dteviot/SpellCastingFixes'
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
Jordan Ayers
6d1aec6970
Confiscate stolen goods: Support Mournhold prisons.
...
OMW Bug #1533
10 years ago
Jordan Ayers
5ef78903dc
Teleportation: Support markers in Mournhold.
...
OMW Bug #1533
Note: the 'stolen goods' search is not yet correct for Mournhald.
10 years ago
Jordan Ayers
1d18d3ff4c
Add a full search to findInteriorPositionInWorldSpace.
...
Part of OMW Bug #1533
Implement a search for one of the 'nearest' exterior cells. In this
case, 'nearest' means the fewest number of cells away via door markers.
This causes the world map position to update immediately after teleporting,
unless the new cell has no connecting path to an exterior. Intervention
spells and Jail travel will be much closer to vanialla Morrowind,
except for in Mournhold.
10 years ago
scrawl
3ccf4642b4
Implement ToggleScripts
10 years ago
scrawl
801c0eb57c
Detect Creature should detect alive creatures only ( Fixes #2353 )
10 years ago
Marc Zinnschlag
e9d6e4f6df
Merge remote-tracking branch 'ace/include-cleanup'
10 years ago
Alexander "Ace" Olofsson
8c49812d56
Remove unneeded include in obstacle.hpp
10 years ago
MiroslavR
1d9e973573
Add training progress bar, implement jail screen, tweak wait dialog ( Fixes #1714 )
10 years ago
Marc Zinnschlag
6c4920c58e
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
bea88c3643
Stolen item tracking overhaul part 2 ( Fixes #2338 )
10 years ago
Jordan Ayers
1f036c0381
Patch for COC Spawn Issue.
...
OMW Bug #1079
Fall back to the first static's position, if there are no door markers.
10 years ago
scrawl
c98b7db4c1
Fix swim height, use fSwimHeightScale GMST
10 years ago
scrawl
cbe135c60f
Don't require magicka for casting spells in God Mode ( Fixes #2331 )
10 years ago
scrawl
7542fb5cd9
Show map notes on door marker leading to the cell with the note ( Fixes #2284 )
10 years ago
scrawl
f4c8064d39
Fix camera not being attached properly when player becomes vampire ( Fixes #2319 )
10 years ago
scrawl
72f7c2e555
Move weather reset to clear() method
10 years ago
scrawl
c883a73d30
Several warning fixes
10 years ago
scrawl
d13335ba40
Ensure the item can be equipped in the given slot when loading inventory
10 years ago
scrawl
c65f9cb3c0
Revert "Change save format to store relative equipment index"
...
This reverts commit 89d9649b50
.
10 years ago
scrawl
89d9649b50
Change save format to store relative equipment index
...
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl
fc6aa256bf
Add comment
10 years ago
scrawl
6b2df95167
Fix for some coverity defects
10 years ago
scrawl
41b3a9dba9
Rewrite animated collision shape support ( Fixes #2123 )
10 years ago
scrawl
82eaa9f1bc
Fix loading crash (don't apply viewmode before player is set up) ( Fixes #2272 )
10 years ago
scrawl
c3f3f8b3d0
Use only Cell records for saving progress bar ( Fixes #2259 )
10 years ago
Marc Zinnschlag
289a912817
Merge remote-tracking branch 'scrawl/master'
10 years ago
dteviot
7aa0f887c0
Minor changes to ESM::RefNum
...
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
scrawl
579f5d232f
Move interactive messageBox to separate function
10 years ago
dteviot
64cd1396ac
Fixed minor issues.
...
1. Renamed "hightRatio" to "heightRatio".
2. Replaced magic numbers with named constants.
10 years ago
dteviot
7fe2f86d06
Slaughter fish attacks when player only knee deep in water ( Fixes #2076 )
10 years ago
scrawl
e19ab77d00
Store camera first person state in savegame ( Fixes #2255 )
10 years ago
scrawl
326d0d3ebf
Add default values for fNPCHealthBarTime and fNPCHealthBarFade ( Fixes #2243 )
...
These GMSTs are missing in unpatched versions of the game.
10 years ago
scrawl
de9d347018
Fix on touch area effect spells ( Fixes #2233 )
10 years ago