Announcing SDL 0.8e

What? Already? :slight_smile:

Yes!
Announcing SDL 0.8e – it’s new! It’s better! It really is! :slight_smile:

Available from:
http://www.devolution.com/~slouken/develop.html

This has a few bug fixes… thought I squashed them all, but…

Bug fixes:
Fixed display of bitmaps at 16 bpp
X11 applications don’t crash if they lose X11 display (Kill Client)
Fixed display of 32 bpp surface on 16 bpp displays using MMX
You no longer lose mouse-up events in Win32
Fixed crash if X11 DGA doesn’t have a video mode list

There are some really nice API changes – make your code simpler. :slight_smile:

API changes:

  • Thanks to Mark Elliot:
    Setting the video modes has become much simpler:
    SDL_GetVideoMode() and SDL_VideoModeOK() have been removed,
    and now getting a video mode is simply:
    SDL_SetVideoMode(width, height, bpp, flags);
    If you don’t care what bits-per-pixel you get, set ‘bpp’ to 0
    If you have a preference, but can accept any bits-per-pixel,
    set ‘bpp’ to your desired bpp, and pass in the SDL_ANYFORMAT flag.

  • Thanks to Mark Elliot:
    If the available video modes are larger than the requested video
    mode, the smaller mode will be emulated by a black-bordered window
    centered within the larger video mode.
    (Note that changing the palette will affect the border color)

      The type of the width, height, and bpp arguments to SDL_SetVideoMode()
      have changed to int.
      The type of the clipping range arguments to SDL_SetClipping()
      have changed to int.
    
      SDL_MOUSEBUTTONEVENT has been separated into two events:
              SDL_MOUSEBUTTONDOWN, SDL_MOUSEBUTTONUP
      Otherwise, they are identical to the previous event type.
    
      SDL_KEYEVENT has been separated into two events:
              SDL_KEYDOWN, SDL_KEYUP
      Otherwise, they are identical to the previous event type.
    

Th-Th-That’s all folks! :slight_smile:
See ya,
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

  • Thanks to Mark Elliot:

So when does monkey shines for linux come out? :slight_smile:

njhOn Mon, 14 Sep 1998, Sam Lantinga wrote:

  • Thanks to Mark Elliot:

So when does monkey shines for linux come out? :slight_smile:

I’m not doing the port (too much other stuff going on)
One of you might ask them directly. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)> On Mon, 14 Sep 1998, Sam Lantinga wrote:


Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/