Sign in Join

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

Mailing lists / fpc-pascal / 2005-01

Re: Looking for SDL_opengl header

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Darius Blaszyk
to Andrew Haines: Is there one included with jedi sdl?? Andrew Haines
Andrew Haines wrote 7 lines
On 12/07/10 18:23, Darius Blaszyk wrote: > Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it > in the repository, but perhaps someone knows if it is part of another > project. > Is there one included with jedi sdl??

Couldn't find it there, although there are some examples with SDL and OpenGL available with Jedi-SDL. So perhaps I don't need a specific SDL_opengl header (I'm porting a C app).

Darius

Darius Blaszyk

Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it in the repository, but perhaps someone knows if it is part of another project.

Regards, Darius

Andrew Haines
to Darius Blaszyk
Darius Blaszyk wrote
Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it in the repository, but perhaps someone knows if it is part of another project.

Is there one included with jedi sdl??

Regards,

Andrew Haines

Matt Emson
to Darius Blaszyk: Couldn't find it there, although there are some examples with SDL and OpenGL available…
Darius Blaszyk wrote 6 lines
Couldn't find it there, although there are some examples with SDL and OpenGL available with Jedi-SDL. So perhaps I don't need a specific SDL_opengl header (I'm porting a C app). Darius

Did you try here? http://www.freepascal-meets-sdl.net/ Or here? http://www.pascalgamedevelopment.com/content.php

Also, I used to work with a guy called Dominique Louis (he now owns Savage Software, who seem to still be around) and he was an extremely big Delphi/Pascal game development advocate. I believe he had a hand in the Jedi SDL conversion, at least for FreePascal. It might be worth trying to get in contact with him. He might even be on this list.

M

Paul Nicholls
to Matt Emson

----- Original Message -----

Earlier message 41 lines
From: "Matt Emson" To: "FPC-Pascal users discussions" Sent: Thursday, December 09, 2010 4:11 AM Subject: Re: [fpc-pascal] Looking for SDL_opengl header > On 08/12/2010 09:42, Darius Blaszyk wrote: >> >> Couldn't find it there, although there are some examples with SDL and >> OpenGL available with Jedi-SDL. So perhaps I don't need a specific >> SDL_opengl header (I'm porting a C app). >> >> Darius > > > Did you try here? http://www.freepascal-meets-sdl.net/ > Or here? http://www.pascalgamedevelopment.com/content.php > > Also, I used to work with a guy called Dominique Louis (he now owns > Savage Software, who seem to still be around) and he was an extremely > big Delphi/Pascal game development advocate. I believe he had a hand in > the Jedi SDL conversion, at least for FreePascal. It might be worth > trying to get in contact with him. He might even be on this list. > You can also find Dominique on these forums: www.pascalgamedevelopment.com See his profile page here: http://www.pascalgamedevelopment.com/member.php?10-savage and here is Savage Software: http://www.savagesoftwaresolutions.com/ He is/was the main guy doing the Jedi-SDL project :) cheers, Paul
Michalis Kamburelis
to Darius Blaszyk: Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it in the…
Darius Blaszyk wrote
Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it in the repository, but perhaps someone knows if it is part of another project.

SDL_opengl.h is just (one of the) cross-platform ways to include OpenGL stuff in C programs. We don't need it in FPC, just use GL, GLU, GLExt units as usual.

(BTW, Jedi-sdl indeed includes also a version of GL, GLU, GLExt units, but these are (at least, were not) suitable for FPC. See my notes at the bottom of http://wiki.lazarus.freepascal.org/Talk:FPC_and_SDL).

Michalis

Darius Blaszyk
to Michalis Kamburelis
Michalis Kamburelis wrote 9 lines
Darius Blaszyk wrote: > Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it > in the repository, but perhaps someone knows if it is part of another > project. > SDL_opengl.h is just (one of the) cross-platform ways to include OpenGL stuff in C programs. We don't need it in FPC, just use GL, GLU, GLExt units as usual.

Thanks for the info, just as I figured.

Regards, Darius