src/ldtypes.h

changeset 185
6fea53f1ffc2
parent 183
f1b8cb53d2a2
child 188
4e686b771996
--- a/src/ldtypes.h	Wed May 08 15:30:19 2013 +0300
+++ b/src/ldtypes.h	Thu May 09 02:28:39 2013 +0300
@@ -84,7 +84,7 @@
 	short dColor;
 	
 	// OpenGL list for this object
-	uint uGLList, uGLPickList;
+	uint glLists[3];
 	
 	// Vertices of this object
 	vertex vaCoords[4];
@@ -140,9 +140,12 @@
 	
 	bool hidden () const { return m_hidden; }
 	void setHidden (const bool hidden) { m_hidden = hidden; }
+	bool selected () const { return m_selected; }
+	void setSelected (bool selected) { m_selected = selected; }
 
 private:
 	bool m_hidden;
+	bool m_selected;
 };
 
 // =============================================================================

mercurial