1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 15:45:31 +00:00

removed useless std::cout

This commit is contained in:
gugus 2012-01-16 21:58:18 +01:00
parent edbf4f7bdc
commit 484b8a95f0

View file

@ -120,7 +120,6 @@ void MWGui::JournalWindow::open()
for(std::deque<MWDialogue::StampedJournalEntry>::const_iterator it = mWindowManager.getEnvironment().mJournal->begin();it!=mWindowManager.getEnvironment().mJournal->end();it++) for(std::deque<MWDialogue::StampedJournalEntry>::const_iterator it = mWindowManager.getEnvironment().mJournal->begin();it!=mWindowManager.getEnvironment().mJournal->end();it++)
{ {
std::string a = it->getText(mWindowManager.getEnvironment().mWorld->getStore()); std::string a = it->getText(mWindowManager.getEnvironment().mWorld->getStore());
std::cout << a;
journal = formatText(a,journal,10,17); journal = formatText(a,journal,10,17);
journal.endLine = journal.endLine +1; journal.endLine = journal.endLine +1;
journal.pages.back() = journal.pages.back() + std::string("\n"); journal.pages.back() = journal.pages.back() + std::string("\n");
@ -149,7 +148,6 @@ void MWGui::JournalWindow::open()
} }
else else
{ {
std::cout << "empty";
//std::cout << mWindowManager.getEnvironment().mJournal->begin()->getText(mWindowManager.getEnvironment().mWorld->getStore()); //std::cout << mWindowManager.getEnvironment().mJournal->begin()->getText(mWindowManager.getEnvironment().mWorld->getStore());
} }
} }
@ -173,7 +171,6 @@ void MWGui::JournalWindow::displayRightText(std::string text)
void MWGui::JournalWindow::notifyNextPage(MyGUI::WidgetPtr _sender) void MWGui::JournalWindow::notifyNextPage(MyGUI::WidgetPtr _sender)
{ {
std::cout << mPageNumber;
if(mPageNumber < int(leftPages.size())-1) if(mPageNumber < int(leftPages.size())-1)
{ {
mPageNumber = mPageNumber + 1; mPageNumber = mPageNumber + 1;
@ -184,7 +181,6 @@ void MWGui::JournalWindow::notifyNextPage(MyGUI::WidgetPtr _sender)
void MWGui::JournalWindow::notifyPrevPage(MyGUI::WidgetPtr _sender) void MWGui::JournalWindow::notifyPrevPage(MyGUI::WidgetPtr _sender)
{ {
std::cout << mPageNumber;
if(mPageNumber > 0) if(mPageNumber > 0)
{ {
mPageNumber = mPageNumber - 1; mPageNumber = mPageNumber - 1;