From 163a66302667158daef63e4a88a32002a5c1831a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juha=20Vehvil=C3=A4inen?= Date: Sun, 22 Sep 2002 20:53:10 +0000 Subject: cleaned up compiler files (*.exp *.lib *.obj) from project / lightspeed-plugin svn path=/trunk/Framestein/; revision=136 --- Plugins/2colors.exp | Bin 627 -> 0 bytes Plugins/2colors.lib | Bin 2066 -> 0 bytes Plugins/2colors.obj | Bin 1133 -> 0 bytes Plugins/argument-passing.cpp | 4 ++-- Plugins/argument-passing.exp | Bin 662 -> 0 bytes Plugins/argument-passing.lib | Bin 2200 -> 0 bytes Plugins/argument-passing.obj | Bin 2854 -> 0 bytes Plugins/bend.dll | Bin 49152 -> 49152 bytes Plugins/bend.exp | Bin 697 -> 0 bytes Plugins/bend.lib | Bin 2110 -> 0 bytes Plugins/bend.obj | Bin 1726 -> 0 bytes Plugins/black.exp | Bin 700 -> 0 bytes Plugins/black.lib | Bin 2120 -> 0 bytes Plugins/black.obj | Bin 560 -> 0 bytes Plugins/colortv.exp | Bin 708 -> 0 bytes Plugins/colortv.lib | Bin 2146 -> 0 bytes Plugins/colortv.obj | Bin 864 -> 0 bytes Plugins/copy_vert.exp | Bin 583 -> 0 bytes Plugins/copy_vert.lib | Bin 1970 -> 0 bytes Plugins/copy_vert.obj | Bin 816 -> 0 bytes Plugins/fs2vf.exp | Bin 575 -> 0 bytes Plugins/fs2vf.lib | Bin 1932 -> 0 bytes Plugins/fs2vf.obj | Bin 1894 -> 0 bytes Plugins/gol.exp | Bin 567 -> 0 bytes Plugins/gol.lib | Bin 1908 -> 0 bytes Plugins/gol.obj | Bin 1917 -> 0 bytes Plugins/green.exp | Bin 619 -> 0 bytes Plugins/green.lib | Bin 2042 -> 0 bytes Plugins/green.obj | Bin 849 -> 0 bytes Plugins/hist.exp | Bin 614 -> 0 bytes Plugins/hist.lib | Bin 2032 -> 0 bytes Plugins/hist.obj | Bin 1986 -> 0 bytes Plugins/lightspeed.c | 17 +++++++++++++++++ Plugins/lightspeed.dll | Bin 0 -> 28672 bytes Plugins/makefile | 5 ++++- Plugins/makesliders.exp | Bin 599 -> 0 bytes Plugins/makesliders.lib | Bin 2004 -> 0 bytes Plugins/makesliders.obj | Bin 940 -> 0 bytes Plugins/noize.exp | Bin 700 -> 0 bytes Plugins/noize.lib | Bin 2120 -> 0 bytes Plugins/noize.obj | Bin 865 -> 0 bytes Plugins/plot.exp | Bin 614 -> 0 bytes Plugins/plot.lib | Bin 2032 -> 0 bytes Plugins/plot.obj | Bin 1011 -> 0 bytes Plugins/rgb.exp | Bin 567 -> 0 bytes Plugins/rgb.lib | Bin 1908 -> 0 bytes Plugins/rgb.obj | Bin 1180 -> 0 bytes Plugins/rgbcopy.exp | Bin 621 -> 0 bytes Plugins/rgbcopy.lib | Bin 2062 -> 0 bytes Plugins/rgbcopy.obj | Bin 1884 -> 0 bytes Plugins/rowca.exp | Bin 619 -> 0 bytes Plugins/rowca.lib | Bin 2042 -> 0 bytes Plugins/rowca.obj | Bin 61510 -> 0 bytes Plugins/setbits.exp | Bin 583 -> 0 bytes Plugins/setbits.lib | Bin 1956 -> 0 bytes Plugins/setbits.obj | Bin 514 -> 0 bytes Plugins/shuffle.exp | Bin 583 -> 0 bytes Plugins/shuffle.lib | Bin 1956 -> 0 bytes Plugins/shuffle.obj | Bin 1020 -> 0 bytes Plugins/sonogram.exp | Bin 630 -> 0 bytes Plugins/sonogram.lib | Bin 2080 -> 0 bytes Plugins/sonogram.obj | Bin 2306 -> 0 bytes Plugins/subtract.exp | Bin 630 -> 0 bytes Plugins/subtract.lib | Bin 2080 -> 0 bytes Plugins/subtract.obj | Bin 5262 -> 0 bytes Plugins/swap.exp | Bin 608 -> 0 bytes Plugins/swap.lib | Bin 2026 -> 0 bytes Plugins/swap.obj | Bin 1893 -> 0 bytes Plugins/tile.exp | Bin 608 -> 0 bytes Plugins/tile.lib | Bin 2026 -> 0 bytes Plugins/tile.obj | Bin 1312 -> 0 bytes Plugins/vf2fs.exp | Bin 575 -> 0 bytes Plugins/vf2fs.lib | Bin 1932 -> 0 bytes Plugins/vf2fs.obj | Bin 1894 -> 0 bytes Plugins/xbend.dll | Bin 36864 -> 36864 bytes Plugins/xbend.exp | Bin 700 -> 0 bytes Plugins/xbend.lib | Bin 2120 -> 0 bytes Plugins/xbend.obj | Bin 1832 -> 0 bytes Plugins/xshred.exp | Bin 570 -> 0 bytes Plugins/xshred.lib | Bin 1936 -> 0 bytes Plugins/xshred.obj | Bin 640 -> 0 bytes 81 files changed, 23 insertions(+), 3 deletions(-) delete mode 100644 Plugins/2colors.exp delete mode 100644 Plugins/2colors.lib delete mode 100644 Plugins/2colors.obj delete mode 100644 Plugins/argument-passing.exp delete mode 100644 Plugins/argument-passing.lib delete mode 100644 Plugins/argument-passing.obj delete mode 100644 Plugins/bend.exp delete mode 100644 Plugins/bend.lib delete mode 100644 Plugins/bend.obj delete mode 100644 Plugins/black.exp delete mode 100644 Plugins/black.lib delete mode 100644 Plugins/black.obj delete mode 100644 Plugins/colortv.exp delete mode 100644 Plugins/colortv.lib delete mode 100644 Plugins/colortv.obj delete mode 100644 Plugins/copy_vert.exp delete mode 100644 Plugins/copy_vert.lib delete mode 100644 Plugins/copy_vert.obj delete mode 100644 Plugins/fs2vf.exp delete mode 100644 Plugins/fs2vf.lib delete mode 100644 Plugins/fs2vf.obj delete mode 100644 Plugins/gol.exp delete mode 100644 Plugins/gol.lib delete mode 100644 Plugins/gol.obj delete mode 100644 Plugins/green.exp delete mode 100644 Plugins/green.lib delete mode 100644 Plugins/green.obj delete mode 100644 Plugins/hist.exp delete mode 100644 Plugins/hist.lib delete mode 100644 Plugins/hist.obj create mode 100644 Plugins/lightspeed.c create mode 100644 Plugins/lightspeed.dll delete mode 100644 Plugins/makesliders.exp delete mode 100644 Plugins/makesliders.lib delete mode 100644 Plugins/makesliders.obj delete mode 100644 Plugins/noize.exp delete mode 100644 Plugins/noize.lib delete mode 100644 Plugins/noize.obj delete mode 100644 Plugins/plot.exp delete mode 100644 Plugins/plot.lib delete mode 100644 Plugins/plot.obj delete mode 100644 Plugins/rgb.exp delete mode 100644 Plugins/rgb.lib delete mode 100644 Plugins/rgb.obj delete mode 100644 Plugins/rgbcopy.exp delete mode 100644 Plugins/rgbcopy.lib delete mode 100644 Plugins/rgbcopy.obj delete mode 100644 Plugins/rowca.exp delete mode 100644 Plugins/rowca.lib delete mode 100644 Plugins/rowca.obj delete mode 100644 Plugins/setbits.exp delete mode 100644 Plugins/setbits.lib delete mode 100644 Plugins/setbits.obj delete mode 100644 Plugins/shuffle.exp delete mode 100644 Plugins/shuffle.lib delete mode 100644 Plugins/shuffle.obj delete mode 100644 Plugins/sonogram.exp delete mode 100644 Plugins/sonogram.lib delete mode 100644 Plugins/sonogram.obj delete mode 100644 Plugins/subtract.exp delete mode 100644 Plugins/subtract.lib delete mode 100644 Plugins/subtract.obj delete mode 100644 Plugins/swap.exp delete mode 100644 Plugins/swap.lib delete mode 100644 Plugins/swap.obj delete mode 100644 Plugins/tile.exp delete mode 100644 Plugins/tile.lib delete mode 100644 Plugins/tile.obj delete mode 100644 Plugins/vf2fs.exp delete mode 100644 Plugins/vf2fs.lib delete mode 100644 Plugins/vf2fs.obj delete mode 100644 Plugins/xbend.exp delete mode 100644 Plugins/xbend.lib delete mode 100644 Plugins/xbend.obj delete mode 100644 Plugins/xshred.exp delete mode 100644 Plugins/xshred.lib delete mode 100644 Plugins/xshred.obj (limited to 'Plugins') diff --git a/Plugins/2colors.exp b/Plugins/2colors.exp deleted file mode 100644 index a0e870b..0000000 Binary files a/Plugins/2colors.exp and /dev/null differ diff --git a/Plugins/2colors.lib b/Plugins/2colors.lib deleted file mode 100644 index 38cf84a..0000000 Binary files a/Plugins/2colors.lib and /dev/null differ diff --git a/Plugins/2colors.obj b/Plugins/2colors.obj deleted file mode 100644 index 2013b69..0000000 Binary files a/Plugins/2colors.obj and /dev/null differ diff --git a/Plugins/argument-passing.cpp b/Plugins/argument-passing.cpp index 71ec33c..d89e8c1 100644 --- a/Plugins/argument-passing.cpp +++ b/Plugins/argument-passing.cpp @@ -1,5 +1,5 @@ // -// example of passing arguments to plugin using the arguments-class (defined in pixels.h) +// example of parsing arguments in a plugin using the arguments-class (defined in pixels.h) // #include "pixels.h" @@ -10,7 +10,7 @@ void perform_effect(_frame f, _args a) // // ar.count() return the number of arguments - // ar[i] return i'th argument + // ar[i] return i'th argument, starting from zero // for(int i=0; i +#include "plugin.h" + +void perform_effect(_frame f, _args a) +{ + int pos, y, pixelsize=f.pixelformat/8; + + if(!a.s) pos = f.height / 2; + else pos = atoi(a.s); + + if(pos<=0 || pos>=f.height) pos = f.height / 2; + + for(y=pos; y>=0; y--) + { + memcpy(scanline(f, y), scanline(f, y+1), pixelsize*f.width); + } +} diff --git a/Plugins/lightspeed.dll b/Plugins/lightspeed.dll new file mode 100644 index 0000000..1a76fa2 Binary files /dev/null and b/Plugins/lightspeed.dll differ diff --git a/Plugins/makefile b/Plugins/makefile index 928c4b7..dd1b028 100644 --- a/Plugins/makefile +++ b/Plugins/makefile @@ -5,7 +5,7 @@ all: noize colortv subtract xbend bend gol shuffle green \ multiply overlay screen shadowcaster softlight \ rgbseek modgain traffic constrain eclipse eclipse02 eclipse03 \ cga keyscreen rene cutout fromage rgbavg rgbavg02 \ - rowca argument-passing + rowca argument-passing lightspeed dir *.dll @@ -188,3 +188,6 @@ rowca: argument-passing: cl argument-passing.cpp $(FLAGS) /GX /link $(EFFECT) + +lightspeed: + cl lightspeed.c $(FLAGS) /link $(EFFECT) diff --git a/Plugins/makesliders.exp b/Plugins/makesliders.exp deleted file mode 100644 index 307b3d6..0000000 Binary files a/Plugins/makesliders.exp and /dev/null differ diff --git a/Plugins/makesliders.lib b/Plugins/makesliders.lib deleted file mode 100644 index 40bd42c..0000000 Binary files a/Plugins/makesliders.lib and /dev/null differ diff --git a/Plugins/makesliders.obj b/Plugins/makesliders.obj deleted file mode 100644 index c7326db..0000000 Binary files a/Plugins/makesliders.obj and /dev/null differ diff --git a/Plugins/noize.exp b/Plugins/noize.exp deleted file mode 100644 index 489c203..0000000 Binary files a/Plugins/noize.exp and /dev/null differ diff --git a/Plugins/noize.lib b/Plugins/noize.lib deleted file mode 100644 index cbdfba5..0000000 Binary files a/Plugins/noize.lib and /dev/null differ diff --git a/Plugins/noize.obj b/Plugins/noize.obj deleted file mode 100644 index 302298a..0000000 Binary files a/Plugins/noize.obj and /dev/null differ diff --git a/Plugins/plot.exp b/Plugins/plot.exp deleted file mode 100644 index 1d5ce2f..0000000 Binary files a/Plugins/plot.exp and /dev/null differ diff --git a/Plugins/plot.lib b/Plugins/plot.lib deleted file mode 100644 index afdc085..0000000 Binary files a/Plugins/plot.lib and /dev/null differ diff --git a/Plugins/plot.obj b/Plugins/plot.obj deleted file mode 100644 index c48c30f..0000000 Binary files a/Plugins/plot.obj and /dev/null differ diff --git a/Plugins/rgb.exp b/Plugins/rgb.exp deleted file mode 100644 index cc7feab..0000000 Binary files a/Plugins/rgb.exp and /dev/null differ diff --git a/Plugins/rgb.lib b/Plugins/rgb.lib deleted file mode 100644 index 8e364a1..0000000 Binary files a/Plugins/rgb.lib and /dev/null differ diff --git a/Plugins/rgb.obj b/Plugins/rgb.obj deleted file mode 100644 index 69b7892..0000000 Binary files a/Plugins/rgb.obj and /dev/null differ diff --git a/Plugins/rgbcopy.exp b/Plugins/rgbcopy.exp deleted file mode 100644 index b85e71e..0000000 Binary files a/Plugins/rgbcopy.exp and /dev/null differ diff --git a/Plugins/rgbcopy.lib b/Plugins/rgbcopy.lib deleted file mode 100644 index 09edbd5..0000000 Binary files a/Plugins/rgbcopy.lib and /dev/null differ diff --git a/Plugins/rgbcopy.obj b/Plugins/rgbcopy.obj deleted file mode 100644 index 5d7194c..0000000 Binary files a/Plugins/rgbcopy.obj and /dev/null differ diff --git a/Plugins/rowca.exp b/Plugins/rowca.exp deleted file mode 100644 index 9fcaa42..0000000 Binary files a/Plugins/rowca.exp and /dev/null differ diff --git a/Plugins/rowca.lib b/Plugins/rowca.lib deleted file mode 100644 index ce2557f..0000000 Binary files a/Plugins/rowca.lib and /dev/null differ diff --git a/Plugins/rowca.obj b/Plugins/rowca.obj deleted file mode 100644 index 5ce3a87..0000000 Binary files a/Plugins/rowca.obj and /dev/null differ diff --git a/Plugins/setbits.exp b/Plugins/setbits.exp deleted file mode 100644 index 484fe3b..0000000 Binary files a/Plugins/setbits.exp and /dev/null differ diff --git a/Plugins/setbits.lib b/Plugins/setbits.lib deleted file mode 100644 index 1e1db08..0000000 Binary files a/Plugins/setbits.lib and /dev/null differ diff --git a/Plugins/setbits.obj b/Plugins/setbits.obj deleted file mode 100644 index 09a9196..0000000 Binary files a/Plugins/setbits.obj and /dev/null differ diff --git a/Plugins/shuffle.exp b/Plugins/shuffle.exp deleted file mode 100644 index 2802b94..0000000 Binary files a/Plugins/shuffle.exp and /dev/null differ diff --git a/Plugins/shuffle.lib b/Plugins/shuffle.lib deleted file mode 100644 index d1bc16f..0000000 Binary files a/Plugins/shuffle.lib and /dev/null differ diff --git a/Plugins/shuffle.obj b/Plugins/shuffle.obj deleted file mode 100644 index 5c70ab2..0000000 Binary files a/Plugins/shuffle.obj and /dev/null differ diff --git a/Plugins/sonogram.exp b/Plugins/sonogram.exp deleted file mode 100644 index 40a6fae..0000000 Binary files a/Plugins/sonogram.exp and /dev/null differ diff --git a/Plugins/sonogram.lib b/Plugins/sonogram.lib deleted file mode 100644 index 484c38d..0000000 Binary files a/Plugins/sonogram.lib and /dev/null differ diff --git a/Plugins/sonogram.obj b/Plugins/sonogram.obj deleted file mode 100644 index 7dd6ee5..0000000 Binary files a/Plugins/sonogram.obj and /dev/null differ diff --git a/Plugins/subtract.exp b/Plugins/subtract.exp deleted file mode 100644 index 0c88e2c..0000000 Binary files a/Plugins/subtract.exp and /dev/null differ diff --git a/Plugins/subtract.lib b/Plugins/subtract.lib deleted file mode 100644 index ad174a2..0000000 Binary files a/Plugins/subtract.lib and /dev/null differ diff --git a/Plugins/subtract.obj b/Plugins/subtract.obj deleted file mode 100644 index bb9e9fa..0000000 Binary files a/Plugins/subtract.obj and /dev/null differ diff --git a/Plugins/swap.exp b/Plugins/swap.exp deleted file mode 100644 index 8015b40..0000000 Binary files a/Plugins/swap.exp and /dev/null differ diff --git a/Plugins/swap.lib b/Plugins/swap.lib deleted file mode 100644 index bda1a31..0000000 Binary files a/Plugins/swap.lib and /dev/null differ diff --git a/Plugins/swap.obj b/Plugins/swap.obj deleted file mode 100644 index cca03a8..0000000 Binary files a/Plugins/swap.obj and /dev/null differ diff --git a/Plugins/tile.exp b/Plugins/tile.exp deleted file mode 100644 index 69d5907..0000000 Binary files a/Plugins/tile.exp and /dev/null differ diff --git a/Plugins/tile.lib b/Plugins/tile.lib deleted file mode 100644 index 1f0732e..0000000 Binary files a/Plugins/tile.lib and /dev/null differ diff --git a/Plugins/tile.obj b/Plugins/tile.obj deleted file mode 100644 index 8409075..0000000 Binary files a/Plugins/tile.obj and /dev/null differ diff --git a/Plugins/vf2fs.exp b/Plugins/vf2fs.exp deleted file mode 100644 index c9ce25b..0000000 Binary files a/Plugins/vf2fs.exp and /dev/null differ diff --git a/Plugins/vf2fs.lib b/Plugins/vf2fs.lib deleted file mode 100644 index 0c52583..0000000 Binary files a/Plugins/vf2fs.lib and /dev/null differ diff --git a/Plugins/vf2fs.obj b/Plugins/vf2fs.obj deleted file mode 100644 index 4c0a7bd..0000000 Binary files a/Plugins/vf2fs.obj and /dev/null differ diff --git a/Plugins/xbend.dll b/Plugins/xbend.dll index fb6f033..a482dfa 100644 Binary files a/Plugins/xbend.dll and b/Plugins/xbend.dll differ diff --git a/Plugins/xbend.exp b/Plugins/xbend.exp deleted file mode 100644 index 99b93f3..0000000 Binary files a/Plugins/xbend.exp and /dev/null differ diff --git a/Plugins/xbend.lib b/Plugins/xbend.lib deleted file mode 100644 index b54972e..0000000 Binary files a/Plugins/xbend.lib and /dev/null differ diff --git a/Plugins/xbend.obj b/Plugins/xbend.obj deleted file mode 100644 index 4854676..0000000 Binary files a/Plugins/xbend.obj and /dev/null differ diff --git a/Plugins/xshred.exp b/Plugins/xshred.exp deleted file mode 100644 index 881e90e..0000000 Binary files a/Plugins/xshred.exp and /dev/null differ diff --git a/Plugins/xshred.lib b/Plugins/xshred.lib deleted file mode 100644 index c90c4df..0000000 Binary files a/Plugins/xshred.lib and /dev/null differ diff --git a/Plugins/xshred.obj b/Plugins/xshred.obj deleted file mode 100644 index 484ad30..0000000 Binary files a/Plugins/xshred.obj and /dev/null differ -- cgit v1.2.1