[fpc-devel]sdlgraph

Marco van de Voort marcov at stack.nl
Sat Feb 21 01:05:50 CET 2004


> > > Any comments are welcome.
> >
> > I'll be doing the SDL translation. (there already is some in contrib/sdl)
> >
> > What FPC version are you going to target? 1.0.x, 1.9.x or both?
> 
> Actually, I was simply going to build an interface on top of
> SDL4Freepascal that provides GRAPH function calls.  As long as
> SDL4Freepascal works on both 1.0.x and 1.9.x, I don't see why it wouldn't
> work for both. 

The Unix rtl has severely changed since 1.0.x, but I tested, and
SDL4FREEPASCAL works. I compiled them without modifications on FreeBSD with
1.9.3

> Also, I noticed in the current implementation of GRAPH, it doesn't support
> all screen modes (or it doesn't seem to), which was where I was going to
> start.

IIRC Graph supports all modi IF the bgi driver supports it. There is a
maximum of course, but it is something like 4096x4096 or so. But I'm not
Graph expert. I only made a few small games with it.
 
> I'll take a look at what is in contrib/sdl

It's the start of a port of the current CVS of the Jedi-SDL headers +demoes.
It is targeted at 1.9+, since that makes the (delphi) conversion easier.

I've been doing a couple of feedback mail exchange with the Jedi maintainer
to get FPC support integrated in the Jedi SDL headers.





More information about the fpc-devel mailing list