Allegro port - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html) +---- Thread: Allegro port (/thread-5188.html) |
Allegro port - DrV - 12-01-2004 Is anyone up for a freeBASIC port of Allegro? I'm willing to help with this, and na_th_an's put forth the idea a couple of times; I'm willing to wait for the initial release of the compiler before starting, though... unless v1c sends me a pre-release ver, which would be okay too... I'm kinda low on free time this week anyway. I think this would be a worthy cause for anyone with Allegro or C experience to contribute to this awesome project. I'm up for it. Allegro port - VonGodric - 12-01-2004 I'm willing, though I dunno how much time I have. Allegro port - Nexinarus - 12-01-2004 I think that all you have to do is port the headers (all .h to .bi), and compile the lib in MinGW. Allegro port - Blitz - 12-01-2004 Allegros headers are 20% macros. Trying to port it would be painfull since FB doesn't have macros, yet atleast. Besides that lib sucks imo. Allegro port - na_th_an - 12-01-2004 I will try to do my best as soon as FB is released. I'll try to convert the macros to functions. I'll count you both in the project, Vongodric and DRV Allegro port - DrV - 12-03-2004 I'm gearing up to get down... I'll try to do the core gfx stuff and then put it up somewhere so other people can work on the other stuff. Thanks for the support so fast. Allegro port - ShadowWolf - 12-03-2004 somone here should contacted Angelo Mottola he did some work on the Mac Os port of allegro he be the closest to a expert that the QB community has for allegro. http://www.ecplusplus.com/ Allegro port - DrV - 12-03-2004 here's a working example (you need to have liballeg.a in the fb lib/ dir): Code: Declare Function install_allegro CDecl Lib "alleg" (ByVal system_id As Integer, ByRef errno_ptr As Integer, ByVal atexit_ptr As Function()) As Integer doesn't do much yet... help! v1ctor or somebody - how do I get at C externs? If I was just writing straight gas asm, i could use 'extrn' - is there an fb keyword for that? Allegro port - marzecTM - 12-03-2004 ehm if you mean like extern void bleh nevermind that extern. it'S just some stuff for the c-compiler to not redeclare the function somewhere else, would bitch on you otherwise. ignore extern edit: i just was reminded by someone of common shared. hm... i'm a little confused now, but when i was porting that sdl headers i didn't have to add something to the declaration, so i guess ignoring extern when porting headers is fine. Allegro port - relsoft - 12-03-2004 Quote:somone here should contacted Angelo Mottola he did some work on the Mac Os port of allegro he be the closest to a expert that the QB community has for allegro. Angelo sez: "no" But he(Angelo) will work on the MAC OS port of FB. :*) |