Commit Graph

1645 Commits (c++11)

Author SHA1 Message Date
scrawl 767624f518 Combat mechanic fixes 10 years ago
scrawl a846bb1aa3 Update hit chance according to wiki and implement fCombatInvisoMult 10 years ago
scrawl 3879ce6ac1 Get rid of "player" string checks (Fixes #2216) 10 years ago
scrawl 68de876051 Switch to weapon drawstate when creating a bound weapon (Fixes #2387) 10 years ago
scrawl 36e1b6cc48 Support fatigue below zero for the Drain effect (Fixes #2430) 10 years ago
scrawl 3d5c1d1190 Adjust fix for maximum attribute damage limit 10 years ago
dteviot 36141b0c53 Merge remote-tracking branch 'OpenMW/master' into FixWarnings
Conflicts:
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	extern/sdl4ogre/sdlcursormanager.cpp
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 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
Marc Zinnschlag ba482fa41f Merge remote-tracking branch 'dteviot/FixWarnings' 10 years ago
dteviot f2ac939e61 reverted mShouldRepeat back to unsigned char.
As recommended by Scrawl.
10 years ago
Marc Zinnschlag 907ac5ef7f Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago
dteviot 407cd50890 fixed warning C4099:
type name first seen using 'class' now seen using 'struct'
10 years ago
dteviot 80fe24207c correction from Scrawl.
Now correctly handles skills/attributes.
Also, document what ContentSelectorView::ContentSelector::slotAddonTableItemActivated() is doing.
10 years ago
scrawl cced508916 Remove unintended 1.5 factor for damage/restore magic effects 10 years ago
Marc Zinnschlag 8b84fa5579 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl a653716e2c Fix for damage/restore effects using the instant apply path when they have a duration 10 years ago
dteviot cdee6f41fc fix: multi effect spell with different ranges (Fixes #2285)
Applies all effects for a spell with multiple effects, where not all effects have the same range.
10 years ago
dteviot 41e15e0c2d Limit maximum attribute damage (Fixes #2367)
Maximum damage that an attribute can have = base + fortify.
10 years ago
scrawl f82751422d Fix constant effect restore enchantments being applied incorrectly (Fixes #2408) 10 years ago
Marc Zinnschlag 9109162030 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 77bb77b367 Fix for instant restore effects (Fixes #2392) 10 years ago
Marc Zinnschlag 07c27065d6 Merge remote-tracking branch 'slothlife/msvc-warning-fixes' 10 years ago
Marc Zinnschlag 4c5bba2947 Merge remote-tracking branch 'dteviot/SpellCastingFixes' 10 years ago
Marc Zinnschlag 8686ffcedb Merge remote-tracking branch 'scrawl/master' 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
cc9cii efdee19477 Suppress warning about the lack of virtual destructor. 10 years ago
slothlife a9b74671a6 Fix various MSVC warnings 10 years ago
scrawl 81925645a3 Unreachable enemies combat AI fix (Fixes #2271) 10 years ago
Alexander "Ace" Olofsson d3128a12b6 Remove a large include form mwbase/windowmanager.hpp 10 years ago
Alexander "Ace" Olofsson 8c49812d56 Remove unneeded include in obstacle.hpp 10 years ago
Alexander "Ace" Olofsson df5a08b6de Move manualref code out of header 10 years ago
scrawl e81d2a9dde Merge remote-tracking branch 'upstream/openmw-35' into HEAD
Conflicts:
	apps/openmw/mwmechanics/npcstats.cpp
10 years ago
scrawl 9dbd9af31c Adjust fix for Bug #2360 to repair affected savegames 10 years ago
scrawl b542143e3a Fix faction reputation case sensitivity issue (Fixes #2360) 10 years ago
scrawl 61ec9196c8 Cap the displayed attribute multiplier in levelup to attribute points left to 100 10 years ago
scrawl b5e0e45c78 Fix iLevelUpTotal not being used in the levelUp logic 10 years ago
scrawl f0b1d889c0 ESSImport: import player skill progress 10 years ago
scrawl ae77eacd7e Skill progress refactoring 10 years ago
scrawl bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 10 years ago
scrawl aa6ebcd75c Change stolen items handling to match MW (Fixes #1443, Fixes #2290) 10 years ago
scrawl 6d097fbfbd Normalise spelling of "levelled" throughout the code 10 years ago
scrawl 0c6e2170db Include cleanup 10 years ago
MiroslavR ee8f88fc42 Reset health modifier when actor dies (Fixes #2330) 10 years ago
scrawl 7e33471edb Fix code duplication 10 years ago
scrawl bdcc3a4036 Add missing swish sound for thrown weapons 10 years ago
scrawl 2346c3528d Remove NpcStats::mProfit and store it in the script instead
Also use the Profit label when the "minimumProfit" script variable exists, rather than hardcoding to NPCs.
10 years ago
scrawl b9acf437fd Remove friendly hits from the save file
The vanilla engine does not store friendly hits in the save file. Since there's no other mechanism that ever resets the friendly hits (at least not to my knowledge) this should be regarded a feature rather than a bug.
10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl f35c9b7a69 Clang warning fixes (thanks hemite) 10 years ago
scrawl d34c8526f6 Enchanted arrows should not be added to victim (Fixes #2306) 10 years ago
scrawl 67491c7164 Fix leveled item argument issue (Fixes #2302) 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl 378e91545d Fix Tribunal/BM summon effects not working 10 years ago
scrawl 69676906ae Don't clear known spells when reading from the savegame
This is needed because the .ess format doesn't include the racial spells in the player's spell list.
10 years ago
scrawl eede2c8e55 ESSImport: convert breath meter and skill increases 10 years ago
scrawl 14aacf9a72 Add comment 10 years ago
scrawl 1869d37cfc Remove unused mLastDrowningHit 10 years ago
scrawl bf915d929a Update idle voices according to research 10 years ago
scrawl a3c861b7fa Idle voice fix 10 years ago
scrawl 2ac4a74a34 Fix running AI for dead actors 10 years ago
scrawl fafc14d5a0 Add proper air movement mechanics (Fixes #2077) 10 years ago
scrawl 4ed3e7bbb7 Enchanting code cleanup 10 years ago
scrawl de23ad5c8d Change dynamic_cast to static_cast to make coverity happy 10 years ago
scrawl cda2eea906 Enchanting: use fEnchantmentConstantDurationMult and fEffectCostMult 10 years ago
scrawl 871d59de6c Reduce Idle voice chance (Fixes #1964) 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl b108fbe986 Remove incorrect implementation of fGreetDistanceReset
This can't be right. A reset distance of 512 is smaller than the maximum greeting distance for certain NPCs, which would then say greetings non-stop.
10 years ago
Marc Zinnschlag 289a912817 Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 458b82c308 Centralized "fish can't attack non-swimmer" logic. 10 years ago
scrawl 579f5d232f Move interactive messageBox to separate function 10 years ago
dteviot 7fe2f86d06 Slaughter fish attacks when player only knee deep in water (Fixes #2076) 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 ef1b0a191b Revert "Enchanting: fix inverted self-enchant success chance"
It wasn't inverted to begin with. The author of this commit is an idiot.
10 years ago
scrawl a17252eab3 Remove unused checkWaypoint function
It was an almost exact copy of the checkPathCompleted function anyway.
10 years ago
scrawl 4d9100091d Reduce default pathing arrival tolerance to 32 units (Fixes #1605) 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
scrawl 708dbc2518 Crime fix 10 years ago
scrawl c343a5c803 stopCombat fix 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 92e4a0669c Fix for AiWander state loading 10 years ago
scrawl 559ddbb480 Quick fix for Ai fast-forward crash in exteriors (Fixes #2241) 10 years ago
Internecine a7a3ab0c78 Fixed instant negative dynamic stat changes being applied as positive 10 years ago
scrawl dc1c52bda7 Add some todo comments 10 years ago
scrawl e0d083f702 Add hand-to-hand combat mechanics for bipedal creatures
You can now have a fistfight with vivec, if you so desire.
10 years ago
scrawl 70d3bfc6ed Fix idle animation not restarting immediately for creatures 10 years ago
scrawl 01652bbcc5 Store original actor position in AiWander package (Fixes #2200) 10 years ago
scrawl 99ae0f901b Implement AiTravel fast-forward (Fixes #1125) 10 years ago
scrawl a8ae0dec52 Implement AiWander fast-forward (Feature #1125) 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 363d1f9207 Merge remote-tracking branch 'upstream/master' 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 a58bc9f2f7 Remove sneaking effect on combat AI (Fixes #2237) 10 years ago
scrawl 1bd3ab8a2d Fix torch animation playing when torch is hidden (Fixes #2236) 10 years ago
scrawl de9d347018 Fix on touch area effect spells (Fixes #2233) 10 years ago
scrawl a62fe38a1b Fix unsafe use of BaseNode 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 768c4a5757 Update crime response to pickpocket attempts (thanks Hrnchamd) 10 years ago
scrawl 7f0d71f8f4 Swap use of iDispAttackMod/fDispAttacking (thanks Hrnchamd) 10 years ago
scrawl 019cd96719 Stop AiPursue when target has invisibility or chameleon>=75 10 years ago
scrawl edc128572d Add MWMechanics::Actor class for temporary actor state, move AiState there 10 years ago
scrawl 8bc7eb5530 PlayGroup: Don't loop animations with no loop keys (Fixes #2223) 10 years ago
scrawl 9e5dfb6e98 Update crime system according to research wiki for more accurate attack responses 10 years ago
scrawl 2410d79410 Fix iFightAttack and iFightAttacking being swapped
Looks like the research wiki page was incorrect, the higher value (iFightAttack) being for the victim makes more sense, is consistent with iDispAttackMod/fDispAttacking, and seems to be how the original game behaves as well.
10 years ago
scrawl 0081a68376 Use fMagicStartIconBlink for spell effect indicator fading 10 years ago
scrawl f3738e9a98 Say an "intruder" voice dialogue for trespassing crimes (Fixes #1082)
Seems to be broken in the original engine, but according to the TES-CS help this is how the intruder voices should be used. There are legitimate entries for "intruder" in the game's files, so we might as well use them.
10 years ago
scrawl 866fdfe8bd Crime system improvements
- If someone saw the crime, they will notify everyone else in range, even if the Alarm rating of the witness is 0.
- Pickpocket and selling stolen items now works properly, i.e. honors the victim's Alarm rating instead of always being reported.
10 years ago
scrawl 1910327469 Implement disposition changes due to crimes 10 years ago
scrawl cc9af9562b Function_CreatureTargetted should return '2' for werewolfs
This makes NPCs say the correct attack voice files when fighting a werewolf.
10 years ago
scrawl efa9ff3a76 Fix incorrect implementation of iWerewolfBounty 10 years ago
scrawl 35d2bfabca Adjust NPC response to pickpocket attempts (Fixes #2219) 10 years ago
scrawl 105f0f8716 Head tracking: don't look at dead actors 10 years ago
scrawl 8a210c49e9 Improve AI prioritising health potions 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl 1b9209df4a Allow blocking of hand-to-hand attacks 10 years ago
Alexander "Ace" Olofsson 462b41a3a8 Missing files, aka; Why you shouldn't stresscommit 10 years ago
Alexander "Ace" Olofsson 0af5c7b379 Starting to clean up some heavy includes 10 years ago
scrawl d962f0918d Implement NPC head tracking (Fixes #1720) 10 years ago
scrawl 4d5adfb5dd Fix being able to use enchantments of items that failed to equip (Fixes #2215) 10 years ago
scrawl 2b78e9795d Implement Calm effect removing combat packages (Fixes #1985) 10 years ago
scrawl 4f3995a4d8 Fix werewolf AI being able to use items 10 years ago
scrawl 88a2e4c043 Graceful error handling for missing spells/factions (Fixes #1825, Bug #2176, Bug #2203) 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 2601b26217 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl 886903d70e Implement HitAttemptOnMe function (Bug #2078) 10 years ago
scrawl 5f00a3d5c3 Reset lastHitObject when it is retrieved rather than every frame
This seems to be how vanilla MW does it.
10 years ago
Marc Zinnschlag 19bd07648b Merge remote-tracking branch 'scrawl/pathgrid' 10 years ago
scrawl 3270f0e932 Change pathgrid workaround to check for interior cell name 10 years ago
scrawl 623783cd6a Enchanting: fix cast cost for "on use" enchantments being set incorrectly 10 years ago
scrawl ead6bf1601 Enchanting: cast the enchant points for the item to int (Fixes #2202) 10 years ago
scrawl 3c747195ae Add fall damage for creatures (Fixes #2201) 10 years ago
scrawl e0c6f84546 AiFollow: target has to be seen in order to start following (Fixes #1637) 10 years ago
scrawl 109a3f78a1 Adjust AiFollow distance for groups of multiple followers (Fixes #1637) 10 years ago
scrawl 0fe7500f74 Work around pathgrid record limitation (Fixes #2195) 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 83dcf9ce4b Overwrite existing records in IndexedStore (Fixes #2182) 10 years ago
Marc Zinnschlag eb6e1576be Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 14ae6d28b0 Fix being able to jump when overencumbered 10 years ago
scrawl 7faa849cef Fix fatigue recalculation using older value (oops) 10 years ago