1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00
OpenMW/apps/opencs/view/world/creator.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
502 B
C++
Raw Normal View History

#include "creator.hpp"
2022-10-19 19:02:00 +02:00
#include <apps/opencs/model/world/scope.hpp>
#include <apps/opencs/model/world/universalid.hpp>
2022-10-09 10:39:43 +00:00
2014-08-07 09:32:49 +02:00
#include <stdexcept>
2022-10-19 19:02:00 +02:00
namespace CSMDoc
{
class Document;
}
2014-08-07 09:32:49 +02:00
void CSVWorld::Creator::setScope(unsigned int scope)
{
if (scope != CSMWorld::Scope_Content)
throw std::logic_error("Invalid scope in creator");
}
CSVWorld::Creator* CSVWorld::NullCreatorFactory::makeCreator(
CSMDoc::Document& document, const CSMWorld::UniversalId& id) const
{
2020-11-13 11:39:47 +04:00
return nullptr;
2015-03-11 10:54:45 -04:00
}