diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llmessage/llpartdata.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llpartdata.cpp | 14 |
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 | ||
234 | std::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 | ||
235 | BOOL LLPartSysData::isNullPS(const S32 block_num) | 249 | BOOL LLPartSysData::isNullPS(const S32 block_num) |
236 | { | 250 | { |