aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llpartdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llpartdata.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llpartdata.cpp b/linden/indra/llmessage/llpartdata.cpp
index 11969d0..de0cb13 100644
--- a/linden/indra/llmessage/llpartdata.cpp
+++ b/linden/indra/llmessage/llpartdata.cpp
@@ -231,6 +231,20 @@ BOOL LLPartSysData::unpack(LLDataPacker &dp)
231 return TRUE; 231 return TRUE;
232} 232}
233 233
234std::ostream& operator<<(std::ostream& s, const LLPartSysData &data)
235{
236 s << "Flags: " << std::hex << data.mFlags;
237 s << " Pattern: " << std::hex << (U32) data.mPattern << "\n";
238 s << "Age: [" << data.mStartAge << ", " << data.mMaxAge << "]\n";
239 s << "Angle: [" << data.mInnerAngle << ", " << data.mOuterAngle << "]\n";
240 s << "Burst Rate: " << data.mBurstRate << "\n";
241 s << "Burst Radius: " << data.mBurstRadius << "\n";
242 s << "Burst Speed: [" << data.mBurstSpeedMin << ", " << data.mBurstSpeedMax << "]\n";
243 s << "Burst Part Count: " << std::hex << (U32) data.mBurstPartCount << "\n";
244 s << "Angular Velocity: " << data.mAngularVelocity << "\n";
245 s << "Accel: " << data.mPartAccel;
246 return s;
247}
234 248
235BOOL LLPartSysData::isNullPS(const S32 block_num) 249BOOL LLPartSysData::isNullPS(const S32 block_num)
236{ 250{