1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwdialogue/journal.cpp
2011-04-04 11:23:15 +02:00

27 lines
574 B
C++

#include "journal.hpp"
#include <iostream>
namespace MWDialogue
{
Journal::Journal (MWWorld::Environment& environment)
: mEnvironment (environment)
{}
void Journal::addEntry (const std::string& id, int index)
{
std::cout << "journal: " << id << " at " << index << std::endl;
}
void Journal::setJournalIndex (const std::string& id, int index)
{
std::cout << "journal (no entry): " << id << " at " << index << std::endl;
}
int Journal::getJournalIndex (const std::string& id) const
{
return 0;
}
}