[quote="IaxFenris"]Thanks a lot for the ]

Good to know

Quote Originally Posted by IaxFenris
Next step is installing the whole thing under Linux and I am confident that it will cause at least as much trouble as under Windows
Though JEDI-SDL 1.0 is still in beta is has been tested quite extensively on Linux and to a lesser extent on MacOS X with FPC. So I would hope that you won't have the same hassles. It's fairly stable ( actually more so that 0.5 ) and the only reason why it's not an offical release yet is that I have not had the time or motivation to remove it's beta status. I will get round to doing it, but not sure when.

Quote Originally Posted by IaxFenris
Oh and maybe someone has an idea how the correct code for the above code fragment should look like, or am I missing the forest through the trees?
it should look something like this...
Code:
var
  screen : PSDL_Surface;
  colours : array[0..255] of TSDL_Color;
...
  // Set palette
  SDL_SetColors(screen, @colours[0], 0, 256);
This is pretty much off the top of my head, so you'll need to confirm if this compiles or not.

To ensure you have the all the latest bug fixs for JEDI-SDL you might want to consider syncing with CVS.