SDL CVS Update (MacOS X fixes)

I sat down and played with my MacOS X laptop today and had a lot of fun.
Does anybody know how to force a window to the front on MacOS X?
SMPEG works on it now, although it’s unusably slow…

The corresponding CVS snapshot is in the usual place:
http://www.libsdl.org/cvs.html

Changes:

  • Added the year 2001 to the copyright headers
  • Fixed mouse cursor visibility when switching apps on MacOS
  • Implemented semaphore support on MacOS X
  • Worked around broken sem_getvalue() on MacOS X
  • Fixed 16-bit big-endian audio on MacOS X and MacOS classic
  • Fixed compile problems on MacOS X
  • More cleanups from the QNX team
  • Fixed keyboard state detection on Win32 (thanks Francis)
  • Fixed joystick build problem on MacOS X and QNX

See ya! :slight_smile:
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

In article , Sam Lantinga
wrote:

I sat down and played with my MacOS X laptop today and had a lot of fun.
Does anybody know how to force a window to the front on MacOS X?

The two methods I’ve found are to 1) click on the icon in the Dock, or
2) use Apple-Tab to tab through the running programs.

As a side note, has anyone got any sample projects, or even just hints,
in getting SDL setup in Project Builder? I’ve played around with SDL on
Windows, and it’s great, but am just digging into it on my new Mac.

Thanks in advance,
Lonnie

I have some old ProjectBuilder files here:

http://icdweb.cc.purdue.edu/~walisser/sdl/devel/PBprojects.sit.hqx

They don’t work on SDL 1.3, have to be tweaked quite a bit.
But hopefully they will help you.

I will try to contribute some better projects some day (unless you want
to, feel free).
I have 75% done projects for SDL 1.3 on my other HD (which isn’t plugged
in at the moment, had to unplug to install OS X). I still have to figure
out how to get the threads stuff compiling (apparently worked on Public
Beta).On Tuesday, April 3, 2001, at 12:48 AM, Lonnie Ezell wrote:

In article , Sam Lantinga
wrote:

I sat down and played with my MacOS X laptop today and had a lot of
fun.
Does anybody know how to force a window to the front on MacOS X?

The two methods I’ve found are to 1) click on the icon in the Dock, or
2) use Apple-Tab to tab through the running programs.

As a side note, has anyone got any sample projects, or even just hints,
in getting SDL setup in Project Builder? I’ve played around with SDL on
Windows, and it’s great, but am just digging into it on my new Mac.

Thanks in advance,
Lonnie

I have some old ProjectBuilder files here:

http://icdweb.cc.purdue.edu/~walisser/sdl/devel/PBprojects.sit.hqx

They don’t work on SDL 1.3, have to be tweaked quite a bit.

You mean SDL 1.2?

I have 75% done projects for SDL 1.3 on my other HD (which isn’t plugged
in at the moment, had to unplug to install OS X). I still have to figure
out how to get the threads stuff compiling (apparently worked on Public
Beta).

Yes, it worked fine. I couldn’t afford MacOS X, so I haven’t tested SDL
on the release.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software