01-29-2005, 09:04 PM
I just ported an Allegro example to FB, the star fields one: http://fbc.sourceforge.net/allegrotest.zip
The Allegro DLL (http://prdownloads.sourceforge.net/alleg...p?download) must be installed in the Windows system directory.
Using DrV's W.I.P. Allegro headers.
(you many noticed a bunch of weird []'s there, but unfortunately they are needed to use Allegro, as many important structs are actually global C arrays that can't be accessed as ordinary arrays (QB/FB have descriptors).
The Allegro DLL (http://prdownloads.sourceforge.net/alleg...p?download) must be installed in the Windows system directory.
Using DrV's W.I.P. Allegro headers.
(you many noticed a bunch of weird []'s there, but unfortunately they are needed to use Allegro, as many important structs are actually global C arrays that can't be accessed as ordinary arrays (QB/FB have descriptors).
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php