[fpc-devel] graph module

Tomas Hajny XHajT03 at mbox.vol.cz
Fri Mar 9 18:44:51 CET 2007


Evgeniy Ivanov wrote:
> On Fri, 09 Mar 2007 18:36:40 +0300, Jonas Maebe
> <jonas.maebe at elis.ugent.be> wrote:
> On Fri, 09 Mar 2007 18:39:10 +0300, DaniĂŤl Mantione
> <daniel.mantione at freepascal.org> wrote:
 .
 .
>> Many people @ Pascal Game Development. Domique Louis (Savage) is also
>> still maintaining it. Writing all the imports yourself seems a bit like
>> reinventing the wheel.
>
> Reinventing the wheel is to write all  SDL imports, for graph I need only
> few.
>
> So you think that it is not bad to use JEDI  SDL instead writing some
> initialization code on C and make pascal headers for it? I haven't used
> JEDI  SDL before but it is beta. I need your advise.

I don't know what heder conversions are available for SDL. However, I
believe there are basically two options:

1) Have full SDL headers added as another package in repository (either
existing like JEDI SDL or possibly a new one, although that would probably
make little sense). I don't know what the size and complexity of these
headers is and whether there might be somebody who could maintain such a
package in our repository.

2) Include highly limited set of imports necessary for SDL purposes
directly in the new sdlgraph (or whatever is the name). This might make
sense if we don't have somebody who'd maintain the full headers, whereas
maintaining just a highly limited set needed for sdlgraph purposes might
be still acceptable (possibly just copied from the existing headers if the
licence for those headers allows it).

Tomas




More information about the fpc-devel mailing list