mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
18 lines
336 B
C++
18 lines
336 B
C++
|
#include "loadligh.hpp"
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
|
||
|
void Light::load(ESMReader &esm)
|
||
|
{
|
||
|
model = esm.getHNString("MODL");
|
||
|
name = esm.getHNOString("FNAM");
|
||
|
icon = esm.getHNOString("ITEX");
|
||
|
assert(sizeof(data) == 24);
|
||
|
esm.getHNT(data, "LHDT", 24);
|
||
|
script = esm.getHNOString("SCRI");
|
||
|
sound = esm.getHNOString("SNAM");
|
||
|
}
|
||
|
|
||
|
}
|