summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'window.h')
-rw-r--r--window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/window.h b/window.h
index 8134e929c..ae99ddc93 100644
--- a/window.h
+++ b/window.h
@@ -304,6 +304,16 @@ typedef struct querystr_d {
} querystr_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(querystr_d));
+typedef struct query_d {
+ StringID caption;
+ StringID message;
+ WindowClass wnd_class;
+ WindowNumber wnd_num;
+ void (*ok_cancel_callback)(bool ok_clicked);
+ bool calledback;
+} query_d;
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
+
typedef struct {
byte item_count; /* follow_vehicle */
byte sel_index; /* scrollpos_x */