Sign in Join

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

Mailing lists / fpc-devel / 2004-02

sdlgraph

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Angelo Bertolli

I have had an interest in creating an sdlgraph unit for a while, and have been planning for a few months. I didn't really know that there was other talk about this, although I suspected it. So today, I looked around and saw some interest, and this listed as a project.

I am starting this project. Whether or not it will be good enough to be included in the official fpc is yet to be seen. But I just wanted to announce that I will be working on a graph unit implementation using sdl. Any comments are welcome.

Angelo

-
If it's Tuesday, this must be someone else's fortune.

Reply by email

Marco van de Voort
to Angelo Bertolli
Show quoted text 9 lines
I have had an interest in creating an sdlgraph unit for a while, and have been planning for a few months. I didn't really know that there was other talk about this, although I suspected it. So today, I looked around and saw some interest, and this listed as a project. I am starting this project. Whether or not it will be good enough to be included in the official fpc is yet to be seen. But I just wanted to announce that I will be working on a graph unit implementation using sdl. 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?

Reply by email

Angelo Bertolli
to Marco van de Voort
Show quoted text 13 lines
> I have had an interest in creating an sdlgraph unit for a while, and have > been planning for a few months. I didn't really know that there was other > talk about this, although I suspected it. So today, I looked around and > saw some interest, and this listed as a project. > > I am starting this project. Whether or not it will be good enough to be > included in the official fpc is yet to be seen. But I just wanted to > announce that I will be working on a graph unit implementation using sdl. > 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. 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.

I'll take a look at what is in contrib/sdl

Angelo

Reply by email

Marco van de Voort
to Angelo Bertolli
Show quoted text 10 lines
> > 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 +, 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.

Reply by email