CVS Update (DirectX + Linux CD)

The latest CVS snapshot of SDL is now available:
http://www.libsdl.org/cvs.html

SDL 1.1.7 will be released early next week.

Changes in this CVS snapshot:

  • Use correct bit for CD track type detection on Linux
  • Require DirectX 5 runtime or newer on Windows instead of DirectX 7
    (This means that gamma correction is disabled in DirectX driver for now)

Happy New Year!

-Sam Lantinga, Lead Programmer, Loki Entertainment Software

“Sam Lantinga” wrote

The latest CVS snapshot of SDL is now available:
http://www.libsdl.org/cvs.html

SDL 1.1.7 will be released early next week.

Changes in this CVS snapshot:

  • Use correct bit for CD track type detection on Linux
  • Require DirectX 5 runtime or newer on Windows instead of DirectX 7
    (This means that gamma correction is disabled in DirectX driver for now)

sam, i noticed this latest cvs uses the api for directx5…

#define DIRECTDRAW_VERSION 0x0500

after digging through the directx5 api headers, i’ve noticed that
ddraw.h uses “DIRECTDRAW_VERSION >= 0x0500” to block out the code,
this should mean leaving this value at 0x0700 will compile fine
even with the directx5 sdk.

the only problem is that still leaves the gamma in question. you
should likely be able to block out the directx5 gamma code with
"#ifdef IID_IDirectDrawGammaControl".

again, i’ve reached these conclusions only after looking through
the directx headers, not actually testing any of this out (yet).

if this combination does work, it seems that would support the best
range of combinations. compiling on any directx version >= 5 and
also running on any directx version >= 5. (with gamma being disabled
if compiled or running under directx == 5)

if you would like more help in this i might be able to lend a hand.
i’ve now got a secondary windows partition that i’m locking to
directx 5. (makes for good testing of this sort of thing)

again, i’ve reached these conclusions only after looking through
the directx headers, not actually testing any of this out (yet).

Can you test this out and let us know if it works? If so, I’ll be
happy to make the correct changes.

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