summaryrefslogtreecommitdiff
path: root/plugins/dumb/dumb-kode54/studio/include/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dumb/dumb-kode54/studio/include/options.h')
-rw-r--r--plugins/dumb/dumb-kode54/studio/include/options.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/dumb/dumb-kode54/studio/include/options.h b/plugins/dumb/dumb-kode54/studio/include/options.h
new file mode 100644
index 00000000..a62d48c5
--- /dev/null
+++ b/plugins/dumb/dumb-kode54/studio/include/options.h
@@ -0,0 +1,34 @@
+#ifndef INCLUDED_OPTIONS_H
+#define INCLUDED_OPTIONS_H
+
+
+typedef struct OPTIONS
+{
+ int gfx_w, gfx_h;
+}
+OPTIONS;
+
+
+OPTIONS opt;
+
+
+#ifdef ALLEGRO_DOS
+
+#define DEF_GFX_W 320
+#define DEF_GFX_H 200
+#define DEF_GFX_STR "320x200"
+
+#else
+
+#define DEF_GFX_W 640
+#define DEF_GFX_H 480
+#define DEF_GFX_STR "640x480"
+
+#endif
+
+
+void load_options(void);
+void save_options(void);
+
+
+#endif /* INCLUDED_OPTIONS_H */