about summary refs log tree commit diff
path: root/src/game/editor/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/editor/editor.h')
-rw-r--r--src/game/editor/editor.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/game/editor/editor.h b/src/game/editor/editor.h
index bdabd43f..2c94f3f2 100644
--- a/src/game/editor/editor.h
+++ b/src/game/editor/editor.h
@@ -529,6 +529,10 @@ public:
 
 		m_ShowEnvelopeEditor = 0;
 
+		m_ShowEnvelopePreview = 0;

+		m_SelectedQuadEnvelope = -1;

+		m_SelectedEnvelopeChannel = -1;
+
 		ms_CheckerTexture = 0;
 		ms_BackgroundTexture = 0;
 		ms_CursorTexture = 0;
@@ -646,13 +650,16 @@ public:
 	float m_AnimateSpeed;
 
 	int m_ShowEnvelopeEditor;
+	int m_ShowEnvelopePreview; //Values: 0-Off|1-Selected Envelope|2-All
 	bool m_ShowPicker;
 
 	int m_SelectedLayer;
 	int m_SelectedGroup;
 	int m_SelectedQuad;
 	int m_SelectedPoints;
-	int m_SelectedEnvelope;
+	int m_SelectedEnvelope;

+    int m_SelectedEnvelopeChannel;
+    int m_SelectedQuadEnvelope;
 	int m_SelectedImage;
 
 	static int ms_CheckerTexture;
@@ -721,7 +728,10 @@ public:
 
 	vec4 ButtonColorMul(const void *pID);
 
+	void DoQuadEnvelopes(CQuad *q, int Index, int texID = -1);

+	void DoQuadEnvPoint(CQuad *pQuad, int Index, int V);
 	void DoQuadPoint(CQuad *pQuad, int QuadIndex, int v);
+
 	void DoMapEditor(CUIRect View, CUIRect Toolbar);
 	void DoToolbar(CUIRect Toolbar);
 	void DoQuad(CQuad *pQuad, int Index);