forked from mirror/openmw-tes3mp
some cleanup
This commit is contained in:
parent
dd70831a8c
commit
f2a47d421b
2 changed files with 7 additions and 21 deletions
|
@ -390,7 +390,6 @@ namespace MWDialogue
|
|||
{
|
||||
ESMS::LiveCellRef<ESM::NPC, MWWorld::RefData>* npc = actor.get<ESM::NPC>();
|
||||
int isRace = int(toLower(npc->base->race) == toLower(name));
|
||||
//std::cout << "isRace"<<isRace; mEnvironment.mWorld
|
||||
if(selectCompare<int,int>(comp,!isRace,select.i))
|
||||
return false;
|
||||
}
|
||||
|
@ -523,14 +522,6 @@ namespace MWDialogue
|
|||
if (!isMatching (actor, *iter))
|
||||
return false;
|
||||
|
||||
/*std::cout
|
||||
<< "unchecked entries:" << std::endl
|
||||
<< " player faction: " << info.pcFaction << std::endl
|
||||
<< " disposition: " << info.data.disposition << std::endl
|
||||
<< " NPC rank: " << static_cast<int> (info.data.rank) << std::endl
|
||||
<< " gender: " << static_cast<int> (info.data.gender) << std::endl
|
||||
<< " PC rank: " << static_cast<int> (info.data.PCrank) << std::endl;*/
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -553,7 +544,6 @@ namespace MWDialogue
|
|||
std::list<std::string>::iterator it;
|
||||
for(it = actorKnownTopics.begin();it != actorKnownTopics.end();it++)
|
||||
{
|
||||
MWGui::DialogueWindow* win = mEnvironment.mWindowManager->getDialogueWindow();
|
||||
size_t pos = find_str_ci(text,*it,0);
|
||||
if(pos !=std::string::npos)
|
||||
{
|
||||
|
@ -574,7 +564,6 @@ namespace MWDialogue
|
|||
{
|
||||
mChoice = -1;
|
||||
mIsInChoice = false;
|
||||
std::cout << "talking with " << MWWorld::Class::get (actor).getName (actor) << std::endl;
|
||||
|
||||
mActor = actor;
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ DialogueWindow::DialogueWindow(WindowManager& parWindowManager,MWWorld::Environm
|
|||
|
||||
getWidget(pDispositionBar, "Disposition");
|
||||
getWidget(pDispositionText,"DispositionText");
|
||||
std::cout << "creation dialogue";
|
||||
}
|
||||
|
||||
void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
||||
|
@ -126,7 +125,6 @@ void DialogueWindow::removeKeyword(std::string keyWord)
|
|||
{
|
||||
if(topicsList->findItemIndexWith(keyWord) != MyGUI::ITEM_NONE)
|
||||
{
|
||||
std::cout << topicsList->findItemIndexWith(keyWord);
|
||||
topicsList->removeItemAt(topicsList->findItemIndexWith(keyWord));
|
||||
pTopicsText.erase(keyWord);
|
||||
}
|
||||
|
@ -200,4 +198,3 @@ void DialogueWindow::updateOptions()
|
|||
pDispositionText->eraseText(0,pDispositionText->getTextLength());
|
||||
pDispositionText->addText("#B29154"+std::string("40/100")+"#B29154");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue