Search:

Type: Posts; User: IceWolf

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,453

    Here's how I do it

    here's some code:

    // Globals
    LPDIRECTDRAW lpdd = NULL;
    LPDIRECTDRAWSURFACE lpddsPrimary = NULL;
    LPDIRECTDRAWGAMMACONTROL lpddgc = NULL;
    bool GammaOK = false;

    // Initialises gamma ramping...
  2. Thread: DirectSound

    by IceWolf
    Replies
    2
    Views
    1,945

    Try the BASS library

    this library's pretty easy to use, get it here:

    www.un4seen.com/music
  3. Thread: Timers

    by IceWolf
    Replies
    2
    Views
    1,321

    Here are the functions from Dhonn's hi-res timer:...

    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,...
  4. Replies
    0
    Views
    1,357

    Fading to/from black in ddraw?

    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...
Results 1 to 4 of 4