void EnableFog(float start,float end,DWORD color);

    Switch on the linear fog with parameters.
    start:  z depth  where the fog is full transparent.
    end: z depth where the fog is not transparent.

Note: the view of the fog can be different on different platforms (DX, GLIDE, PSP)