From ac729cf470b132f70d21d8d3c8ea1d4212aeb0c1 Mon Sep 17 00:00:00 2001 From: zuntum Date: Tue, 10 Jul 2001 09:48:47 +0000 Subject: 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. --- graphics/water/Makefile | 20 ++++++++++++++++++++ graphics/water/distinfo | 4 ++++ graphics/water/pkg/DESCR | 9 +++++++++ graphics/water/pkg/PLIST | 4 ++++ 4 files changed, 37 insertions(+) create mode 100644 graphics/water/Makefile create mode 100644 graphics/water/distinfo create mode 100644 graphics/water/pkg/DESCR create mode 100644 graphics/water/pkg/PLIST (limited to 'graphics/water') 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 -- cgit v1.2.3