diff options
author | zuntum <zuntum> | 2001-07-10 09:48:47 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-07-10 09:48:47 +0000 |
commit | ac729cf470b132f70d21d8d3c8ea1d4212aeb0c1 (patch) | |
tree | c0705bf6fa1671781f629dcf957882b6cf96689a /graphics/water | |
parent | 42f1e7200a2e96ad01428baa73fc61c3caf96667 (diff) | |
download | pkgsrc-ac729cf470b132f70d21d8d3c8ea1d4212aeb0c1.tar.gz |
Initial import of water-1.0
This is a very cool water effect, written by Scott Scriven.
This code uses palette tricks to do the height mapping, and assumes an
image size of 320x200. This means that if you want to use your own images,
you'll need to create them as 320x200x8 images with a palette that ranges
from darker colors at entry 0 to lighter colors at palette entry 255.
I really like this demo, so be sure and read water.txt to see what keys
enable what effects and how it's all done.
Diffstat (limited to 'graphics/water')
-rw-r--r-- | graphics/water/Makefile | 20 | ||||
-rw-r--r-- | graphics/water/distinfo | 4 | ||||
-rw-r--r-- | graphics/water/pkg/DESCR | 9 | ||||
-rw-r--r-- | graphics/water/pkg/PLIST | 4 |
4 files changed, 37 insertions, 0 deletions
diff --git a/graphics/water/Makefile b/graphics/water/Makefile new file mode 100644 index 00000000000..6dab8329c3c --- /dev/null +++ b/graphics/water/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/10 09:48:47 zuntum Exp $ +# + +DISTNAME= water-1.0 +CATEGORIES= graphics +MASTER_SITES= http://www.libsdl.org/projects/water/src/ + +MAINTAINER= zuntum@netbsd.org +HOMEPAGE= http://www.libsdl.org/projects/water/ +COMMENT= Motion in a pool of water + +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/water + ${INSTALL_DATA} ${WRKSRC}/water320.bmp ${PREFIX}/share/water + +.include "../../devel/SDL/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/water/distinfo b/graphics/water/distinfo new file mode 100644 index 00000000000..23d323a5ca1 --- /dev/null +++ b/graphics/water/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/10 09:48:47 zuntum Exp $ + +SHA1 (water-1.0.tar.gz) = 67231ff42c603efa7ac443b4a053a195eadc5516 +Size (water-1.0.tar.gz) = 49455 bytes diff --git a/graphics/water/pkg/DESCR b/graphics/water/pkg/DESCR new file mode 100644 index 00000000000..5f482f1e42c --- /dev/null +++ b/graphics/water/pkg/DESCR @@ -0,0 +1,9 @@ +This is a very cool water effect, written by Scott Scriven. + +This code uses palette tricks to do the height mapping, and assumes an +image size of 320x200. This means that if you want to use your own images, +you'll need to create them as 320x200x8 images with a palette that ranges +from darker colors at entry 0 to lighter colors at palette entry 255. + +I really like this demo, so be sure and read water.txt to see what keys +enable what effects and how it's all done. diff --git a/graphics/water/pkg/PLIST b/graphics/water/pkg/PLIST new file mode 100644 index 00000000000..cadfc4a7350 --- /dev/null +++ b/graphics/water/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/10 09:48:47 zuntum Exp $ +bin/water +share/water/water320.bmp +@dirrm share/water |