Announcing SDL 1.0.2

Announcing Simple DirectMedia Layer version 1.0.2!

Simple DirectMedia Layer is a cross-platform multimedia library designed
to provide fast access to the graphics framebuffer and audio device. It is
used by MPEG playback software, emulators, and many popular games, including
the award winning Linux port of “Civilization: Call To Power.”

The latest version of SDL can be found at:
http://www.devolution.com/~slouken/SDL/

Major changes since 1.0.1:

  • Added CodeWarrior projects for MacOS (thanks Matt Slot)
  • Fixed Win32 code to run on VMWare with DIB video driver
  • Added window manager function: SDL_WM_GrabInput()
  • Added window manager function: SDL_WM_IconifyWindow()
  • Added ALT-ENTER fullscreen toggle for X11 video driver
  • New X11 fullscreen code doesn’t require root permissions
  • Mouse focus and position is now updated at video mode set
  • Mouse focus loss is now detected under Win32
  • Menubar hiding is more robust on MacOS (thanks Matt Slot)
  • Added CD-ROM support on MacOS (thanks Matt Slot)
  • Added docs for time functions (thanks Christian Biesinger)
  • Squeezed a little more speed out of blitters (Duff’s device)
  • Added hardware acceleration for 3Dfx and Matrox to fbcon driver.
  • Windows mouse driver now recognizes the middle button.
  • X11 driver now recognizes the “unix:0” display as local.
  • Added GPM repeater support (gpm -R) to fbcon driver
  • Added support for hardware surfaces to fbcon driver
  • Implemented console switching in fbcon driver
  • Implemented graphics mode detection in fbcon driver
  • Added SDL_EnableKeyRepeat() (thanks Jim Kutter)
  • Enabled DirectSound on Windows 2000

Simple DirectMedia Layer 1.1 is now in progress, and features the
following major improvements:

  • OpenGL support (currently implemented on Linux and BeOS)
  • Joystick support (currently implemented on Linux and BeOS)

Enjoy!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Announcing Simple DirectMedia Layer version 1.0.2!

The latest version of SDL can be found at:
http://www.devolution.com/~slouken/SDL/

Under linux it works great.

If I cross-compile with binaries from SDL-devel-1.0.2-mingw32.tar.gz
when I run the executable (under Win95 without DX support)
I receive this message (translated from italian):

File SDL.DLL is linked to missing function USER32.DLL: TrackMouseEvent

What is this?

Can someone help me?

Enzo.

Another remark: in the download page the link to "SDL-1.0.2-win32zip"
doesn’t work

Enzo wrote …

If I cross-compile with binaries from
SDL-devel-1.0.2-mingw32.tar.gz when I run the executable
(under Win95 without DX support) I receive this message
(translated from italian):

File SDL.DLL is linked to missing function USER32.DLL:
TrackMouseEvent

What is this?

I have a feeling that the Win32 binaries available for download are only
compatible with WinNT/Win98. They need to be compiled with
"_WIN32_WINNT=0x0300" to generate an SDL.dll that will work with Win95.
Microsoft added the “TrackMouseEvent” to support “mouse leave” and “mouse
hover” events that they needed for Internet Explorer 4.0.

  • Randi

Regimental Command
Generic Armored Combat System
http://www-users.cs.umn.edu/~relander/regcom/index.html

Hi, I noticed that configure for SDL-1.0.2 takes very long and I found that
it creates strange makefiles which, although working, are a bit bloated with
stuff like this:

[snip]
#######SDL_systhread.lo
#######SDL_mutex.lo
#######SDL_systhread.lo
#####libthread_la_OBJECTS =
#####SDL_thread.lo
#####SDL_mutex.lo
#####SDL_systhread.lo
#####clone.lo
#####SDL_mutex.lo
#####SDL_systhread.lo
#####SDL_mutex.lo
[snip]

About 2000 lines of it in audio/Makefile and thread/Makefile, fewer in the
other Makefiles.
I have gnu sed 2.05 and autoconf 2.12, but I don’t know who is responsible
for this.
Just a minor inconveniencem, mind you.

All the best,
rob

I havn’t been using SDL much lately but when I got the new version and tried
compiling old apps I get this

make
make: *** No rule to make target /usr/local/include/SDL/SDL_mangle.h', needed bystatic.o’. Stop.

-Garrett, WPI student majoring in Computer Science
"The fastest way to succeed is to look as if you’re playing by somebody
else’s rules, while quietly playing by your own." -Michael Konda

I havn’t been using SDL much lately but when I got the new version and tried
compiling old apps I get this

make
make: *** No rule to make target /usr/local/include/SDL/SDL_mangle.h', needed bystatic.o’. Stop.

You need to update your dependencies. make depend or some such. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hi, I noticed that configure for SDL-1.0.2 takes very long and I found that
it creates strange makefiles which, although working, are a bit bloated with
stuff like this:

[snip]
#######SDL_systhread.lo
#######SDL_mutex.lo
#######SDL_systhread.lo

This is all the cross-platform mojo in the Makefile.
Take a look at Makefile.am.
If you find a better way, PLEASE let me know! :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec