here's some code:
// Globals
LPDIRECTDRAW lpdd = NULL;
LPDIRECTDRAWSURFACE lpddsPrimary = NULL;
LPDIRECTDRAWGAMMACONTROL lpddgc = NULL;
bool GammaOK = false;
// Initialises gamma ramping...
Type: Posts; User: IceWolf
here's some code:
// Globals
LPDIRECTDRAW lpdd = NULL;
LPDIRECTDRAWSURFACE lpddsPrimary = NULL;
LPDIRECTDRAWGAMMACONTROL lpddgc = NULL;
bool GammaOK = false;
// Initialises gamma ramping...
this library's pretty easy to use, get it here:
www.un4seen.com/music
Here are the functions from Dhonn's hi-res timer:
// Global variables
// frametime will return the time between frames
// 1.0 / frametime will give the fps
double rate_inv, startclock,...
Could someone help, I need to know how to fade the screen to or from black in directdraw.
I'm using directdraw in fullscreen mode, with 640x480 16-bit colour, and so I don't think palettes will...