diff options
Diffstat (limited to 'apps/plugins/xworld/sys.h')
-rw-r--r-- | apps/plugins/xworld/sys.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/plugins/xworld/sys.h b/apps/plugins/xworld/sys.h index f1920acf37..20c6e859c4 100644 --- a/apps/plugins/xworld/sys.h +++ b/apps/plugins/xworld/sys.h | |||
@@ -23,12 +23,20 @@ | |||
23 | #ifndef __XWORLD_SYS_H__ | 23 | #ifndef __XWORLD_SYS_H__ |
24 | #define __XWORLD_SYS_H__ | 24 | #define __XWORLD_SYS_H__ |
25 | 25 | ||
26 | #include "plugin.h" | ||
26 | #include "intern.h" | 27 | #include "intern.h" |
27 | 28 | ||
28 | #define SYS_NEGATIVE_COLOR | 29 | #if (PLUGIN_BUFFER_SIZE >= 0x80000 && defined(HAVE_LCD_COLOR) && LCD_DEPTH < 24) |
30 | #define SYS_MOTION_BLUR | ||
31 | /* must be odd */ | ||
32 | #define BLUR_FRAMES 3 | ||
33 | #else | ||
34 | #error lol | ||
35 | #endif | ||
36 | |||
29 | #define NUM_COLORS 16 | 37 | #define NUM_COLORS 16 |
30 | #define MAX_MUTEXES 16 | 38 | #define MAX_MUTEXES 16 |
31 | #define SETTINGS_FILE "settings.xfg" | 39 | #define SETTINGS_FILE "settings.zfg" /* change when backwards-compatibility is broken */ |
32 | #define CODE_X 80 | 40 | #define CODE_X 80 |
33 | #define CODE_Y 36 | 41 | #define CODE_Y 36 |
34 | 42 | ||
@@ -103,6 +111,7 @@ struct System { | |||
103 | bool sound_enabled; | 111 | bool sound_enabled; |
104 | int sound_bufsize; | 112 | int sound_bufsize; |
105 | bool zoom; | 113 | bool zoom; |
114 | bool blur; | ||
106 | } settings; | 115 | } settings; |
107 | }; | 116 | }; |
108 | 117 | ||