Skip to content

Commit

Permalink
First upload of current code.
Browse files Browse the repository at this point in the history
  • Loading branch information
nevat committed Aug 15, 2013
0 parents commit 58cbf95
Show file tree
Hide file tree
Showing 76 changed files with 4,505 additions and 0 deletions.
69 changes: 69 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
INTRODUCTION

Abbaye des Morts is a freeware game made by LocoMalito (with the help of Gryzor87 in music side) in 2010. This game is, like other Locomalito's game, developed with Gamemaker and only runs natively in Microsoft Windows systems.

This is a port of this game to GNU/Linux systems. Is written in C code with the help of SDL libraries.

The code is licensed under GNU GPL version 3, so anyone can download, see, change and redistributed the code.


INSTALLATION FROM SOURCE

To compile the program you need GCC compiler and SDL libraries. In Fedora systems you can install all of this packages with this command (as root):

$ yum install gcc SDL-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel SDL_gfx-devel

For Ubuntu users, run this:

$ sudo apt-get install gcc libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev

Unpack the source code file:

$ tar vxfz abbaye_linux_beta.tar.gz

Enter the directory created an run:

$ make abbaye

As root, install the game with:

$ make install

(Ubuntu users run: $ sudo make install)

A icon will appear in your application menu, in game section. Alternatively you can run the game with the order "abbaye".


UNINSTALLATION FROM SOURCE

Enter the directory and run (as root):

$ make uninstall (Ubuntu users run: $ sudo make uninstall).


OPENPANDORA VERSION INSTALLATION

Just download the .pnd file (for example abbaye-1.0.pnd) and put it in the "pandora/menu", "pandora/desktop" or "pandora/apps" directory of your OpenPandora SD card. The game icon should appear in the applications menu (under Games/Adventure and RPG) and/or in the desktop (depending on where you put the .pnd file). Launch the game as usual and enjoy!


BUILDING OPENPANDORA VERSION

The easiest way to build this version is just by using the C/C++/Py Development Tools package. Get it here: http://repo.openpandora.org/?page=detail&app=cdevtools.freamon.40n8e
Once installed, launch it, change the directory to the one you use for building stuff, make sure your OpenPandora console is connected to the Internet and run the following commands:

svn checkout http://abbaye-for-linux.googlecode.com/svn/ abbaye-for-linux-read-only
cd abbaye-for-linux-read-only
make abbaye-pandora

And that's all. You can test the built binary launching ./abbaye-pandora. It will most likely run inside a window at 320x240 resolution. To make it fullscreen, create a script to launch it, with the following contents:
_______________________

#!/bin/sh
export SDL_VIDEODRIVER="omapdss"
export SDL_OMAP_VSYNC="0"
export SDL_OMAP_LAYER_SIZE="640x480"
./abbaye-pandora
_______________________

Make sure the script has exec permissions, launch it, and you should be able to play the game fullscreen. Finally, it's recommended to package the game in a .pnd file, but doing it is beyond the scope of this readme file.

18 changes: 18 additions & 0 deletions abbaye.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

[Desktop Entry]
Name=Abbaye des Morts
Name[ca]=Abbaye des Morts
Name[en_GB]=Abbaye des Morts
Name[es]=Abbaye des Morts
Comment=Indie platform game by Locomalito
Comment[ca]=Joc indie de plataformes de Locomalito
Comment[en_GB]=Indie platform game by Locomalito
Comment[es]=Juego indie de plataformas de Locomalito
Exec=abbaye
Icon=abbaye
Terminal=false
Type=Application
Categories=Game;ActionGame;
StartupNotify=false
Version=1.0
X-Desktop-File-Install-Version=0.19
Binary file added abbaye.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/VeniceClassic.ttf
Binary file not shown.
Binary file added graphics/abbeymd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/fondosmd/24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/intro-pandora.png
Binary file added graphics/intro.png
Binary file added graphics/intro2.png
Binary file added graphics/pergamino.png
Binary file added graphics/pergaminoazul.png
Binary file added graphics/pergaminorojo.png
Binary file added graphics/temp.png
Binary file added graphics/tiles.png
Binary file added graphics/tilesmd.png
Binary file added graphics/titlemd.png
35 changes: 35 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Compilation

all: abbaye abbaye-pandora

abbaye: ./src/main.c ./src/barradeestado.c ./src/bosses.c ./src/enemigos.c ./src/fase.c ./src/jean.c ./src/musica.c ./src/pantallas.c ./src/comun.h
gcc -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize ./src/main.c ./src/barradeestado.c ./src/bosses.c ./src/enemigos.c ./src/fase.c ./src/jean.c ./src/musica.c ./src/pantallas.c -o abbaye `sdl-config --cflags --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lm

abbaye-pandora: ./src/main.c ./src/barradeestado.c ./src/bosses.c ./src/enemigos.c ./src/fase.c ./src/jean.c ./src/musica.c ./src/pantallas.c ./src/comun.h
$(PREFIX)gcc -O3 -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize ./src/main.c ./src/barradeestado.c ./src/bosses.c ./src/enemigos.c ./src/fase.c ./src/jean.c ./src/musica.c ./src/pantallas.c -o abbaye-pandora `sdl-config --cflags --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lm -D_OPENPANDORA

clean:
rm -f abbaye
rm -f abbaye-pandora

# Installation
install:
cp abbaye /usr/bin/
cp abbaye.desktop /usr/share/applications
mkdir -p /usr/share/abbaye/music
cp ./music/* /usr/share/abbaye/music
mkdir -p /usr/share/abbaye/fonts
cp ./fonts/* /usr/share/abbaye/fonts
mkdir -p /usr/share/abbaye/sounds
cp ./sounds/* /usr/share/abbaye/sounds
mkdir -p /usr/share/abbaye/data
cp ./mapa/* /usr/share/abbaye/data
cp abbaye.png /usr/share/pixmaps
mkdir -p /usr/share/abbaye/graphics
cp -r ./graphics/* /usr/share/abbaye/graphics

uninstall:
rm /usr/bin/abbaye
rm /usr/share/applications/abbaye.desktop
rm /usr/share/pixmaps/abbaye.png
rm -rf /usr/share/abbaye
200 changes: 200 additions & 0 deletions mapa/enemigos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
0-0
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
0-1
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
0-2
001 056 144 000 128 040 000 056 224 005 000 001 013 006 015
001 216 144 001 096 040 000 056 224 005 000 001 013 006 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
0-3
001 032 152 002 160 040 000 088 128 009 000 003 012 004 011
001 064 136 002 192 040 000 104 144 009 000 003 012 004 011
001 080 104 002 160 040 000 088 128 009 000 003 012 004 011
001 192 120 002 192 040 000 112 144 006 000 003 012 004 011
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
0-4
003 040 136 000 096 064 000 000 000 000 000 000 000 000 000
003 072 136 000 096 064 000 000 000 000 000 000 000 000 000
003 176 136 001 064 064 000 000 000 000 000 000 000 000 000
003 208 136 001 064 064 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
1-0
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
1-1
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
017 000 000 000 000 000 000 000 000 000 000 001 013 000 023
1-2
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
1-3
002 144 048 001 224 040 000 032 160 005 000 001 013 002 011
002 168 088 000 224 040 000 080 224 004 000 001 013 002 011
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
1-4
001 104 144 001 512 040 000 080 152 003 000 002 013 012 015
001 160 040 000 544 040 000 144 184 003 000 002 013 012 015
005 048 088 003 336 064 000 056 128 007 000 002 013 000 015
005 072 104 002 320 064 000 080 136 007 000 002 013 000 015
005 152 096 002 320 064 000 096 136 007 000 002 013 000 015
005 176 080 003 336 064 000 072 128 007 000 002 013 000 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2-0
016 120 008 000 416 056 000 000 000 000 000 000 085 000 032
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2-1
016 104 072 001 608 040 000 000 000 001 000 001 014 000 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2-2
004 032 064 002 560 024 000 040 150 009 000 001 013 001 013
004 048 016 003 288 040 000 008 064 004 000 001 013 001 013
004 128 120 003 288 040 000 112 144 004 000 001 013 001 013
004 160 064 002 560 024 000 008 144 009 000 001 013 001 013
004 176 072 003 592 024 000 008 144 009 000 001 013 001 013
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2-3
003 144 088 001 128 064 000 088 176 005 000 001 013 003 015
003 126 136 001 128 064 000 064 128 005 000 001 013 008 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2-4
001 120 144 001 512 040 000 048 184 003 000 002 013 012 015
017 136 032 000 384 040 000 152 048 000 000 002 013 010 015
017 224 048 000 384 040 000 152 096 000 000 002 013 007 015
017 112 112 000 384 040 000 152 096 000 000 002 013 007 015
001 048 032 002 160 040 000 008 064 005 000 003 012 004 012
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3-0
003 088 056 001 000 064 000 080 112 005 000 001 013 008 015
003 160 136 000 032 064 000 128 192 005 000 001 013 001 015
012 192 032 000 640 040 000 032 104 000 000 005 010 000 015
012 208 032 000 640 040 000 032 136 000 000 005 010 000 015
012 088 032 000 640 040 000 032 072 000 000 005 010 000 015
012 088 088 000 640 040 000 088 120 000 000 005 010 000 015
012 032 088 000 640 040 000 088 120 000 000 005 010 000 015
3-1
013 060 160 000 480 040 000 072 160 000 000 003 012 001 014
013 160 160 000 480 040 000 088 160 000 000 003 012 001 014
013 116 160 000 480 040 000 080 160 000 000 003 012 001 014
001 148 016 002 160 040 000 008 064 005 000 003 012 004 011
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3-2
015 016 024 000 288 064 000 008 233 000 000 001 013 007 015
015 224 072 001 256 064 000 008 233 000 000 001 013 007 015
015 120 104 001 256 064 000 008 233 000 000 001 013 007 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3-3
016 016 008 000 000 088 000 016 208 000 000 000 032 000 027
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3-4
012 048 008 000 640 040 000 008 040 000 000 005 010 000 015
013 142 160 000 480 040 000 080 160 000 000 003 012 001 014
013 192 160 000 480 040 000 088 160 000 000 003 012 001 014
001 088 032 002 160 040 000 008 072 005 000 003 012 004 011
012 128 008 000 640 040 000 008 064 000 000 005 010 000 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4-0
011 216 024 001 448 040 000 008 000 000 000 000 000 000 000
003 120 136 000 032 064 000 080 144 006 000 001 013 000 015
006 120 088 001 464 024 000 032 208 007 000 001 003 002 014
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4-1
015 192 120 001 256 064 000 016 233 000 000 003 012 007 015
003 056 040 000 224 064 000 016 096 005 000 001 013 002 015
003 024 136 000 224 064 000 016 128 005 000 001 013 002 015
003 120 136 000 224 064 000 016 128 005 000 001 013 002 015
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4-2
011 224 104 001 448 040 000 008 240 000 000 000 000 000 000
003 072 008 001 352 064 000 016 104 005 000 001 013 000 012
003 136 064 000 160 064 000 120 152 005 000 003 012 006 015
003 212 064 001 192 064 000 192 224 005 000 003 012 006 015
014 152 160 000 416 040 000 088 160 000 000 004 011 004 011
014 080 160 000 416 040 000 048 160 000 000 004 011 004 011
014 094 160 000 416 040 000 056 160 000 000 004 011 004 011
4-3
003 148 008 001 352 064 000 016 224 005 000 001 013 000 012
014 048 160 000 416 040 000 012 160 000 000 004 011 004 011
014 080 160 000 416 040 000 008 160 000 000 004 011 004 011
014 160 160 000 416 040 000 010 160 000 000 004 011 004 011
006 120 032 001 464 024 000 016 216 006 000 001 013 002 014
006 152 104 001 464 024 000 016 216 006 000 001 013 002 014
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4-4
018 200 048 000 192 088 000 016 080 000 000 000 032 000 048
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
Loading

0 comments on commit 58cbf95

Please sign in to comment.