Note: this is the old speedhack version of Xelda
now maintained as a demo for the new Xelda

*****************
 Xelda Demo v1.0
*****************

(c) 2005 Martijn van Iersel & Olivia Guerra Santin
e-mail: amarillion@yahoo.com
website: http://amarillion.bafsoft.net

This is our entry for TINS 2005.
http://amarillion.bafsoft.net/tins05/

TINS is a crazy coding competition in which entrants must write a computer 
game from scratch in 72 hours. 

There are some extra rules that were announced just before the competition 
started.

coding - Amarillion
level design, gfx, sfx - Max

*****
rules
*****

- parody

The game is a parody on Zelda. I've tried to make fun
of the fact that zelda always needs to be rescued, and
also of the general image of nintendo that their games
are too childish.

- Have something unlockable

There is a hidden menu option that turns on god mode. 
You unlock it by finishing the game

- A troll

If you finish the game you'll see for yourself :)

- Sine waves

The only sine present in the entire game is in the animation you 
can see in the main menu. And that is actually a cosine :)


**************
how to compile
**************

I developed the game on a windows system. I've
uses a general makefile, but I didn't have time to adjust it
for dos/linux. This means that the makefile will only work
on windows systems. On other systems, you'll have to 
modify it a bit, sorry. 

Also, you need the following dependancies:

TEGEL tilemap add-on, from http://tegel.sf.net
ALSPC SNES music add-on, from my website or from allegro.cc

- windows (mingw)
fix mingw32
make
xelda

NOTE: I have no idea how this game behaves on slower computers. 
If the game is running too slow, try turning the music quality down 
as the music is generated by emulation of the SNES music chip, 
which is quite slow. 
You can also try the -nosound command line option.

***********
how to play
***********

Keys:

down = duck
left = left
right = right
space = jump
left / right ctrl = attack

you can hold down & ctrl to attack small enemies.

Objective:

Your goal is to find something at the end of each of three levels.
level 1: find the idol of theodore
level 2: find the magic leaf
final level: find princess Xelda

********************
command line options
********************

you can use the following command line options:

-nosound : turn sound off
-windowed : run in windowed mode 
-showfps : show the framerate in the top left corner.
-fullscreen : run in fullscreen mode (default)
-doublesize : when in windowed mode, create a double sized window.
-normalsize : when windowed, have a normal sized window (default)

**********
References
**********

all music is ripped from Zelda III: a link to the past (c) Nintendo.
All graphics and most of the sfx are hand-generated by max.
The engine framework (main, engine.cpp, resources.cpp) is mostly ripped 
from my TINS '03 entry, from deadlock (http://deadlock.sf.net) and from
my Speedhack 2003 entry. All with heavy modifications. 
I've used the XML parser from X-G's party-pack.
