Commit Graph

355 Commits (coverity_scan)

Author SHA1 Message Date
scrawl 3f27c8cc97 Always print context for script warnings to remove the need for verbose option
(Fixes #2813)
8 years ago
Allofich 5e992a0342 Fix attempting to access NPC stats on creatures 8 years ago
MiroslavR 5f234f8952 Dialogue: "PC Rank" condition now uses speaker's faction if "PC Faction" is not given (Fixes #3689) 8 years ago
Leon Krieg c7b4b2cdd7 Fixed multiple spelling mistakes 8 years ago
Allofich 1c54f54ab8 Fix shadowing warnings 8 years ago
Allofich 1c2e04747d Remove stray line 8 years ago
MiroslavR 14468262a7 Fix "Not Local" dialog test to also test variable value instead of just its existence (Fixes #3577) 8 years ago
Allofich 028db21c8a Don't let disposition at end of dialogue be below 0 (Fixes #3584) 8 years ago
Allofich 53e94b7c3f Fix shadowing warnings 8 years ago
scrawl b6230bd31f Reject weather dialogue conditions when in an interior cell (Fixes #3437) 9 years ago
scrawl 2ca7415708 Handle DialInfo::mFactionLess (Bug #3380) 9 years ago
scrawl 4854d6b093 Set the TalkedToPc flag for voiced dialogue (Fixes #3346) 9 years ago
scrawl 79eb2d20e0 Cleanup 9 years ago
scrawl 12ec90f9e7 Change default argument, fix GetDisposition 9 years ago
ae-g-i-s c9791c5c1a Add addTemporaryDispositionChange parameter to MechanicsManager::getDerivedDisposition(), adjust callers that previously added temp disposition changes themselves (fixes #3233) 9 years ago
ae-g-i-s 2f1c6c740c Revert "Fix incorrect handling of baseDisposition >= 100 in testDisposition(), enable unbounded getDerivedDisposition() (Fixes #3233)"
This reverts commit 000597236e.
9 years ago
ae-g-i-s 000597236e Fix incorrect handling of baseDisposition >= 100 in testDisposition(), enable unbounded getDerivedDisposition() (Fixes #3233) 9 years ago
scrawl 90a99991d1 Use empty() instead of !size() 9 years ago
scrawl f315a4386f Accept an implicit reference in Journal (Fixes #3135) 9 years ago
scrawl a9f0f30bb8 Reject conditions testing agaist Choice when not currently in a choice (Fixes #3117) 9 years ago
scrawl 0333c40047 Fix typo in SameRace dialogue function (function was inverted, Fixes #3116) 9 years ago
scrawl 2176ac592c Call updateDialogueGlobals before dialogue starts (Fixes #3034) 9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl 8222c78cf2 Do not filter creature dialogue by NPC-only conditions (Fixes #3086) 9 years ago
scrawl 2737aabe93 Pc functions apply to creature dialogue (Fixes #3078) 9 years ago
scrawl f875597be5 Don't use tolower()
See https://forum.openmw.org/viewtopic.php?f=8&t=3231&p=35968
9 years ago
scrawl c912310c52 Don't add persuasion results to the journal 9 years ago
scrawl d5a738bd39 Apply 27e669296e (locale-unaware tolower) to more code
In particular, the one in VFS::normalizeFilename was affecting cell loading performance.
9 years ago
scrawl 93565eccbf Update the dialogue topic list after running greeting script 9 years ago
scrawl 04df656f54 Remove some junk 9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 24ae1d5ace Fix some issues found by coverity 10 years ago
Alexander "Ace" Olofsson 3655ef16af Explicitly instantiate ESM::StatState 10 years ago
scrawl 141e9d36a4 Get rid of unused DialogueManager::mScriptVerbose 10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
scrawl ac88326909 Exit out of choice when no responses are found (Fixes #2525) 10 years ago
scrawl 37a6d7da76 WindowManager refactoring 10 years ago
scrawl e30f240ba2 Add travel service support for creatures (Fixes #2432) 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
Alexander "Ace" Olofsson df5a08b6de Move manualref code out of header 10 years ago
scrawl 0c6e2170db Include cleanup 10 years ago
Marc Zinnschlag c02c72e134 Merge remote-tracking branch 'jordan-ayers/topic/dialogue-set' 10 years ago
Jordan Ayers 419046e121 Dialogue: Use std::set for known topics in the manager.
There were three different data structures being used for topic lists
in this code.  (map< string, true >, list< string >, and vector< string >)
Switch the local topic lists to set< string >.  This supports everything
the list and map were doing, reduces the variety of data structures, and
makes count (a more efficient search) available.

The vector has not changed, since it's tied to the ESM modules, and must
meet other requirements.
10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl 6367b4dc0b Improve INFO struct naming 10 years ago
scrawl 6f41e0d12e Reapply quest index when loading quest from savegame (Bug #2260) 10 years ago
scrawl 697ab16ec5 Fix for coverity defects 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl 8b5effe3e0 Fix wrong magic number for JOUR in openmw savegames 10 years ago