summaryrefslogtreecommitdiff
path: root/indra/newview/llvopartgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvopartgroup.h')
-rw-r--r--indra/newview/llvopartgroup.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/indra/newview/llvopartgroup.h b/indra/newview/llvopartgroup.h
new file mode 100644
index 0000000000..657d1824d0
--- /dev/null
+++ b/indra/newview/llvopartgroup.h
@@ -0,0 +1,42 @@
+/**
+ * @file llvopartgroup.h
+ * @brief Group of particle systems
+ *
+ * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLVOPARTGROUP_H
+#define LL_LLVOPARTGROUP_H
+
+#include "llviewerobject.h"
+#include "v3math.h"
+#include "v3color.h"
+#include "llframetimer.h"
+
+class LLViewerPartGroup;
+
+class LLVOPartGroup : public LLViewerObject
+{
+public:
+ LLVOPartGroup(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp);
+
+ ~LLVOPartGroup();
+
+ /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate.
+ BOOL idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time);
+
+ /*virtual*/ void setPixelAreaAndAngle(LLAgent &agent);
+ /*virtual*/ void updateTextures(LLAgent &agent);
+
+ /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline);
+ /*virtual*/ BOOL updateGeometry(LLDrawable *drawable);
+
+ void setViewerPartGroup(LLViewerPartGroup *part_groupp) { mViewerPartGroupp = part_groupp; }
+protected:
+ LLViewerPartGroup *mViewerPartGroupp;
+
+ LLColor4 mDebugColor;
+};
+
+#endif // LL_LLVOPARTGROUP_H