SDL 1.3 Compatibility

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Sam Lantinga wrote:

Okay, I see what’s happening here. We’re not expecting non-alphanumeric
keys to be remapped, so we’re using the default mappings on X11. Can you
enter a bug in bugzilla for this?

Done! http://bugzilla.libsdl.org/show_bug.cgi?id=669 . Thanks,

Edgar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklhAAsACgkQolm4VNX3QTy3lQCcCXevTFB8cURt1fhwMGyIeJJR
SDwAoMZfBlza92TdZMgBTT+cmJKnpqIC
=ID6I
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Sam Lantinga wrote:

Okay, I see what’s happening here. We’re not expecting non-alphanumeric
keys to be remapped, so we’re using the default mappings on X11. Can you
enter a bug in bugzilla for this?

Done! http://bugzilla.libsdl.org/show_bug.cgi?id=669 . Thanks,

Fixed!

Key pressed : scancode 41 = Escape, keycode 0x0000001B = Escape
Key pressed : scancode 57 = CapsLock, keycode 0x0000001B = Escape

See ya!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Sam Lantinga wrote:

Sam Lantinga wrote:

Okay, I see what’s happening here. We’re not expecting non-alphanumeric
keys to be remapped, so we’re using the default mappings on X11. Can you
enter a bug in bugzilla for this?

Done! http://bugzilla.libsdl.org/show_bug.cgi?id=669 . Thanks,

Fixed!

Key pressed : scancode 41 = Escape, keycode 0x0000001B = Escape
Key pressed : scancode 57 = CapsLock, keycode 0x0000001B = Escape

Sweet! Thanks a bunch!

Edgar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklhu08ACgkQolm4VNX3QTx9UwCfbt0MRgxnwRWhUfQ6+IE476Cp
gAIAn3ldrBRPV08spSCxdkKYiG2orDKh
=rBGe
-----END PGP SIGNATURE-----

Key pressed : scancode 41 = Escape, keycode 0x0000001B = Escape
Key pressed : scancode 57 = CapsLock, keycode 0x0000001B = Escape

Sweet! Thanks a bunch!

You’re welcome! :)`

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Yes I know this is an old thread, but I had some questions.

I am updating a project to use SDL 1.3 and have a question about
SDL_PixelFormat. I found this quote in the archives:

The SDL_PixelFormat is now used just to describe the pixel format, and has
all the same fields it did for that (palette, BitsPerPixel, masks, etc.).
The blit modifiers (colorkey, per-surface alpha) are now stored in the
surfaces and can be accessed with the functions in SDL_surface.h

Sorry if the answer is obvious, but I am new to SDL and Xcode. I have this
line of code from SDL_rotozoom.c that I am trying to get working with the
latest SDL 1.3

// Clear surface to colorkey
memset(pc, (unsigned char) (src->format->colorkey & 0xff), dst->pitch *
dst->h);

The error of course is struct ‘SDL_PixelFormat’ has no member named
’colorkey’. I looked at the SDL_surface.h file and I don’t see colorkey in
its struct either. What I do see is a function to set colorkey. To me, it
seems that I need to get the colorkey. I am I wrong here? where is colorkey
stored?

Thanks for your help.
Rick