Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Darius Blaszyk
On Tue, 2010-12-07 at 19:15 -0500, Andrew Haines wrote: 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

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-12-08 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: In fact I think this is one of the more easy things. The main problem seems to me that you need to support things like pointers, which is something deeply embedded in Pascal. I think the suitable RTL is a reference to an earlier

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-12-08 Thread Jürgen Hestermann
Matt Emson schrieb: Native is bad, and only come in to existence to compete with other platforms with purely native compilation - I disagree. Just the opposite. There were already lots of attempts to create a processor independend programming layer (i.e. USCD-Pascal with the p-code in the

Re: [fpc-pascal] 2D Dynamic arrays and BlockRead

2010-12-08 Thread Jürgen Hestermann
STat = Array[0..W-1] Of Single ; { Static array } DST = Array Of STat ; { One dimension dynamic, the other static } D2T = Array Of Array Of Single ; { Two dynamic dimensions } STat always means the address starting with STat[0] (context independend). Also DST always means the address where

Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Matt Emson
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?

Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Paul Nicholls
- Original Message - From: Matt Emson memson.li...@googlemail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org 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

Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Michalis Kamburelis
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,