#ifndef _DNAMP1_WATER_HPP_ #define _DNAMP1_WATER_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace Retro { namespace DNAMP1 { struct Water : IScriptObject { DECL_YAML String<-1> name; Value location; Value volume; DamageInfo damageInfo; Value unknown1; Value unknown2; Value unknown3; Value unknown4; UniqueID32 texture1; UniqueID32 texture2; UniqueID32 texture3; UniqueID32 texture4; UniqueID32 texture5; UniqueID32 texture6; Value unknown5; Value unknown6; Value unknown7; Value unknown8; Value unknown9; Value unknown10; Value unknown11; Value unknown12; struct FluidUVMotion : BigYAML { DECL_YAML 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; } fluidUVMotion; Value unknown13; Value unknown14; Value unknown15; Value unknown16; Value unknown17; Value unknown18; Value unknown19; Value unknown20; Value unknown21; Value unknown22; UniqueID32 particle1; UniqueID32 particle2; UniqueID32 particle3; UniqueID32 particle4; UniqueID32 particle5; Value soundID1; // needs verification Value soundID2; // needs verification Value soundID3; // needs verification Value soundID4; // needs verification Value soundID5; // needs verification Value unknown23; Value unknown24; Value unknown25; Value unknown26; Value unknown27; Value unknown28; Value unknown29; Value unknown30; Value unknown31; Value unknown32; Value unknown33; // CColor UniqueID32 texture34; Value unknown35; Value unknown36; Value unknown37; Value unknown38; Value unknown39; Value unknown40; void nameIDs(PAKRouter& pakRouter) const { if (texture1) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture1); ent->name = name + "_tex1"; } if (texture2) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture2); ent->name = name + "_tex2"; } if (texture3) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture3); ent->name = name + "_tex3"; } if (texture4) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture4); ent->name = name + "_tex4"; } if (texture5) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture5); ent->name = name + "_tex5"; } if (texture6) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture6); ent->name = name + "_tex6"; } if (texture34) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture34); ent->name = name + "_tex34"; } if (particle1) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle1); ent->name = name + "_part1"; } if (particle2) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle2); ent->name = name + "_part2"; } if (particle3) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle3); ent->name = name + "_part3"; } if (particle4) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle4); ent->name = name + "_part4"; } if (particle5) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle5); ent->name = name + "_part5"; } } }; } } #endif