CVS update

New in CVS is hardware support for double-buffering:

  • If SDL_DOUBLEBUF is set in ‘flags’, the SDL library will try to set up
  • two surfaces in video memory and swap between them when you call
  • SDL_Flip(). This is usually slower than the normal single-buffering
  • scheme, but prevents “tearing” artifacts caused by modifying video
  • memory while the monitor is refreshing. It should only be used by
  • applications that redraw the entire screen on every update.

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

http://www.devolution.com/~slouken/SDL/cvs.html

Changes specific to SDL 1.1:

  • Implemented multimedia joystick support on Win32
  • Added BDirectWindow fullscreen support on BeOS

Changes in both SDL 1.0 and 1.1:

  • Fixed spurious X11 mouse focus events at ALT-ENTER
  • Perform input ungrab at video quit, just in case
  • Corrected X11 depth reporting in SDL_VideoModeOK()

See ya!
-Sam Lantinga (slouken at devolution.com)

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

SDL 1.0:
http://www.devolution.com/~slouken/SDL/cvs/SDL-1.0.tar.gz

SDL 1.1:
http://www.devolution.com/~slouken/SDL/cvs/SDL-1.1.tar.gz

Changes:

  • The audio thread runs at high priority on Win32
  • ESD audio support is now a separate selectable driver
  • Initial OpenBSD support (thanks Federico Schwindt)
  • Fixed hang when closing audio on Windows 2000
  • Warn about monochrome X displays (thanks Christian Bauer)

See ya!
-Sam Lantinga (slouken at devolution.com)

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

SDL 1.1
http://www.devolution.com/~slouken/SDL/cvs.html

Changes:

  • Added SDLbool datatype for functions returning true/false
  • Improved alpha blend speed (thanks Alexandre Courbot)
  • The DSP audio driver is now used by default on Linux
  • Updated MacOS MPW makefiles
  • Updated MacOS OpenGL support for Apple OpenGL SDK

The MacOS Codewarrior projects still need to be updated. but there
will be a few code tree changes before SDL 1.1.0, so you should probably
wait before updating them.

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

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

Boo, CVS is broken. There’s conflict crap in SDL_esdaudio.c.

m.On Wed, Feb 09, 2000 at 04:46:02AM -0800, Sam Lantinga wrote:

SDL 1.1
http://www.devolution.com/~slouken/SDL/cvs.html


Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?"
http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC

It’s just your copy. :slight_smile:

Remove SDL_esdaudio.c and update that file.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software> On Wed, Feb 09, 2000 at 04:46:02AM -0800, Sam Lantinga wrote:

SDL 1.1
http://www.devolution.com/~slouken/SDL/cvs.html

Boo, CVS is broken. There’s conflict crap in SDL_esdaudio.c.


“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

SDL 1.1
http://www.devolution.com/~slouken/SDL/cvs.html

Changes:

  • Added SDLbool datatype for functions returning true/false
  • Improved alpha blend speed (thanks Alexandre Courbot)
  • The DSP audio driver is now used by default on Linux
  • Updated MacOS MPW makefiles
  • Updated MacOS OpenGL support for Apple OpenGL SDK

Splendid. I had a problem with OpenGL on the Mac that I was going to relate to you, and it seems that this should fix it. If not, well, then,
you’ll know VERY shortly! :slight_smile:

The MacOS Codewarrior projects still need to be updated. but there
will be a few code tree changes before SDL 1.1.0, so you should probably
wait before updating them.

Mucho groovies.

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

Nicholas

The prerelease for SDL 1.1.2 is now available:
http://www.devolution.com/~slouken/SDL/cvs.html

I’m building binaries for the various platforms, so if you have any
show stoppers, let me know now. :slight_smile:

See ya!
-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:> The prerelease for SDL 1.1.2 is now available:

http://www.devolution.com/~slouken/SDL/cvs.html

I’m building binaries for the various platforms, so if you have any
show stoppers, let me know now. :slight_smile:


joystick\SDL_joystick.c

(549) : warning C4761: integral size mismatch in argument; conversion
supplied
(557) : warning C4761: integral size mismatch in argument; conversion
supplied

first arguments in the “SDL_EventState” calls should be typecast to “Uint8”


joystick\win32\SDL_mmjoystick.c

(221) : error C2065: ‘Uin8’ : undeclared identifier
(221) : error C2146: syntax error : missing ‘)’ before identifier ‘i’
(221) : error C2198: ‘SDL_PrivateJoystickButton’ : too few actual parameters
(221) : error C2059: syntax error : ‘)’
(225) : error C2146: syntax error : missing ‘)’ before identifier ‘i’
(225) : error C2198: ‘SDL_PrivateJoystickButton’ : too few actual parameters
(225) : error C2059: syntax error : ‘)’

typecasts should be “Uint8” instead of “Uin8” :slight_smile:


video\wincommon\SDL_sysmouse.c

(226) : warning C4761: integral size mismatch in argument; conversion
supplied
(226) : warning C4761: integral size mismatch in argument; conversion
supplied

typecasts should be “Sint16” instead of “Sint32”


  • Randi

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

joystick\SDL_joystick.c

(549) : warning C4761: integral size mismatch in argument; conversion
supplied
(557) : warning C4761: integral size mismatch in argument; conversion
supplied

Taken care of, thanks.

-Sam Lantinga				(slouken at devolution.com)

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

Sam, make sure you build the SDL for BeOS under the R5 version. Compiler and
binary are different now, not compatible with R4.5…

Thanks,
Eugenia—
BeNews editor

Sam Lantinga wrote in message
news:E12amy9-0002PG-00 at roboto.devolution.com

The prerelease for SDL 1.1.2 is now available:
http://www.devolution.com/~slouken/SDL/cvs.html

I’m building binaries for the various platforms, so if you have any
show stoppers, let me know now. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

The prerelease for SDL 1.1.2 is now available:
http://www.devolution.com/~slouken/SDL/cvs.html

I’m building binaries for the various platforms, so if you have any
show stoppers, let me know now. :slight_smile:

I must be the only person using glibc 2.0.x as I'm probably the

only person to notice this:

SDL_mutex.c: In function SDL_CreateMutex': SDL_mutex.c:178:EACCESS’ undeclared (first use in this function)

The proper identifier is EACCES. Those error codes always seem to be 6
characters long. Unfortunately, the code still doesn’t execute as
expected. SDL is still leaking semaphores on my system.

    -The Mighty Mike Master
    http://tmmm.simplenet.comOn Thu, 30 Mar 2000, Sam Lantinga wrote:

The proper identifier is EACCES. Those error codes always seem to be 6
characters long.

ENAMETOOLONG :slight_smile:

SDL_mutex.c: In function SDL_CreateMutex': SDL_mutex.c:178:EACCESS’ undeclared (first use in this function)

Ack, ok.

The proper identifier is EACCES. Those error codes always seem to be 6
characters long. Unfortunately, the code still doesn’t execute as
expected. SDL is still leaking semaphores on my system.

It should leak only one semaphore. Subsequent runs of properly written
SDL programs should leak no semaphores.

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

characters long. Unfortunately, the code still doesn’t execute as
expected. SDL is still leaking semaphores on my system.

Oops! I take this back. The new semaphore code is working just

fine. At first, I didn’t realize that it’s normal for there to be ONE
semaphore in the ipcs list…:slight_smile: Great work, Sam.

    -The Mighty Mike Master
    http://tmmm.simplenet.comOn Thu, 30 Mar 2000, The Mighty Mike Master wrote: