Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
502 B
Raw Blame
#include "creator.hpp"

#include <apps/opencs/model/world/scope.hpp>
#include <apps/opencs/model/world/universalid.hpp>

#include <stdexcept>

namespace CSMDoc
{
    class Document;
}

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
{
    return nullptr;
}