[AD] BCB port done!

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


First, I apologize if you receive this but it doesn't affect you.  This
is my first submission to the Allegro code base so I'm not sure how this
is supposed to be handled.  :(

I finished the Borland C++Builder port of Allegro.  (Yay!)  Turns out
that the problems I was having with the missing functions was indeed
caused by not having the newest DLL (many thanks to Chris La Mantia for
the updated binaries), plus some severely broken makefile.dep files
(fixed those up though, of course).  I'm now submitting it for inclusion
to the next WIP release of Allegro.  I've uploaded it to a Web server
where you can get it if you want it.  You can download the added files
from:

http://game-programming.virtualave.net/allegbcc.zip

First, extract these files to your Allegro directory.  Then, you have to
make two minor changes to some Allegro files to reflect the addition of
a new platform.  First, you have to add to include/allegro/alconfig.h

#elif defined __BORLANDC__
   #include "albcc32.h"

between the #define checks for __MINGW32__ and _MSC_VER (i.e. on line 33
in WIP 3.9.30).  (You have to put this before _MSC_VER because it is
theoretically possible for BCC32 to #define _MSC_VER when enabling MFC
-- why you'd want to write a *game* with MFC is beyond me, but it could
happen.)  Then, add to tools/datedit.c

#elif defined ALLEGRO_BCC32
   #include "obj/bcc32/plugins.h"

between the check for ALLEGRO_BEOS and the #else (i.e. on line 90 in WIP
3.9.30).

Then, all that's left it for whoever's in charge of the docs to update
them to reflect the new platform.  (There's nothing unusual about it
that has to be mentioned, just that it exists.)  If anyone has any
questions about this then feel free to send them my way; as usual,
complaints should be filed under NUL: :)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/