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

bitmap._h

Go to the documentation of this file.
00001 #ifndef BITMAP_PRIVATE_H
00002 #define BITMAP_PRIVATE_H
00003 
00004 /****************************************************************************************/
00005 /*  Bitmap._h                                                                           */
00006 /*                                                                                      */
00007 /*  Author: Charles Bloom                                                               */
00008 /*  Description:  Engine-Internal Bitmap Functions                                      */
00009 /*                                                                                      */
00010 /*  The contents of this file are subject to the Genesis3D Public License               */
00011 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00012 /*  compliance with the License. You may obtain a copy of the License at                */
00013 /*  http://www.genesis3d.com                                                            */
00014 /*                                                                                      */
00015 /*  Software distributed under the License is distributed on an "AS IS"                 */
00016 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00017 /*  the License for the specific language governing rights and limitations              */
00018 /*  under the License.                                                                  */
00019 /*                                                                                      */
00020 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00021 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00022 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00023 /*                                                                                      */
00024 /****************************************************************************************/
00025 
00026 
00027 #include        "bitmap.h"
00028 #include        "dcommon.h"
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00034 /***
00035 **
00036 *
00037 * These functions are intended for internal Genesis use only.
00038 *
00039 * This can become public once Driver is exposed/formalized. !@@!
00040 *
00041 * Only engine.c , and maybe world & bitmaplist should include this !
00042 *
00043 * You MUST DetachDriver from a bitmap, before you change the Driver
00044 *
00045 **
00046  **/
00047 
00048 #define BITMAP_GENESIS_INTERNAL GENESISCC
00049 
00050 geBoolean                       GENESISCC geBitmap_AttachToDriver(geBitmap *Bmp, DRV_Driver * Driver, uint32 DriverFlags);
00051         // use Driverflags == 0 to use the flags from _SetDriverFlags
00052 
00053 geBoolean                       GENESISCC geBitmap_DetachDriver(geBitmap *Bmp, geBoolean DoUpdate);
00054         // You MUST Detach the Driver while it is identical to the way it was when attached!
00055 
00056 geBitmap_Palette *      GENESISCC geBitmap_Palette_CreateFromDriver(DRV_Driver * Driver,gePixelFormat Format,int Size); /*<>*/
00057 
00058 geRDriver_THandle * GENESISCC geBitmap_GetTHandle(const geBitmap *Bmp);
00059 
00060 geBoolean                       GENESISCC geBitmap_SetDriverFlags(geBitmap *Bmp,uint32 flags);
00061 
00062 geBoolean                       GENESISCC geBitmap_SetGammaCorrection_DontChange(geBitmap *Bmp,geFloat Gamma);
00063 
00064 #ifdef __cplusplus
00065 }
00066 #endif
00067 
00068 
00069 #endif // BITMAP_PRIVATE_H
00070 
00071 

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