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-01-13 16:30:30 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 16:30:30 +0000
commite26b898b74405f7133778c2fae2609c986f040fc (patch)
tree05a5c8a4812fc53c37578176ba189200bea18ebf /src/game/editor/ed_editor.hpp
parent06671c4494a703f25275b130c458e1b6e97b1d07 (diff)
downloadzcatch-e26b898b74405f7133778c2fae2609c986f040fc.tar.gz
zcatch-e26b898b74405f7133778c2fae2609c986f040fc.zip
various fixes. continued on the editor
Diffstat (limited to 'src/game/editor/ed_editor.hpp')
-rw-r--r--src/game/editor/ed_editor.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/editor/ed_editor.hpp b/src/game/editor/ed_editor.hpp
index 15ba1dad..c75f037f 100644
--- a/src/game/editor/ed_editor.hpp
+++ b/src/game/editor/ed_editor.hpp
@@ -30,7 +30,7 @@ enum
 	MODE_IMAGES,
 	
 	DIALOG_NONE=0,
-	DIALOG_LOAD_IMAGE,
+	DIALOG_FILE,
 };
 
 typedef struct // as in file
@@ -342,7 +342,6 @@ public:
 		gui_active = true;
 		proof_borders = false;
 		
-		
 		animate = false;
 		animate_start = 0;
 		animate_time = 0;
@@ -352,6 +351,10 @@ public:
 		show_envelope_editor = 0;
 	}
 	
+	void do_file_dialog(const char *title, const char *button_text,
+		const char *basepath, const char *default_name,
+		void (*func)(const char *filename));
+	
 	void make_game_group(LAYERGROUP *group);
 	void make_game_layer(LAYER *layer);