Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-02

Allegro game Library Support

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Smith Ray

Hi There,

(I haven't received any email for months ... so I don't know if I will receive an answer!)

Has anyone successfully created bindings for Allegro to work with FreePascal?

I'm more interested in the Windows version but would love to hear that it is possible to create a game and compile it for DOS, Windows and Linux without changing the source!!!

Thanks

Ray Smith
http://www.geocities.com/ray_223

Reply by email

Frédéric Lopez
to Smith Ray
Smith Ray wrote 11 lines
Hi There, (I haven't received any email for months ... so I don't know if I will receive an answer!) Has anyone successfully created bindings for Allegro to work with FreePascal? I'm more interested in the Windows version but would love to hear that it is possible to create a game and compile it for DOS, Windows and Linux without changing the source!!!

Hello,

I tried to create bindings for Allegro under Linux some time ago, but I didn't succeed. If I remember well, the problem was related to the C macros used by Allegro (END_OF_MAIN).

I used the Delphi bindings ( http://www.caladon.de/allegro/ ) as a base, because h2pas was not able to do it automatically (crashes) and converting directly from the .h seemed quite difficult for me.

I didn't attempt a new try with the last version of Free Pascal though.

Reply by email