- file renaming and includes done
[genesis3d.git] / G3D / Bitmap._h
1 #ifndef BITMAP_PRIVATE_H\r
2 #define BITMAP_PRIVATE_H\r
3 \r
4 /****************************************************************************************/\r
5 /*  Bitmap._h                                                                           */\r
6 /*                                                                                      */\r
7 /*  Author: Charles Bloom                                                               */\r
8 /*  Description:  Engine-Internal Bitmap Functions                                      */\r
9 /*                                                                                      */\r
10 /*  The contents of this file are subject to the Genesis3D Public License               */\r
11 /*  Version 1.01 (the "License"); you may not use this file except in                   */\r
12 /*  compliance with the License. You may obtain a copy of the License at                */\r
13 /*  http://www.genesis3d.com                                                            */\r
14 /*                                                                                      */\r
15 /*  Software distributed under the License is distributed on an "AS IS"                 */\r
16 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */\r
17 /*  the License for the specific language governing rights and limitations              */\r
18 /*  under the License.                                                                  */\r
19 /*                                                                                      */\r
20 /*  The Original Code is Genesis3D, released March 25, 1999.                            */\r
21 /*  Genesis3D Version 1.1 released November 15, 1999                                 */\r
22 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */\r
23 /*                                                                                      */\r
24 /****************************************************************************************/\r
25 \r
26 \r
27 #include        "Bitmap.h"\r
28 #include        "DCommon.h"\r
29 \r
30 #ifdef __cplusplus\r
31 extern "C" {\r
32 #endif\r
33 \r
34 /***\r
35 **\r
36 *\r
37 * These functions are intended for internal Genesis use only.\r
38 *\r
39 * This can become public once Driver is exposed/formalized. !@@!\r
40 *\r
41 * Only engine.c , and maybe world & bitmaplist should include this !\r
42 *\r
43 * You MUST DetachDriver from a bitmap, before you change the Driver\r
44 *\r
45 **\r
46  **/\r
47 \r
48 #define BITMAP_GENESIS_INTERNAL GENESISCC\r
49 \r
50 geBoolean                       GENESISCC geBitmap_AttachToDriver(geBitmap *Bmp, DRV_Driver * Driver, uint32 DriverFlags);\r
51         // use Driverflags == 0 to use the flags from _SetDriverFlags\r
52 \r
53 geBoolean                       GENESISCC geBitmap_DetachDriver(geBitmap *Bmp, geBoolean DoUpdate);\r
54         // You MUST Detach the Driver while it is identical to the way it was when attached!\r
55 \r
56 geBitmap_Palette *      GENESISCC geBitmap_Palette_CreateFromDriver(DRV_Driver * Driver,gePixelFormat Format,int Size); /*<>*/\r
57 \r
58 geRDriver_THandle * GENESISCC geBitmap_GetTHandle(const geBitmap *Bmp);\r
59 \r
60 geBoolean                       GENESISCC geBitmap_SetDriverFlags(geBitmap *Bmp,uint32 flags);\r
61 \r
62 geBoolean                       GENESISCC geBitmap_SetGammaCorrection_DontChange(geBitmap *Bmp,geFloat Gamma);\r
63 \r
64 #ifdef __cplusplus\r
65 }\r
66 #endif\r
67 \r
68 \r
69 #endif // BITMAP_PRIVATE_H\r
70 \r
71 \r