SDL 0.6h: Cleaner, better, groovy

Okay, so the cleanup resulted in changes to the API.

But they’re all good!

I’m taking the time to verify all the new changes and make sure everything
is clean. It’s looking very nice. :slight_smile:

Here’s a list of the API changes:

    SDL_WM_FullScreen() has been replaced by the SDL_FULLSCREEN flag
    which can be passed to SDL_SetVideoMode().  This more accurately
    reflects the process of toggling fullscreen display modes.

    SDL_GetPixelFormat() has been renamed to SDL_GetDisplayFormat()

    SDL_GetDisplayFormat() gives you the video format of the real
    display as opposed to the (possibly different) one in the current
    display surface.

    SDL_SetColors() takes a new argument 'screen', which is the surface
    description for the current display, or any other surface on which
    you want to set the colormap.

    SDL_UpdateRect() and SDL_UpdateRects() take a new argument 'screen',
    which is the surface description for the current display.

    SDL_LockSurface() no longer returns a surface. SDL_LockSurface()
    and SDL_UnlockSurface() update the surface in-place if necessary.

It will be available when it’s ready.

BTW, the new blitters took the code over the 64KB limit of the MetroWerks
compiler on BeOS. Doh! I have some hacks to reduce functionality so it
compiles, but if anyone has a copy of the compiler, legit, it would be
greatly appreciated. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Here’s a list of the API changes:

    SDL_WM_FullScreen() has been replaced by the SDL_FULLSCREEN flag
    which can be passed to SDL_SetVideoMode().  This more accurately
    reflects the process of toggling fullscreen display modes.

Excellent! I always thought doing it the other way around feld
awkward at best, weird at worst.

    SDL_LockSurface() no longer returns a surface. SDL_LockSurface()
    and SDL_UnlockSurface() update the surface in-place if necessary.

Again, that’s excellent! Makes it feel faster and more lightweight,
and allows me to hope that it actually is faster and more
lightweight. :slight_smile:

It will be available when it’s ready.

Hm. Care to give a rough estimate? This week, this weekend, this
month, this quarter, this year? This decade?

/EmilOn Thu, 23 Apr 1998, Sam Lantinga wrote:

Again, that’s excellent! Makes it feel faster and more lightweight,
and allows me to hope that it actually is faster and more
lightweight. :slight_smile:

Heheh, actually, for hardware surfaces, yes, it’s much more lightweight.
For software surfaces, well, it has to check flags like SDL_MULACCEL,
but it’s not too bad:

if ( flag ) { do some cool stuff };
if ( hardware ) { do that hardware lock };
if ( otherflag ) { do some more cool stuff };
return;

It will be available when it’s ready.

Hm. Care to give a rough estimate? This week, this weekend, this
month, this quarter, this year? This decade?

Sometime early next week, probably.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

It will be available when it’s ready.

Hm. Care to give a rough estimate? This week, this weekend, this
month, this quarter, this year? This decade?

Sometime early next week, probably.

Wow. A prerelase that takes more than a couple of days to complete?
Given the release-rate I’ve gotten used to (e.g. a new 0.6
every other day), that says a lot about the amount of work put in to
go from g to h. :slight_smile: As always, I can’t wait…

/EmilOn Thu, 23 Apr 1998, Sam Lantinga wrote:

BTW, the new blitters took the code over the 64KB limit of the MetroWerks
compiler on BeOS. Doh! I have some hacks to reduce functionality so it
compiles, but if anyone has a copy of the compiler, legit, it would be
greatly appreciated. :slight_smile:

Mum has the CW Pro 2 CDs, If they have MW, I’ll tar’m up and email to
you…hmmm 600MB mails, that’s almost as big as an HTML mailer’s output…
:slight_smile:

njhOn Thu, 23 Apr 1998, Sam Lantinga wrote:

Mum has the CW Pro 2 CDs, If they have MW, I’ll tar’m up and email to
you…hmmm 600MB mails, that’s almost as big as an HTML mailer’s output…
:slight_smile:

Who’s mum? The mail spool will fill up if you e-mail them.

mum is my biological mother(the fact that she is the only mother makes her
uniquely defined… :). She is a lecturer in Java or something, I’ll ask
her one day…when I next see her…

How about good old U.S. postal? Er, Aussie postal? :slight_smile:

Yeah, but we want the CDs… And I don’t think any of the older ones have
the BeOS version on them…

njhOn Thu, 23 Apr 1998, Sam Lantinga wrote: