#ifndef _DNAMP1_EFFECT_HPP_ #define _DNAMP1_EFFECT_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace Retro { namespace DNAMP1 { struct Effect : IScriptObject { DECL_YAML String<-1> name; Value location; Value orientation; Value scale; UniqueID32 part; UniqueID32 elsc; Value unknown1; Value unknown2; Value unknown3; Value unknown4; Value unknown5; Value unknown6; Value unknown7; Value unknown8; Value unknown9; Value unknown10; Value unknown11; Value unknown12; Value unknown13; Value unknown14; Value unknown15; Value unknown16; Value unknown17; LightParameters lightParameters; void nameIDs(PAKRouter& pakRouter) const { if (part) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(part); ent->name = name + "_part"; } if (elsc) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(elsc); ent->name = name + "_elsc"; } } }; } } #endif