ChangeLog

# ChangeLog for dev-games/kyra
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/kyra/ChangeLog,v 1.10 2006/10/26 21:37:27 nyhm Exp $

26 Oct 2006; Tristan Heaven +files/kyra-2.0.7-sdl.patch,
kyra-2.0.7.ebuild:
Fix compile errors with recent SDL versions, bug #152628

27 Apr 2006; Marien Zwart files/digest-kyra-2.0.7,
Manifest:
Fixing SHA256 digest, pass four

04 Apr 2006; +files/kyra-2.0.7-gcc41.patch,
kyra-2.0.7.ebuild:
gcc-4.1 fix, bug #126601 by Matteo Azzali

24 Aug 2005; Olivier CrĂȘte kyra-2.0.7.ebuild:
Marked ~amd64, thanks to Erik Musick and Jim Laflin for testing

03 Jun 2004; Michael Sterrett kyra-2.0.7.ebuild:
fix typo in error checking; tidy

02 Jun 2004; Aron Griffis kyra-2.0.7.ebuild:
Fix use invocation

*kyra-2.0.7 (21 Oct 2003)

21 Oct 2003; Michael Sterrett kyra-2.0.7.ebuild:
version bump; add more doc support

*kyra-2.0.3 (1 Apr 2003)

22 Jan 2003; Philip Walls kyra-2.0.3.ebuild :
Initial ebuild; Thanks to Stijn Vander Maelen
for ebuild. Closes bug #14334

Manifest

AUX kyra-2.0.7-gcc41.patch 1625 RMD160 427622ba0a08623ca6b59d497dc3cda65f746cce SHA1 4e7df5958c92e8100a618becb32f782c5e80efb1 SHA256 a6e6da8256d051632f1659e74ca3822ce2b457309e8fadcccb0b633eb51f4819
AUX kyra-2.0.7-sdl.patch 467 RMD160 b9735ca6ac0bfed805bb575ed2438849040e2c3a SHA1 73bc37d7f8bea10c0b30988b7a1a3b5fc7b0533c SHA256 c27531b9db4acaca978b0c474bf9ee88d0ea618ab6daa1b3b94b30c4781beca4
DIST kyra_src_2_0_7.tar.gz 1994743 RMD160 e9e78a67d452cdc5082da5e16113f4ccd910c70b SHA1 09e02a072aa3db874593e65c0255842df3e379c4 SHA256 63502490ed5e0a0c1c7fb68410412ab498eb3b26898ec7ebdd328845bba114c6
EBUILD kyra-2.0.7.ebuild 865 RMD160 ee4bff3b125fa4692b91197fb87e5ceef3e921e0 SHA1 055b76c4d95f3c9a215eee9b340132f1d5d1103b SHA256 0e2fd988dd32308528d36cb3da01bc7026891ead8f2abf98d16bbc71ec90ca5f
MISC ChangeLog 1290 RMD160 674b7156c51b76d6d3297aeb5fb483d9db99eb32 SHA1 9fa8a300a65a7a15e9dbe43438e1bd122d525199 SHA256 9a9f1fc60f18f256921549cc3e00ba9bb8358e4beb5a28edac14cd6d8bbb95cf
MISC metadata.xml 2481 RMD160 09171f66958637e45994da3a50375877b59f9d62 SHA1 421d6b3e519d70201cf79da93d118f2e03061f0d SHA256 6e4d5c1d2524111ca002698be79bc8647a630602a0318ce3f66a8aa865194937

files

kyra-2.0.7.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/kyra/kyra-2.0.7.ebuild,v 1.12 2006/10/26 21:37:27 nyhm Exp $

inherit eutils

DESCRIPTION="Kyra Sprite Engine"
HOMEPAGE="http://www.grinninglizard.com/kyra/"
SRC_URI="mirror://sourceforge/kyra/kyra_src_${PV//./_}.tar.gz"

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

DEPEND="media-libs/libsdl
media-libs/sdl-image
opengl? ( virtual/opengl )"

S=${WORKDIR}/${PN}

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

src_compile() {
econf $(use_with opengl) || die
emake || die "emake failed"
}

src_install() {
einstall || die
dodoc AUTHORS ChangeLog NEWS README
dohtml docs/*
use doc && dohtml -r docs/api
}

metadata.xml




games

A Sprite Engine...
from a Slightly Different Point of View

Kyra is a simple, fully featured, industrial strength Sprite engine written in C++. It is built on
top of SDL and has been tested on Windows and Linux. It is provided free for open source projects
under the GPL and LGPL.

What is a Sprite Engine? A Sprite Engine is the drawing and rendering component of 2D and quasi-3D
games. Examples of this kind of game are Civilization, Donkey Kong (classic arcade), Pharaoh, Zeus,
Warcraft, Diablo, Frogger, and Pirates!, among many others. It is so called because the "characters"
or "little men" are referred to as "sprites".

Simple and Easy to Use. Kyra has a clean and simple C++ interface. Or at least as simple as an engine
can be. It comes with several examples to get you started, as well as full documentation for the API
and the tool chain.

Fully Featured. It is fully featured, supporting top-down, side, and isometric rendering. It supports
the 'Sprite' as its basic type, but also supports Tiles and user-drawn Canvases. It can draw to a
traditional bitmap surface, and supports OpenGL hardware acceleration.

Industrial Strength. Kyra has a complete tool chain including a sprite editor and encoder. It's fast
and capable, with specialized code for rendering and rectangle updates.

...From a Slightly Different Point of View. But Kyra does some things differently. It supports color
transformations and alpha blending (!). All objects in Kyra are inserted into a containment
hierarchy, and children are transformed by their parents. So a complex object can be moved simply by
changing the coordinates of the top level object, and color transformations and alpha transformations
work the same way. The alpha blending can be applied at a per-image or per-pixel level.

Objects can be scaled up or down when drawn, or scaling can be pre-cached. The screen can be split
into sub window views, and each view has its own object transformations.

Use as is. Kyra is currently working and ready for use. You can put it into your programs and start
using it now. It has been used enough to mature some and be already bug fixed. On the other hand, if
you're someone who likes to get involved, there are still optimization and feature opportunities in
the code.