mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/ceferino: Added (2d balloon-breaking game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a8948b1a61
commit
31e55e0209
9 changed files with 204 additions and 0 deletions
3
games/ceferino/README
Normal file
3
games/ceferino/README
Normal file
|
@ -0,0 +1,3 @@
|
|||
ceferino (2d balloon-breaking game)
|
||||
|
||||
A game similar to 'Super Pang'. You are attacked by little green balls which are bouncing around and which you have to destroy with your knife. Your knife however is limited to being thrown upwards, thus you have to get under the balls to destroy them. Even worse, if you destroy a large ball, it doesn't just vanish, but breaks apart into two smaller balls. Levels consist of little platforms connected by ladders, so you can go up and down or find cover if needed.
|
50
games/ceferino/ceferino.6
Normal file
50
games/ceferino/ceferino.6
Normal file
|
@ -0,0 +1,50 @@
|
|||
.TH "CEFERINO" "6" "2014-03-30" "0.97.8+svn37" "SlackBuilds.org"
|
||||
.SH "NAME"
|
||||
ceferino \- action game similar to Super Pang
|
||||
.SH "SYNOPSIS"
|
||||
.B ceferino
|
||||
.B ceferinosetup
|
||||
.B ceferinoeditor
|
||||
.SH "DESCRIPTION"
|
||||
The game is similar to 'Super Pang'.
|
||||
|
||||
You are attacked by little green balls which are bouncing around and which you have to destroy with your knife. Your knife, however, is limited to being thrown upwards, so you have to get under the balls to destroy them.
|
||||
|
||||
Even worse, if you destroy a large ball, it doesn't just vanish, but breaks apart into two smaller balls. Levels consist of little platforms connected by ladders, so you can go up and down or find cover if needed.
|
||||
.SH "USAGE"
|
||||
.B ceferinosetup
|
||||
|
||||
With this program you can configure the game options: video mode, full screen or windowed mode, music and sounds. The configuration is stored in $HOME/.ceferino
|
||||
|
||||
You can move through the menu using the arrow keys, return and space.
|
||||
|
||||
.B ceferino
|
||||
|
||||
This command allows to run the game. It will get the game options from $HOME/.ceferino and, after a brief introduction, will present a menu in which you can select a new game and some other things.
|
||||
|
||||
During the game, you can use the following keys:
|
||||
Left Arrow \- Move Left
|
||||
Right Arrow \- Move Right
|
||||
x \- Throw a knife
|
||||
z and c \- Roll on the floor
|
||||
Up Arrow \- Climb Stairs
|
||||
Down Arrow \- Crouch
|
||||
|
||||
The purpose of the game is to destroy all the balls and go up levels without being killed.
|
||||
|
||||
The highest scores are stored in $HOME/.ceferinomarcas
|
||||
|
||||
.B ceferinoeditor
|
||||
|
||||
With this program you can edit the levels of the game. The data describing the new levels will be stored in $HOME/.ceferinoniveles.map
|
||||
|
||||
You can use the mouse to modify the map.
|
||||
.SH "AUTHORS"
|
||||
The game has been written by LosersJuegos ( see http://www.losersjuegos.com.ar/ ):
|
||||
\- Hugo Ruscitti <hugoruscitti@yahoo.com.ar>
|
||||
\- Walter Velazquez <wgv_tattoo@yahoo.com.ar>
|
||||
\- Gabriel Valentin <vcgdebian@yahoo.com.ar>
|
||||
|
||||
This manual page was written for the Debian GNU/Linux system by Miriam Ruiz
|
||||
<little_miry@yahoo.es> (but may be used by others, of course). It was modified
|
||||
slightly by B. Watson for SlackBuilds.org.
|
98
games/ceferino/ceferino.SlackBuild
Normal file
98
games/ceferino/ceferino.SlackBuild
Normal file
|
@ -0,0 +1,98 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for ceferino
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# Packaging up the same version Debian does, SVN rev 37 fixes some bugs.
|
||||
|
||||
PRGNAM=ceferino
|
||||
VERSION=${VERSION:-0.97.8+svn37}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# fix array bounds fail in sound initialization
|
||||
patch -p1 < $CWD/soundinitfix.diff
|
||||
|
||||
autoreconf -if
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--bindir=/usr/games \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
# icon rendered from Debian's cefefino.svg
|
||||
mkdir -p $PKG/usr/share/pixmaps
|
||||
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
|
||||
# .desktop file from Debian
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
# man page also from Debian
|
||||
mkdir -p $PKG/usr/man/man6
|
||||
gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
9
games/ceferino/ceferino.desktop
Normal file
9
games/ceferino/ceferino.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Name=Ceferino
|
||||
GenericName=ceferino
|
||||
Comment=Save the cows!
|
||||
Type=Application
|
||||
Exec=ceferino
|
||||
Icon=ceferino
|
||||
Terminal=false
|
||||
Categories=Game;ActionGame;
|
10
games/ceferino/ceferino.info
Normal file
10
games/ceferino/ceferino.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="ceferino"
|
||||
VERSION="0.97.8+svn37"
|
||||
HOMEPAGE="http://www.losersjuegos.com.ar/juegos/ceferino"
|
||||
DOWNLOAD="http://ftp.debian.org/debian/pool/main/c/ceferino/ceferino_0.97.8+svn37.orig.tar.gz"
|
||||
MD5SUM="6823fe46cadf7c759128c37073e85e2c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
BIN
games/ceferino/ceferino.png
Normal file
BIN
games/ceferino/ceferino.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
3
games/ceferino/doinst.sh
Normal file
3
games/ceferino/doinst.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
19
games/ceferino/slack-desc
Normal file
19
games/ceferino/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
ceferino: ceferino (2d balloon-breaking game)
|
||||
ceferino:
|
||||
ceferino: A game similar to 'Super Pang'. You are attacked by little green
|
||||
ceferino: balls which are bouncing around and which you have to destroy with
|
||||
ceferino: your knife. Your knife however is limited to being thrown upwards,
|
||||
ceferino: thus you have to get under the balls to destroy them. Even worse,
|
||||
ceferino: if you destroy a large ball, it doesn't just vanish, but breaks apart
|
||||
ceferino: into two smaller balls. Levels consist of little platforms connected
|
||||
ceferino: by ladders, so you can go up and down or find cover if needed.
|
||||
ceferino:
|
||||
ceferino:
|
12
games/ceferino/soundinitfix.diff
Normal file
12
games/ceferino/soundinitfix.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur ceferino-0.97.8+svn37/src/audio.h ceferino-0.97.8+svn37.patched/src/audio.h
|
||||
--- ceferino-0.97.8+svn37/src/audio.h 2013-08-05 10:29:49.000000000 -0400
|
||||
+++ ceferino-0.97.8+svn37.patched/src/audio.h 2014-04-30 05:59:18.000000000 -0400
|
||||
@@ -49,7 +49,7 @@
|
||||
void descargar_musicas(void);
|
||||
int canal_musica;
|
||||
|
||||
- Mix_Chunk *sonidos[11];
|
||||
+ Mix_Chunk *sonidos[12];
|
||||
Mix_Music *musicas[2];
|
||||
|
||||
};
|
Loading…
Reference in a new issue