mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
90985e849e
Moving classes from components/misc into Misc namespace. Note: Misc namespace introduced conflict with ESM::Misc and MWClass::Misc classes, so both of them are renamed to ESM::Miscellaneous and MWClass::Miscellaneous. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
16 lines
274 B
C++
16 lines
274 B
C++
#include "loadmisc.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Miscellaneous::load(ESMReader &esm)
|
|
{
|
|
model = esm.getHNString("MODL");
|
|
name = esm.getHNOString("FNAM");
|
|
esm.getHNT(data, "MCDT", 12);
|
|
script = esm.getHNOString("SCRI");
|
|
icon = esm.getHNOString("ITEX");
|
|
}
|
|
|
|
}
|