Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

dmodes.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  dmodes.h                                                                            */
00003 /*                                                                                      */
00004 /*  Author:       Ken Baird                                                             */
00005 /*  Description:  Directdraw related stuff                                              */
00006 /*                                                                                      */
00007 /*  The contents of this file are subject to the Genesis3D Public License               */
00008 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00009 /*  compliance with the License. You may obtain a copy of the License at                */
00010 /*  http://www.genesis3d.com                                                            */
00011 /*                                                                                      */
00012 /*  Software distributed under the License is distributed on an "AS IS"                 */
00013 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00014 /*  the License for the specific language governing rights and limitations              */
00015 /*  under the License.                                                                  */
00016 /*                                                                                      */
00017 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00018 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00019 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00020 /*                                                                                      */
00021 /****************************************************************************************/
00022 #include "basetype.h"
00023 
00024 extern  void                                    GetDDrawPixelFormat(DRV_Window *cwnd);
00025 extern  LPDIRECTDRAWSURFACE4    DDrawLoadSurface(U32 dwWidth, U32 dwHeight, const void *pixels, const char *pal);
00026 extern  geBoolean                               LockDDrawBackBuffer(DRV_Window *cwnd, RECT *wrect);
00027 extern  geBoolean                               UnlockDDrawBackBuffer(DRV_Window *cwnd, RECT *wrect);
00028 extern  geBoolean                               RefreshDDraw(DRV_Window *cwnd, VidModeList *cmode, RECT *src, RECT *dst);
00029 extern  void                                    ClearBackBuffer(DRV_Window *cwnd);
00030 extern  geBoolean                               DDrawBlitDecal(LPDIRECTDRAWSURFACE4 lpDDSDecal, RECT *SRect, S32 x, S32 y);
00031 extern  geBoolean                               DDrawBlitDecalDelayed(LPDIRECTDRAWSURFACE4 lpDDSDecal, RECT *SRect, S32 x, S32 y);
00032 extern  geBoolean                               DDrawBlitDecalToFront(LPDIRECTDRAWSURFACE4 lpDDSDecal, RECT *SRect, S32 x, S32 y);
00033 extern  geBoolean       DRIVERCC        DrvSetActive(geBoolean wParam);
00034 extern  void                                    SetDDrawWindow(HWND hwnd);
00035 extern  geBoolean                               SetDDrawMode(U32 top, VidEnumInfo *vinfo);
00036 extern  geBoolean                               DoDDrawInit(HWND hwnd, VidEnumInfo *vinfo);
00037 extern  geBoolean                               DoModeEnumeration(VidEnumInfo *vinfo);
00038 extern  geBoolean                               DoEnumeration(VidEnumInfo *vinfo);
00039 extern  void                                    GetDDrawPixelFormat(DRV_Window *cwnd);
00040 extern  void                                    FreeDDraw(VidEnumInfo *vinfo);
00041 
00042 extern  geBoolean                               bWindowed, bActive, bBackLocked;

Generated on Tue Sep 30 12:35:38 2003 for GTestAndEngine by doxygen 1.3.2