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++
#ifndef OPENMW_COMPONENTS_ESM3_ACTORIDCONVERTER_H
#define OPENMW_COMPONENTS_ESM3_ACTORIDCONVERTER_H
#include <map>
#include <vector>
#include "refnum.hpp"
namespace ESM
{
class ActorIdConverter
{
std::vector<std::pair<ESM::RefNum&, int>> mToConvert;
public:
std::map<int, ESM::RefNum> mMappings;
std::vector<int> mGraveyard;
void apply();
void convert(ESM::RefNum& refNum, int actorId);
};
}
#endif