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)