diff options
author | Juha Vehviläinen <jusu@users.sourceforge.net> | 2002-12-30 22:14:47 +0000 |
---|---|---|
committer | Juha Vehviläinen <jusu@users.sourceforge.net> | 2002-12-30 22:14:47 +0000 |
commit | aa901783a0dc07f0dc08628d3ca091a9164b0629 (patch) | |
tree | 175410946332fe359c01f945dce6dd3a401e7747 /Plugins | |
parent | d80c69296266a6169c0164467b748f197e11d25b (diff) |
*** empty log message ***
svn path=/trunk/Framestein/; revision=312
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/2colors.cpp | 2 | ||||
-rw-r--r-- | Plugins/2colors.dll | bin | 28672 -> 36864 bytes | |||
-rw-r--r-- | Plugins/argument-passing.cpp | 8 | ||||
-rw-r--r-- | Plugins/argument-passing.dll | bin | 40960 -> 40960 bytes | |||
-rw-r--r-- | Plugins/black.c | 3 | ||||
-rw-r--r-- | Plugins/black.dll | bin | 28672 -> 36864 bytes | |||
-rw-r--r-- | Plugins/gol.c | 2 | ||||
-rw-r--r-- | Plugins/gol.dll | bin | 36864 -> 36864 bytes | |||
-rw-r--r-- | Plugins/green.cpp | 2 | ||||
-rw-r--r-- | Plugins/green.dll | bin | 28672 -> 36864 bytes | |||
-rw-r--r-- | Plugins/hist.cpp | 2 | ||||
-rw-r--r-- | Plugins/hist.dll | bin | 45056 -> 45056 bytes | |||
-rw-r--r-- | Plugins/makefile | 7 | ||||
-rw-r--r-- | Plugins/plugin.h | 4 | ||||
-rw-r--r-- | Plugins/rgb.c | 2 | ||||
-rw-r--r-- | Plugins/rgb.dll | bin | 36864 -> 36864 bytes | |||
-rw-r--r-- | Plugins/shuffle.c | 2 | ||||
-rw-r--r-- | Plugins/shuffle.dll | bin | 28672 -> 36864 bytes | |||
-rw-r--r-- | Plugins/sonogram.cpp | 3 | ||||
-rw-r--r-- | Plugins/sonogram.dll | bin | 45056 -> 49152 bytes | |||
-rw-r--r-- | Plugins/subtract.cpp | 2 | ||||
-rw-r--r-- | Plugins/subtract.dll | bin | 40960 -> 40960 bytes | |||
-rw-r--r-- | Plugins/tile.cpp | 2 | ||||
-rw-r--r-- | Plugins/tile.dll | bin | 28672 -> 36864 bytes |
24 files changed, 35 insertions, 6 deletions
diff --git a/Plugins/2colors.cpp b/Plugins/2colors.cpp index b76be62..e594c2b 100644 --- a/Plugins/2colors.cpp +++ b/Plugins/2colors.cpp @@ -19,3 +19,5 @@ void perform_effect(_frame f, _args a) p.next(); } } + +INFO("go black and white") diff --git a/Plugins/2colors.dll b/Plugins/2colors.dll Binary files differindex ba62b0f..fbb0e4d 100644 --- a/Plugins/2colors.dll +++ b/Plugins/2colors.dll diff --git a/Plugins/argument-passing.cpp b/Plugins/argument-passing.cpp index d89e8c1..0247b5f 100644 --- a/Plugins/argument-passing.cpp +++ b/Plugins/argument-passing.cpp @@ -1,9 +1,11 @@ +#include "plugin.h" +#include "pixels.h" + // -// example of parsing arguments in a plugin using the arguments-class (defined in pixels.h) +INFO("example of parsing arguments in a plugin using the arguments-class") +// (defined in pixels.h) // -#include "pixels.h" - void perform_effect(_frame f, _args a) { arguments ar(a.s); diff --git a/Plugins/argument-passing.dll b/Plugins/argument-passing.dll Binary files differindex dfa112e..d77a64b 100644 --- a/Plugins/argument-passing.dll +++ b/Plugins/argument-passing.dll diff --git a/Plugins/black.c b/Plugins/black.c index 3716767..dbb672f 100644 --- a/Plugins/black.c +++ b/Plugins/black.c @@ -1,6 +1,8 @@ #include <stdlib.h> #include "plugin.h" +INFO("total blackness") + void perform_effect(_frame f, _args a) { memset(f.bits, 0, f.height*f.lpitch); @@ -11,3 +13,4 @@ void perform_copy(_frame f1, _frame f2, _args a) memset(f1.bits, 0, f1.height*f1.lpitch); memset(f2.bits, 0, f2.height*f2.lpitch); } + diff --git a/Plugins/black.dll b/Plugins/black.dll Binary files differindex cb8b57a..474d5ef 100644 --- a/Plugins/black.dll +++ b/Plugins/black.dll diff --git a/Plugins/gol.c b/Plugins/gol.c index 3349df2..222a894 100644 --- a/Plugins/gol.c +++ b/Plugins/gol.c @@ -11,6 +11,8 @@ #define BORN 1 #define DYING 2 +INFO("Conway's Game Of Life") + int aroundme(_frame f, int x, int y) { pixel16 *p; diff --git a/Plugins/gol.dll b/Plugins/gol.dll Binary files differindex 611f227..26fe8e9 100644 --- a/Plugins/gol.dll +++ b/Plugins/gol.dll diff --git a/Plugins/green.cpp b/Plugins/green.cpp index c66e3e6..53f58e5 100644 --- a/Plugins/green.cpp +++ b/Plugins/green.cpp @@ -12,3 +12,5 @@ void perform_effect(_frame f, _args a) p.next(); } } + +INFO("go green") diff --git a/Plugins/green.dll b/Plugins/green.dll Binary files differindex 3dc1016..d1f42d6 100644 --- a/Plugins/green.dll +++ b/Plugins/green.dll diff --git a/Plugins/hist.cpp b/Plugins/hist.cpp index f525db1..84c6a6e 100644 --- a/Plugins/hist.cpp +++ b/Plugins/hist.cpp @@ -13,6 +13,8 @@ #include "plugin.h" #include "pixels.h" +INFO("helper for fs.hist") + void perform_effect(_frame f, _args a) { if(!a.s) return; diff --git a/Plugins/hist.dll b/Plugins/hist.dll Binary files differindex 7c0bc44..30937b8 100644 --- a/Plugins/hist.dll +++ b/Plugins/hist.dll diff --git a/Plugins/makefile b/Plugins/makefile index dd1b028..f4e6b6c 100644 --- a/Plugins/makefile +++ b/Plugins/makefile @@ -15,9 +15,10 @@ all: noize colortv subtract xbend bend gol shuffle green \ FLAGS = /LD /Gd /GD /Ox -EFFECT = /export:perform_effect -COPY = /export:perform_copy -BOTH = /export:perform_effect /export:perform_copy +# does this suck or what? how to do it better? +EFFECT = /export:info /export:perform_effect +COPY = /export:info /export:perform_copy +BOTH = /export:info /export:perform_effect /export:perform_copy noize: cl noize.c $(FLAGS) /link $(BOTH) diff --git a/Plugins/plugin.h b/Plugins/plugin.h index 00281e5..69ed298 100644 --- a/Plugins/plugin.h +++ b/Plugins/plugin.h @@ -133,4 +133,8 @@ __inline byte klamp601(long in) return(out); } +// use this to easily describe your plugins: + +#define INFO(x) void info(char *s) { sprintf(s, x); } + #endif // #ifndef _PLUGINH diff --git a/Plugins/rgb.c b/Plugins/rgb.c index d58f784..ebe9c38 100644 --- a/Plugins/rgb.c +++ b/Plugins/rgb.c @@ -1,6 +1,8 @@ #include <string.h> #include "plugin.h" +INFO("helper for fs.rgb") + void perform_effect(_frame f, _args a) { char *t; diff --git a/Plugins/rgb.dll b/Plugins/rgb.dll Binary files differindex ba7dfd2..76e18b7 100644 --- a/Plugins/rgb.dll +++ b/Plugins/rgb.dll diff --git a/Plugins/shuffle.c b/Plugins/shuffle.c index 0604595..e4254fa 100644 --- a/Plugins/shuffle.c +++ b/Plugins/shuffle.c @@ -1,6 +1,8 @@ #include <string.h> #include "plugin.h" +INFO("randomly move around pixels") + void perform_effect(_frame f, _args a) { int i, o=1000, x1, y1, x2, y2, range=10; diff --git a/Plugins/shuffle.dll b/Plugins/shuffle.dll Binary files differindex bd5d552..d46d5aa 100644 --- a/Plugins/shuffle.dll +++ b/Plugins/shuffle.dll diff --git a/Plugins/sonogram.cpp b/Plugins/sonogram.cpp index 821b94a..68c86fe 100644 --- a/Plugins/sonogram.cpp +++ b/Plugins/sonogram.cpp @@ -18,6 +18,8 @@ #define SONOMAXVAL 500 #define sonotype float +INFO("helper for fs.sonogram") + int callcount=-1; void perform_effect(_frame f, _args a) @@ -80,3 +82,4 @@ void perform_effect(_frame f, _args a) } } } + diff --git a/Plugins/sonogram.dll b/Plugins/sonogram.dll Binary files differindex db6e132..2615d14 100644 --- a/Plugins/sonogram.dll +++ b/Plugins/sonogram.dll diff --git a/Plugins/subtract.cpp b/Plugins/subtract.cpp index 3172513..a088146 100644 --- a/Plugins/subtract.cpp +++ b/Plugins/subtract.cpp @@ -13,6 +13,8 @@ #include "plugin.h" #include "pixels.h" +INFO("subtract color components"); + void perform_effect(_frame f, _args a) { arguments ar(a.s); diff --git a/Plugins/subtract.dll b/Plugins/subtract.dll Binary files differindex 65383b3..4bab85c 100644 --- a/Plugins/subtract.dll +++ b/Plugins/subtract.dll diff --git a/Plugins/tile.cpp b/Plugins/tile.cpp index 47fa5ca..dd584af 100644 --- a/Plugins/tile.cpp +++ b/Plugins/tile.cpp @@ -3,6 +3,8 @@ #include "plugin.h" #include "pixels.h" +INFO("duplicate image to multiple rows and columns") + void perform_copy(_frame f1, _frame f2, _args a) { pixels px(f2); diff --git a/Plugins/tile.dll b/Plugins/tile.dll Binary files differindex 58a8886..7d7e565 100644 --- a/Plugins/tile.dll +++ b/Plugins/tile.dll |