X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fxlyap.c;h=26dae592c499d87217cdfe71559c2c54d9e72c09;hp=350888d0c379a45f6e3fab3acb65c6bb7070f247;hb=df053bcb240bd8d82e3bebf48a9766a8728bca4b;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959 diff --git a/hacks/xlyap.c b/hacks/xlyap.c index 350888d0..26dae592 100644 --- a/hacks/xlyap.c +++ b/hacks/xlyap.c @@ -109,14 +109,22 @@ XrmOptionDescRec options [] = { #ifdef SIXTEEN_COLORS #define MAXPOINTS 128 +#ifdef BIGMEM #define MAXFRAMES 4 +#else +#define MAXFRAMES 2 +#endif #define MAXCOLOR 16 static int maxcolor=16, startcolor=0, color_offset=0, mincolindex=1; static int dwell=50, settle=25; static int width=128, height=128, xposition=128, yposition=128; #else #define MAXPOINTS 256 +#ifdef BIGMEM #define MAXFRAMES 8 +#else +#define MAXFRAMES 2 +#endif #define MAXCOLOR 256 static int maxcolor=256, startcolor=17, color_offset=96, mincolindex=33; static int dwell=100, settle=50;