#ifndef _DNAMP1_DEBRIS_HPP_ #define _DNAMP1_DEBRIS_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace Retro { namespace DNAMP1 { struct Debris : IScriptObject { DECL_YAML String<-1> name; Value location; Value orientation; Value scale; Value unknown1; Value unknown2; Value unknown3; // CColor Value unknown4; Value unknown5; Value unknown6; Value unknown7; Value unknown8; UniqueID32 model; ActorParameters actorParameters; UniqueID32 particle; Value unknown9; Value unknown10; Value unknown11; void nameIDs(PAKRouter& pakRouter) const { if (model) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(model); ent->name = name + "_model"; } if (particle) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle); ent->name = name + "_part"; } actorParameters.nameIDs(pakRouter, name + "_actp"); } }; } } #endif