From e26b898b74405f7133778c2fae2609c986f040fc Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 13 Jan 2008 16:30:30 +0000 Subject: various fixes. continued on the editor --- src/game/editor/ed_editor.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/game/editor/ed_editor.hpp') 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); -- cgit 1.4.1