Allegro.cc - Online Community

Allegro.cc Forums » The Depot » Montezuma's revenge

This thread is locked; no one can reply to it. rss feed Print
Montezuma's revenge
koless
Member #4,996
September 2004

Hello!

I finally finnished Montezuma Revenge remake

- 43 objects
- 144 bitmaps
- 240 boards (4 game levels - 60 boards each level)
- you can choose new or old graphics(1984)
- fast board editor and creator

http://www.gwiazdy.net.pl/~duzy/montezuma/sc.gif

file size .zip 1,15 Mb (with allegro library included)

you can download game, source code here:

http://prog2k.glt.pl/index.php?akcja=montezuma

screenshots availble here:

http://prog2k.glt.pl/index.php?lang=1

axilmar
Member #1,204
April 2001

Looks nice. I am downloading it.

Evert
Member #794
November 2000
avatar

Looks nice indeed! I tried building the game from sources and had a few problems. I'm getting complaints about a missing header file from the images/ subdirectory. I replaced the include with the one from the present directory, but it seems that I'm missing some defines here (I assume this is your datafile headerfile?). You misspelled TLess_object.h as TLess_Object.h at one place, and you're includinh winalleg.h without actually having to. What's the difference between FInitialize and TInitialize? If I include both, I get duplicate difinition errors.
Oh, and there's a bunch of faulty # lines at the start of main.cpp. I guess you intend those as comments, but you really should use // for those.

Having fixed that, I could succesfully compile the game, although it crashed almost immediately at startup. :(

axilmar
Member #1,204
April 2001

Nice game. I really have no remarks. Collision is fine, every time I died it was because of my own mistake. The editor is easy to use. It reminds me of Jet Set Willy.

Sirocco
Member #88
April 2000
avatar

Hey, lovely. I worshipped that game in the days long past. Thanks for reviving a true classic!

-->
Graphic file formats used to fascinate me, but now I find them rather satanic.

Mae Mutts
Member #3,766
August 2003
avatar

Loved the original on the C64, can't wait to try this one out!

koless
Member #4,996
September 2004

Im sorry i check one more time source code and put the nessesary files there:) You should compile it now without problem just download sources one more time from http://www.prog2k.glt.pl/index.php?akcja=montezuma

And what yyou mean that game crashed almost at startupp??? what OS do you have?? I tested it only on win98 because my computer is to old to run win XP.

Evert
Member #794
November 2000
avatar

Quote:

Im sorry i check one more time source code and put the nessesary files there:) You should compile it now without problem just download sources one more time from http://www.prog2k.glt.pl/index.php?akcja=montezuma

You still have case mis-match when you #include TLess_object.h (the file name has object, but the include asks for Object). You can also get rid of #include <winalleg.h> from global.h - you don't need it. I also had to delete the destructor at the end of FInitilize.cpp as it wasn't destroying anything, add an #include <allegro.h> at the top of the same file and make it #include FInitialize.h instead of TInitialize.h.

But... with those changes the code compiles wonderfully and the game runs fine. :) Looks very well done and polished. Good work :D

Quote:

what OS do you have?? I tested it only on win98 because my computer is to old to run win XP.

Linux. I can send you a list of changes (fixes, really) you need for the source code and a makefile for building it if you're interested.

Rampage
Member #3,035
December 2002
avatar

Hey!! The name is 'Moctezuma' >:(;) (or Motecuzoma, for purists).

The game looks good, I'll download it as soon as I'm home :D

-R

Evert
Member #794
November 2000
avatar

There. Applying the attached patch over the last source you posted should fix compilation problems in Linux (it doesn't hurt the Windows version to apply it there either).

Now, I'm going to get some food and play your game for a bit ;)

Oh, I have a feature request: could you add gamepad support?

koless
Member #4,996
September 2004

Okay ill check those mistakes:)
I dont have gamepad so its hard to test if it works fine with my game:(
but myabe i get some gamepad from my friend then ill do it.

Go to: