about summary refs log tree commit diff
path: root/src/game/editor/ed_editor.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 17:39:09 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 17:39:09 +0000
commit45a047ce478e31297eba35e2e3121b25cabeae12 (patch)
tree0cf3794fca8ec176b8b64604ac7f7104977c0e2a /src/game/editor/ed_editor.hpp
parentfaa13fe70371834c3e7e234875d32bb95d278c54 (diff)
downloadzcatch-45a047ce478e31297eba35e2e3121b25cabeae12.tar.gz
zcatch-45a047ce478e31297eba35e2e3121b25cabeae12.zip
fixed bug in text rendering. added option for detail layers
Diffstat (limited to 'src/game/editor/ed_editor.hpp')
-rw-r--r--src/game/editor/ed_editor.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.hpp b/src/game/editor/ed_editor.hpp
index b2bc7f26..e2fda9ef 100644
--- a/src/game/editor/ed_editor.hpp
+++ b/src/game/editor/ed_editor.hpp
@@ -134,6 +134,7 @@ public:
 		type_name = "(invalid)";
 		visible = true;
 		readonly = false;
+		flags = 0;
 	}
 	
 	virtual ~LAYER()
@@ -159,6 +160,7 @@ public:
 	
 	const char *type_name;
 	int type;
+	int flags;
 
 	bool readonly;
 	bool visible;
@@ -313,6 +315,7 @@ struct PROPERTY
 enum
 {
 	PROPTYPE_NULL=0,
+	PROPTYPE_BOOL,
 	PROPTYPE_INT_STEP,
 	PROPTYPE_INT_SCROLL,
 	PROPTYPE_COLOR,
@@ -345,6 +348,7 @@ public:
 		gui_active = true;
 		proof_borders = false;
 		
+		show_detail = true;
 		animate = false;
 		animate_start = 0;
 		animate_time = 0;
@@ -387,6 +391,7 @@ public:
 	float mouse_delta_wx;
 	float mouse_delta_wy;
 	
+	bool show_detail;
 	bool animate;
 	int64 animate_start;
 	float animate_time;