ChangeLog

# ChangeLog for dev-games/mercator
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/mercator/ChangeLog,v 1.3 2008/04/15 21:39:32 tupone Exp $

15 Apr 2008; Tupone Alfredo
+files/mercator-0.2.5-gcc43.patch, mercator-0.2.5.ebuild:
Fix compilation for gcc-4.3 Bug #217626 by Peter Alfredsen

07 May 2007; Tupone Alfredo mercator-0.2.5.ebuild:
Added ~amd64 keyword

*mercator-0.2.5 (01 Feb 2007)

01 Feb 2007; +metadata.xml, +mercator-0.2.5.ebuild:
New ebuild. Fix partially bug #58213 by Boris Smus

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX mercator-0.2.5-gcc43.patch 981 RMD160 429490f7ccdc3cd5dfa7c6ea5652cfc116034224 SHA1 71ff103e8291c0a2fa70b1b27d6d5a150fced4c8 SHA256 999d252c693285f4cf86aa799faa0ec8b966476296d0a6562efe6f9744fcdf68
DIST mercator-0.2.5.tar.gz 376764 RMD160 7534a851f2eb546a1f1323a543a4cec08ab33673 SHA1 8275f44df892e4fa30b89f599b38e908a7400c20 SHA256 3b7de6d9028cf1ea2c9b3ee9d9dc13982a54e16d8c16871e81f2602c1fe16a53
EBUILD mercator-0.2.5.ebuild 995 RMD160 8de9b8fd96b93278dc6857fffa37b53a2ed71398 SHA1 3d862b5d3320fb65c76c12839532c51e94094640 SHA256 7ea7f2070e4516c20c6f28fc4763cd3630a1faf510b129eac8978fe927ec775a
MISC ChangeLog 637 RMD160 3da94d062bbb1da4ae5d295277298a360e443de0 SHA1 a876b46aaf10d71c9cdd30fe6216a64cf5b9c07e SHA256 c8176e7e3f8bda3ffbc7688c719e1c6d8ca8128fdfb3723f765fdb08b9494771
MISC metadata.xml 1123 RMD160 bd02b69a49c6cc8911b907d2e8aa549010307489 SHA1 6e1aa85ab0f8503c4e5984674902941eaea62fe4 SHA256 00ffac25f39f88ba62ba57b4a5e69539bc0dd74f35715fc6d144cab4c1fcce55
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIBSCeVrx5UrvSjscRAltKAJ0eIs6efdpzeUe11sB5XQn89VeQrwCgg7w5
GyIVI7T7mIh+Q9WTf4YUnOU=
=CZ5M
-----END PGP SIGNATURE-----

files

mercator-0.2.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/mercator/mercator-0.2.5.ebuild,v 1.3 2008/04/15 21:39:32 tupone Exp $

inherit eutils

DESCRIPTION="WorldForge library primarily aimed at terrain."
HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/mercator"
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
SLOT="0"

RDEPEND=">=dev-games/wfmath-0.3.2"
DEPEND="${REDEPEND}
dev-util/pkgconfig"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch
}

src_compile() {
econf || die "econf failed"
emake || die "make failed"
if use doc; then
emake docs || die "Making doc failed"
fi
}

src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog NEWS README TODO || die "Installing doc failed"
if use doc; then
dohtml doc/html/* || die "Installing html failed"
fi
}

metadata.xml




games

Mercator is primarily aimed at terrain for multiplayer online games and forms
one of the WorldForge core libraries. It is intended to be used as a terrain
library on the client, while a subset of features are useful on the server.

Mercator is designed in such a way that individual tiles can be generated
on-the-fly from a very small source data set. Each tile uses a fast
deterministic random number generation to ensure that identical results are
produced "anytime, anywhere". This enables transmission of terrain across low
bandwidth links as part of the standard data stream, or server side collision
detection with the same terrain that the player sees.

The use of tiles means that there is inherently a large degree of gross control
of the shape of the terrain. Finer control is implemented by allowing geometric
modifications - for example, a polygonal area might be flattened, or a crater
could be applied.