2015-07-07 12:37:42 +00:00
|
|
|
#include "util.hpp"
|
|
|
|
|
2015-07-07 16:18:42 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
2015-07-07 12:37:42 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
bool readDeleSubRecord(ESMReader &esm)
|
|
|
|
{
|
|
|
|
if (esm.isNextSub("DELE"))
|
|
|
|
{
|
|
|
|
esm.skipHSub();
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void writeDeleSubRecord(ESMWriter &esm)
|
|
|
|
{
|
2015-07-07 16:18:42 +00:00
|
|
|
esm.writeHNT("DELE", static_cast<int32_t>(0));
|
2015-07-07 12:37:42 +00:00
|
|
|
}
|
2015-07-08 18:24:05 +00:00
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<StartScript>(const StartScript &script)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Race>(const Race &race)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<GameSetting>(const GameSetting &gmst)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2015-07-13 07:40:11 +00:00
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Skill>(const Skill &skill)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<MagicEffect>(const MagicEffect &mgef)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Pathgrid>(const Pathgrid &pgrd)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Land>(const Land &land)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<DebugProfile>(const DebugProfile &profile)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Filter>(const Filter &filter)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2015-07-07 12:37:42 +00:00
|
|
|
}
|