Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 60 files changed
  • 0 comments
  • 1 contributor

Showing 60 changed files with 32 additions and 5 deletions. Show diff stats Hide diff stats

  1. 0  patches/{MilkDrop → }/Aderassi - Making time.fnp
  2. 0  patches/{MilkDrop → }/Aderrasi - Airs.fnp
  3. 0  patches/{MilkDrop → }/Aderrasi - Antidote (Aqualung Mix).fnp
  4. 0  patches/{MilkDrop → }/Aderrasi - Bow to gravity.fnp
  5. 0  patches/{MilkDrop → }/Aderrasi - Variants Of Eternity (Shaking mix).fnp
  6. 0  patches/{MilkDrop → }/Bmelgren & Krash - Rainbow Orb Peacock (Lonely Signal Gone Mad Mix).fnp
  7. 0  patches/{MilkDrop → }/EvilJim - Ice Drops.fnp
  8. 0  patches/{MilkDrop → }/Fvese - The Tunnel (Final Stage Mix).fnp
  9. 0  patches/{Interactive → }/Geiss & Werner - Tornado (Rain Dance MIDI RMX).fnp
  10. 0  patches/{MilkDrop → }/Geiss - Approach.fnp
  11. 0  patches/{MilkDrop → }/Geiss - Cruzin'.fnp
  12. 0  patches/{MilkDrop → }/Geiss - Eggs.fnp
  13. 0  patches/{MilkDrop → }/Geiss - Shift.fnp
  14. 0  patches/{MilkDrop → }/Geiss - The Fatty Lumpkin Sunkle Tweaker.fnp
  15. 0  patches/{MilkDrop → }/Geiss - Tornado.fnp
  16. 0  patches/{MilkDrop → }/Idiot & Rovastar - Altars Of Madness 2 (X42 Mix).fnp
  17. 0  patches/{MilkDrop → }/Illusion & Che - The Piper.fnp
  18. 0  patches/{MilkDrop → }/Illusion & Rovastar - Clouded Bottle.fnp
  19. 0  patches/{MilkDrop → }/Illusion & Unchained - Frozen Eye 1.fnp
  20. 0  patches/{VideoIn → }/Jeremie - conduirebourre.com.fnp
  21. 0  patches/{VideoIn → }/Krash - Digital Flame (Video remix).fnp
  22. 0  patches/{MilkDrop → }/Krash - Digital Flame.fnp
  23. 0  patches/{MilkDrop → }/Krash - Interwoven (Nightmare Weft Mix).fnp
  24. 0  patches/{VideoIn → }/Lekernel & Geiss - Shaking.fnp
  25. 0  patches/{Interactive → }/Lekernel & Krash - Boil off (DMX).fnp
  26. 0  patches/{VideoIn → }/Lekernel & Krash - Personal Shroomery.fnp
  27. 0  patches/{VideoIn → }/Lekernel & Rovastar & Fvese - Subconscious Objects.fnp
  28. 0  patches/{VideoIn → }/Lekernel & Rozzor & Aderassi - Video Cannon.fnp
  29. 0  patches/{VideoIn → }/Lekernel & fiShbRaiN - crazy face.fnp
  30. 0  patches/{VideoIn → }/Lekernel - Disc Explosion.fnp
  31. 0  patches/{Interactive → }/Lekernel - Drawing Board (DMX).fnp
  32. 0  patches/{VideoIn → }/Lekernel - Eerie Beri.fnp
  33. 0  patches/{Interactive → }/Lekernel - Falling (DMX).fnp
  34. 0  patches/{Simple → }/Lekernel - FullScreen Video-in Preview.fnp
  35. 0  patches/{Simple → }/Lekernel - Musique de telephone.fnp
  36. 0  patches/{VideoIn → }/Lekernel - Pulsating photography.fnp
  37. 0  patches/{VideoIn → }/Lekernel - Spiralling.fnp
  38. 16  patches/Lekernel - Starpainter.fnp
  39. 0  patches/{Simple → }/Lekernel - The psychedelic drunken boat.fnp
  40. 0  patches/{Custom → }/Lekernel - Vibrant Plasma Streams.fnp
  41. 0  patches/{Custom → }/Philpraxis - Eight bit starfield.fnp
  42. 0  patches/{MilkDrop → }/Rovastar & Fvese - Dark Subconscious.fnp
  43. 0  patches/{Interactive → }/Rovastar & Idiot24-7 - Balk Acid (DMX madness).fnp
  44. 0  patches/{MilkDrop → }/Rovastar & Idiot24-7 - Balk Acid.fnp
  45. 0  patches/{MilkDrop → }/Rovastar - A Million Miles from Earth.fnp
  46. 0  patches/{MilkDrop → }/Rovastar - Cosmic Echoes 2.fnp
  47. 0  patches/{MilkDrop → }/Rovastar - Explosive Minds.fnp
  48. 0  patches/{MilkDrop → }/Rovastar - Forgotten Moon.fnp
  49. 0  patches/{MilkDrop → }/Rovastar - Hallucinogenic Pyramids.fnp
  50. 0  patches/{MilkDrop → }/Rovastar - Torrid Tales.fnp
  51. 0  patches/{MilkDrop → }/Rozzor & Aderrasi - Canon (DMX out).fnp
  52. 0  patches/{MilkDrop → }/Telek - Slow Shift Matrix (bb4.5).fnp
  53. 0  patches/{MilkDrop → }/Unchained - A Matter Of Taste (Remix).fnp
  54. 0  patches/{MilkDrop → }/Zylot - The Inner Workings of my New Computer.fnp
  55. 0  patches/{VideoIn → }/bmelgren - Godhead (Video mix).fnp
  56. 0  patches/{MilkDrop → }/nil - Cid and Lucy.fnp
  57. BIN  patches/pleiades.jpg
  58. 3  src/gui/flash.c
  59. 16  src/patchpool.c
  60. 2  src/patchpool.h
0  patches/MilkDrop/Aderassi - Making time.fnp → patches/Aderassi - Making time.fnp
File renamed without changes
0  patches/MilkDrop/Aderrasi - Airs.fnp → patches/Aderrasi - Airs.fnp
File renamed without changes
0  ...s/MilkDrop/Aderrasi - Antidote (Aqualung Mix).fnp → patches/Aderrasi - Antidote (Aqualung Mix).fnp
File renamed without changes
0  patches/MilkDrop/Aderrasi - Bow to gravity.fnp → patches/Aderrasi - Bow to gravity.fnp
File renamed without changes
0  ...Aderrasi - Variants Of Eternity (Shaking mix).fnp → ...Aderrasi - Variants Of Eternity (Shaking mix).fnp
File renamed without changes
0  ...nbow Orb Peacock (Lonely Signal Gone Mad Mix).fnp → ...nbow Orb Peacock (Lonely Signal Gone Mad Mix).fnp
File renamed without changes
0  patches/MilkDrop/EvilJim - Ice Drops.fnp → patches/EvilJim - Ice Drops.fnp
File renamed without changes
0  ...MilkDrop/Fvese - The Tunnel (Final Stage Mix).fnp → patches/Fvese - The Tunnel (Final Stage Mix).fnp
File renamed without changes
0  ...eiss & Werner - Tornado (Rain Dance MIDI RMX).fnp → ...eiss & Werner - Tornado (Rain Dance MIDI RMX).fnp
File renamed without changes
0  patches/MilkDrop/Geiss - Approach.fnp → patches/Geiss - Approach.fnp
File renamed without changes
0  patches/MilkDrop/Geiss - Cruzin'.fnp → patches/Geiss - Cruzin'.fnp
File renamed without changes
0  patches/MilkDrop/Geiss - Eggs.fnp → patches/Geiss - Eggs.fnp
File renamed without changes
0  patches/MilkDrop/Geiss - Shift.fnp → patches/Geiss - Shift.fnp
File renamed without changes
0  ...Drop/Geiss - The Fatty Lumpkin Sunkle Tweaker.fnp → patches/Geiss - The Fatty Lumpkin Sunkle Tweaker.fnp
File renamed without changes
0  patches/MilkDrop/Geiss - Tornado.fnp → patches/Geiss - Tornado.fnp
File renamed without changes
0  ...ot & Rovastar - Altars Of Madness 2 (X42 Mix).fnp → ...ot & Rovastar - Altars Of Madness 2 (X42 Mix).fnp
File renamed without changes
0  patches/MilkDrop/Illusion & Che - The Piper.fnp → patches/Illusion & Che - The Piper.fnp
File renamed without changes
0  ...MilkDrop/Illusion & Rovastar - Clouded Bottle.fnp → patches/Illusion & Rovastar - Clouded Bottle.fnp
File renamed without changes
0  .../MilkDrop/Illusion & Unchained - Frozen Eye 1.fnp → patches/Illusion & Unchained - Frozen Eye 1.fnp
File renamed without changes
0  patches/VideoIn/Jeremie - conduirebourre.com.fnp → patches/Jeremie - conduirebourre.com.fnp
File renamed without changes
0  ...s/VideoIn/Krash - Digital Flame (Video remix).fnp → patches/Krash - Digital Flame (Video remix).fnp
File renamed without changes
0  patches/MilkDrop/Krash - Digital Flame.fnp → patches/Krash - Digital Flame.fnp
File renamed without changes
0  ...kDrop/Krash - Interwoven (Nightmare Weft Mix).fnp → patches/Krash - Interwoven (Nightmare Weft Mix).fnp
File renamed without changes
0  patches/VideoIn/Lekernel & Geiss - Shaking.fnp → patches/Lekernel & Geiss - Shaking.fnp
File renamed without changes
0  ...Interactive/Lekernel & Krash - Boil off (DMX).fnp → patches/Lekernel & Krash - Boil off (DMX).fnp
File renamed without changes
0  ...VideoIn/Lekernel & Krash - Personal Shroomery.fnp → patches/Lekernel & Krash - Personal Shroomery.fnp
File renamed without changes
0  ...nel & Rovastar & Fvese - Subconscious Objects.fnp → ...nel & Rovastar & Fvese - Subconscious Objects.fnp
File renamed without changes
0  ...n/Lekernel & Rozzor & Aderassi - Video Cannon.fnp → ...s/Lekernel & Rozzor & Aderassi - Video Cannon.fnp
File renamed without changes
0  ...hes/VideoIn/Lekernel & fiShbRaiN - crazy face.fnp → patches/Lekernel & fiShbRaiN - crazy face.fnp
File renamed without changes
0  patches/VideoIn/Lekernel - Disc Explosion.fnp → patches/Lekernel - Disc Explosion.fnp
File renamed without changes
0  ...es/Interactive/Lekernel - Drawing Board (DMX).fnp → patches/Lekernel - Drawing Board (DMX).fnp
File renamed without changes
0  patches/VideoIn/Lekernel - Eerie Beri.fnp → patches/Lekernel - Eerie Beri.fnp
File renamed without changes
0  patches/Interactive/Lekernel - Falling (DMX).fnp → patches/Lekernel - Falling (DMX).fnp
File renamed without changes
0  ...Simple/Lekernel - FullScreen Video-in Preview.fnp → patches/Lekernel - FullScreen Video-in Preview.fnp
File renamed without changes
0  patches/Simple/Lekernel - Musique de telephone.fnp → patches/Lekernel - Musique de telephone.fnp
File renamed without changes
0  patches/VideoIn/Lekernel - Pulsating photography.fnp → patches/Lekernel - Pulsating photography.fnp
File renamed without changes
0  patches/VideoIn/Lekernel - Spiralling.fnp → patches/Lekernel - Spiralling.fnp
File renamed without changes
16  patches/Lekernel - Starpainter.fnp
... ...
@@ -0,0 +1,16 @@
  1
+imagefile1=pleiades.jpg
  2
+imagefile2=pleiades.jpg
  3
+decay=0.97
  4
+image1_a=0.6
  5
+image2_a=0.6
  6
+per_frame=image1_zoom=0.8+0.2*sin(1.21*time)
  7
+per_frame=image2_zoom=0.8+0.2*sin(0.98*time)
  8
+sx=1.06
  9
+sy=1.06
  10
+per_frame=cx=0.5+0.1*sin(1.82*time)
  11
+per_frame=cy=0.5+0.1*sin(0.97*time)
  12
+per_frame=rot=0.05*sin(0.4*time)
  13
+per_frame=image1_x=0.5+0.5*sin(4.32*time)
  14
+per_frame=image1_y=0.5+0.5*cos(6.14*time)
  15
+per_frame=image2_x=0.5+0.5*sin(5.17*time)
  16
+per_frame=image2_y=0.5+0.5*cos(4.47*time)
0  ...imple/Lekernel - The psychedelic drunken boat.fnp → patches/Lekernel - The psychedelic drunken boat.fnp
File renamed without changes
0  patches/Custom/Lekernel - Vibrant Plasma Streams.fnp → patches/Lekernel - Vibrant Plasma Streams.fnp
File renamed without changes
0  patches/Custom/Philpraxis - Eight bit starfield.fnp → patches/Philpraxis - Eight bit starfield.fnp
File renamed without changes
0  ...MilkDrop/Rovastar & Fvese - Dark Subconscious.fnp → patches/Rovastar & Fvese - Dark Subconscious.fnp
File renamed without changes
0  ...ovastar & Idiot24-7 - Balk Acid (DMX madness).fnp → ...ovastar & Idiot24-7 - Balk Acid (DMX madness).fnp
File renamed without changes
0  ...hes/MilkDrop/Rovastar & Idiot24-7 - Balk Acid.fnp → patches/Rovastar & Idiot24-7 - Balk Acid.fnp
File renamed without changes
0  ...ilkDrop/Rovastar - A Million Miles from Earth.fnp → patches/Rovastar - A Million Miles from Earth.fnp
File renamed without changes
0  patches/MilkDrop/Rovastar - Cosmic Echoes 2.fnp → patches/Rovastar - Cosmic Echoes 2.fnp
File renamed without changes
0  patches/MilkDrop/Rovastar - Explosive Minds.fnp → patches/Rovastar - Explosive Minds.fnp
File renamed without changes
0  patches/MilkDrop/Rovastar - Forgotten Moon.fnp → patches/Rovastar - Forgotten Moon.fnp
File renamed without changes
0  ...s/MilkDrop/Rovastar - Hallucinogenic Pyramids.fnp → patches/Rovastar - Hallucinogenic Pyramids.fnp
File renamed without changes
0  patches/MilkDrop/Rovastar - Torrid Tales.fnp → patches/Rovastar - Torrid Tales.fnp
File renamed without changes
0  .../MilkDrop/Rozzor & Aderrasi - Canon (DMX out).fnp → patches/Rozzor & Aderrasi - Canon (DMX out).fnp
File renamed without changes
0  ...es/MilkDrop/Telek - Slow Shift Matrix (bb4.5).fnp → patches/Telek - Slow Shift Matrix (bb4.5).fnp
File renamed without changes
0  ...ilkDrop/Unchained - A Matter Of Taste (Remix).fnp → patches/Unchained - A Matter Of Taste (Remix).fnp
File renamed without changes
0  ...Zylot - The Inner Workings of my New Computer.fnp → ...Zylot - The Inner Workings of my New Computer.fnp
File renamed without changes
0  patches/VideoIn/bmelgren - Godhead (Video mix).fnp → patches/bmelgren - Godhead (Video mix).fnp
File renamed without changes
0  patches/MilkDrop/nil - Cid and Lucy.fnp → patches/nil - Cid and Lucy.fnp
File renamed without changes
BIN  patches/pleiades.jpg
3  src/gui/flash.c
@@ -341,6 +341,7 @@ static void get_versions(struct patchpool *local_patches, struct patchpool *remo
341 341
 {
342 342
 	char *b;
343 343
 	char *c;
  344
+	static const char *extensions[] = {"fnp", "png", "jpg", "jpeg", NULL};
344 345
 	
345 346
 	flash_progress = 0;
346 347
 	installed_patches = -1;
@@ -348,7 +349,7 @@ static void get_versions(struct patchpool *local_patches, struct patchpool *remo
348 349
 	available_application = unknown_version;
349 350
 	available_patches = -1;
350 351
 
351  
-	patchpool_add_files(local_patches, SIMPLE_PATCHES_FOLDER, "fnp");
  352
+	patchpool_add_files(local_patches, SIMPLE_PATCHES_FOLDER, extensions);
352 353
 	installed_patches = patchpool_count(local_patches);
353 354
 
354 355
 	flash_progress = 25;
16  src/patchpool.c
@@ -21,6 +21,7 @@
21 21
 #include <stdio.h>
22 22
 #include <stdlib.h>
23 23
 #include <string.h>
  24
+#include <strings.h>
24 25
 
25 26
 #include "patchpool.h"
26 27
 
@@ -118,13 +119,14 @@ void patchpool_add_multi(struct patchpool *pp, const char *entry)
118 119
 	}
119 120
 }
120 121
 
121  
-void patchpool_add_files(struct patchpool *pp, const char *folder, const char *extension)
  122
+void patchpool_add_files(struct patchpool *pp, const char *folder, const char **extensions)
122 123
 {
123 124
 	DIR *d;
124 125
 	struct dirent *entry;
125 126
 	struct stat s;
126 127
 	char fullname[384];
127 128
 	char *c;
  129
+	int i;
128 130
 	
129 131
 	d = opendir(folder);
130 132
 	if(!d) return;
@@ -135,8 +137,16 @@ void patchpool_add_files(struct patchpool *pp, const char *folder, const char *e
135 137
 		lstat(fullname, &s);
136 138
 		if(!S_ISDIR(s.st_mode)) {
137 139
 			c = strrchr(entry->d_name, '.');
138  
-			if((c != NULL) && (strcmp(extension, c+1) == 0))
139  
-				patchpool_add(pp, strdup(entry->d_name));
  140
+			if(c != NULL) {
  141
+				i = 0;
  142
+				while(extensions[i] != NULL) {
  143
+					if(strcasecmp(extensions[i], c+1) == 0) {
  144
+						patchpool_add(pp, strdup(entry->d_name));
  145
+						break;
  146
+					}
  147
+					i++;
  148
+				}
  149
+			}
140 150
 		}
141 151
 	}
142 152
 	closedir(d);
2  src/patchpool.h
@@ -32,6 +32,6 @@ int patchpool_count(struct patchpool *pp);
32 32
 void patchpool_diff(struct patchpool *pp, struct patchpool *to_delete);
33 33
 
34 34
 void patchpool_add_multi(struct patchpool *pp, const char *entry);
35  
-void patchpool_add_files(struct patchpool *pp, const char *folder, const char *extension);
  35
+void patchpool_add_files(struct patchpool *pp, const char *folder, const char **extensions);
36 36
 
37 37
 #endif /* __PATCHPOOL_H */

No commit comments for this range

Something went wrong with that request. Please try again.