www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/30/11:00:03

From: Shawn Hargreaves <shawn AT talula DOT demon DOT co DOT uk>
To: djgpp AT delorie DOT com
MMDF-Warning: Parse error in original version of preceding line at punt-2.mail.demon.net
Subject: Re: Mikalleg 2.2 ???
Date: Wed, 30 Apr 1997 09:55:00 +0100
MIME-Version: 1.0
Message-ID: <862399659.0910800.0@[194.129.18.166]>

Atte Koivula writes:
> I've been looking for Mikalleg library, but I only seem to find mikmod
> supplied with Allegro version 2.1. Is there a Mikalleg that is supplied
> with Allegro 2.2? 

I don't know of anyone who has put together a distribution merging the two,
but it isn't really neccessary. Guan Foo Wah recently posted a description
of how to make them work together: search the mail archives for "allegro
mikmod". Basically you just need to get the original distributions of both,
install them in the normal manner, and then go through allegro.h replacing
all references to "SAMPLE" with "ALLEGRO_SAMPLE" or something like that.

Alternatively (I haven't tried this, but I can't see any reason why it
wouldn't work...) you shouldn't be able to include both headers unchanged
if you write in your source something along the lines of:

#include "mikmod.h"	// not sure what the filename is:
			// I've never used mikmod myself.

#define SAMPLE    ALLEGRO_SAMPLE

#include "allegro.h"

#undef SAMPLE


> Also, I've heard of many Allegro add-ons, like Alex, are
> they worth downloading and what do they include? 

If they do something that is useful for you, then of course they are worth
looking at! As to what they contain, there are some brief descriptions in
the links section on my webpage, but you'll have to download them to find
out all the  details. Alex contains mainly routines for making tile-map
games, but also has some neat image fading and lighting code. 


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk
"Beauty is a French phonetic corruption of a short cloth neck ornament"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019