aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/griffon/config.h')
-rw-r--r--engines/griffon/config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/engines/griffon/config.h b/engines/griffon/config.h
new file mode 100644
index 0000000000..f0af9b9ce4
--- /dev/null
+++ b/engines/griffon/config.h
@@ -0,0 +1,40 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#ifndef _CONFIG_H_
+#define _CONFIG_H_
+
+typedef struct {
+ int scr_width;
+ int scr_height;
+ int scr_bpp;
+ int fullscreen;
+ int hwaccel;
+ int hwsurface;
+ int music;
+ int musicvol;
+ int effects;
+ int effectsvol;
+} CONFIG;
+
+extern CONFIG config;
+extern char config_ini[];
+
+void config_load(CONFIG *config);
+void config_save(CONFIG *config);
+
+#endif // _CONFIG_H_