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()
10 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
scrawl
5104a5a023
Add missing setFactionReaction instruction, use absolute storage instead of difference
...
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).
This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
scrawl
c3f3f8b3d0
Use only Cell records for saving progress bar ( Fixes #2259 )
10 years ago
scrawl
579f5d232f
Move interactive messageBox to separate function
10 years ago
scrawl
37bea9d4dc
Fix exception for empty dialog topics ( Fixes #2267 )
10 years ago
scrawl
ce2cbab402
Dialogue: improve conflict resolution for chains of overlapping keywords (unit test for such a case will follow)
10 years ago
scrawl
ddd6e682bc
Dialogue: add conflict resolution for overlapping keywords ( Fixes #2245 )
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
4aed5158cc
Support region names in cell dialogue filter ( Fixes #2113 )
10 years ago
Marc Zinnschlag
a6d30bc2e3
consider --script-warn when running with --script-all-dialogue
10 years ago
Marc Zinnschlag
1f74d8cca5
Merge remote-tracking branch 'scrawl/scripttest'
10 years ago
scrawl
ba65c6cc7f
Add --script-all-dialogue switch to compile all dialogue scripts ( Fixes #1659 )
10 years ago
scrawl
2ebf328dec
Always print the failing dialogue script
...
These aren't usually very long, so printing them shouldn't spam the console by too much.
10 years ago
MiroslavR
5a7dbb19f7
Code clarity
10 years ago
MiroslavR
ed6bdc0bde
Use all topics to search for keywords in dialogues ( Fixes #2013 )
...
Move KeywordSearch to MWDialogue
Move hypertext parsing functions to a new file
10 years ago
scrawl
c4fa671381
Don't allow raising faction rank if the next rank has no name ( Fixes #1975 )
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
scrawl
e54ba2c5d1
Fix broken dialogue Function_HealthPercent
10 years ago
scrawl
d8943aef2f
Encapsulate magic effect magnitude (Feature #1489 )
11 years ago
scrawl
e508450c1c
Add persuasion GMST to ensureNeededRecords ( Fixes #1817 )
11 years ago
Marc Zinnschlag
c9cd7fb6b7
Merge branch 'scripts'
11 years ago
Marc Zinnschlag
f6b502b195
rewrote dialgoue filter access to local variables
11 years ago
scrawl
d4ffd30f98
Implement Rank filter with no faction given ( Fixes #1660 )
11 years ago
scrawl
f9a39138cc
Add missing endline
11 years ago
scrawl
8b404ee255
Fix not being able to exit dialogue using Escape when a Goodbye link appears
11 years ago
scrawl
28feb260eb
Implement disposition/distance based aggression ( Fixes #1520 )
11 years ago
scrawl
0aba1088a1
Attempt to open companion window if no greetings are found (Bug #1507 )
11 years ago
scrawl
1adb81abd0
Sort using ciLess, not ciEqual
11 years ago
scrawl
88f8f25ffa
Don't allow scripted dialogue with dead actors ( Fixes #1493 )
11 years ago
scrawl
2dd54dbcfc
Implement ClearInfoActor script instruction ( Fixes #1422 )
11 years ago
scrawl
a90245147b
Don't reset history when ForceGreeting is used and a dialogue window was already open for the same actor ( Fixes #1423 )
11 years ago
scrawl
1ed3f092c1
Implement text replacement for journal topic responses ( Fixes #1429 )
11 years ago
scrawl
865486604f
Make trade disposition changes temporary again, as in vanilla
11 years ago
scrawl
0b45a9e6b2
Fix case folding for faction reaction from ESX records
11 years ago
scrawl
e266c39c5d
Implement modFactionReaction instruction ( Closes #1347 )
11 years ago
scrawl
b47b2b84f3
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwdialogue/filter.cpp
apps/openmw/mwgui/waitdialog.cpp
11 years ago
scrawl
df8e095c83
Small cleanup
11 years ago
Emanuel Guevel
1e4a854433
Remove static method MWWorld::Class::get(&Ptr)
...
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
scrawl
3380e1e1c5
Fix ShouldAttack filter
...
This makes NPCs exit dialogue properly when they should attack as a result of taunting actions.
11 years ago
scrawl
1677fcf324
Dialogue merging
11 years ago
scrawl
5fc2b1a41b
Allow setting a journal index even if there's no related journal entry
...
This is used by the MV_SlaveMule quest.
11 years ago
scrawl
e1458453f3
Fix "unknown info ID" exceptions when a dialogue response is from the Info Refusal group
...
Could be observed in TG_OverduePayments quest when talking to Trasteve about Dwemer Artifacts.
Info Refusal responses are not specific to any particular topic, so they should not be added to the journal. Trying to do so anyway will cause "unknown id" exceptions because MWDialogue::Entry expects the infoId to be from the Dialogue for the supplied topic.
11 years ago
scrawl
872d9be1b4
Fix potential issue with dialogue globals
...
Make sure they are updated throughout the conversation
11 years ago
scrawl
27a05027f4
Fixes #1172 : Added basic loading/saving progress bar
...
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
scrawl
f921f2e7db
Make PcRaiseRank, PcLowerRank and PcJoinFaction properly accept references instead of using the actor that the player talked to last.
...
This also solves a potential crash when no actor has been talked to yet, e.g. immediately after loading a savegame.
11 years ago
scrawl
b13b25dd1b
Fixes #1295 : Support partial matches in Cell filter
11 years ago
scrawl
5eeed03f5b
Only exchange bribe gold if the bribe was accepted
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
Marc Zinnschlag
7693f712bc
started making CellStore into a proper class; encapsulated mCell member
11 years ago
Marc Zinnschlag
9f721fd144
store list of known topics in saved game files
11 years ago
scrawl
f89b3cac02
Feature #764 : Store the actor that gave the dialog response
11 years ago
scrawl
a988a0d6dc
Don't add duplicate topic responses to the journal
11 years ago
Marc Zinnschlag
1b5301eec0
Merge branch 'savedgame'
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwbase/soundmanager.hpp
apps/openmw/mwgui/mapwindow.hpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
apps/openmw/mwsound/soundmanagerimp.hpp
components/esm/loadcell.cpp
11 years ago
scrawl
434fd21584
Don't set journal index if a higher index is currently set
...
This is vanilla behaviour, and required for the Mehra Milo vivec informants quest.
11 years ago
scrawl
03cf383be7
Merge branch 'master' of https://github.com/zinnschlag/openmw into savedgame
...
Conflicts:
apps/openmw/mwgui/referenceinterface.cpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
apps/openmw/mwscript/cellextensions.cpp
apps/openmw/mwworld/cells.cpp
apps/openmw/mwworld/cells.hpp
apps/openmw/mwworld/cellstore.cpp
apps/openmw/mwworld/store.cpp
apps/openmw/mwworld/worldimp.cpp
11 years ago
scrawl
70264eae3b
Feature #764 : Quest completetion status in quest book
11 years ago
scrawl
ea21d8fec3
Fix CreatureTargetted function
11 years ago
scrawl
4c94289b1f
Fix PC Health Percent function
11 years ago
scrawl
f89c400305
Don't complain about greetings with no sound
11 years ago
scrawl
589fbbd871
Issue #777 : Create InventoryStore for creatures with weapons/shields
11 years ago
greye
15d946415e
minor cleanup
...
Removed case folding via std::transform, excessive lowerCase()
replaced with ciEqual().
11 years ago
scrawl
3a1b6dd354
Handle fCombatKODamageMult and fCombatCriticalStrikeMult. Fix SelectWrapper Function_Detected.
11 years ago
scrawl
9bf7bf529c
Implement crime-related dialogue globals as they are described in MSFD
11 years ago
scrawl
19d63f392f
Clean up the NpcStats expelled interface. Show message box when expelled.
11 years ago
scrawl
098f9712f1
Add getPlayerPtr() utility method. Reduces dependencies a lot.
11 years ago
scrawl
c85c2cff4e
Fix disposition changes from trades not applying properly
11 years ago
scrawl
62774fcc4a
Merge branch 'master' into HEAD
...
Conflicts:
apps/openmw/mwbase/world.hpp
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
apps/openmw/mwworld/worldimp.hpp
components/esm/loadtes3.cpp
11 years ago
scrawl
14b70a3ce6
Implement AI related magic effects (calm, frenzy, rally, demoralize, turn undead)
11 years ago
scrawl
f4517c8221
For dialogue filtering, use the Vampirism magic effect instead of the untouched NpcStats::mVampire
11 years ago
scrawl
12691040d1
Fix incorrect disposition testing and get rid of of a related hack that is no longer needed.
11 years ago
scrawl
a0d38dfb63
Fix highlighted topics being selectable when in a choice
11 years ago
Marc Zinnschlag
34cdd2bb1f
deal with dialogue/info records that don't exist anymore
11 years ago