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

palcreate.h

Go to the documentation of this file.
00001 #ifndef GE_BRANDO_PALCREATE_H
00002 #define GE_BRANDO_PALCREATE_H
00003 
00004 #include "basetype.h"
00005 #include "bitmap.h"
00006 
00007 /****************************************************************************************/
00008 /*  PalCreate                                                                           */
00009 /*                                                                                      */
00010 /*  Author: Charles Bloom                                                               */
00011 /*  Description:  Palette Creation code                                                 */
00012 /*                                                                                      */
00013 /*  The contents of this file are subject to the Genesis3D Public License               */
00014 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00015 /*  compliance with the License. You may obtain a copy of the License at                */
00016 /*  http://www.genesis3d.com                                                            */
00017 /*                                                                                      */
00018 /*  Software distributed under the License is distributed on an "AS IS"                 */
00019 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00020 /*  the License for the specific language governing rights and limitations              */
00021 /*  under the License.                                                                  */
00022 /*                                                                                      */
00023 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00024 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00025 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00026 /*                                                                                      */
00027 /****************************************************************************************/
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 extern geBitmap_Palette * createPaletteGood(const geBitmap_Info * Info,const void * Bits);
00034 extern geBitmap_Palette * createPaletteFast(const geBitmap_Info * Info,const void * Bits);
00035 
00036 typedef geBitmap_Palette * (*paletteCreater) (const geBitmap_Info * Info,const void * Bits);
00037 extern void setCreatePaletteFunc(paletteCreater func);
00038 
00039 extern geBitmap_Palette * createPalette(const geBitmap_Info * Info,const void * Bits);
00040 
00041 extern geBitmap_Palette * createPaletteFromBitmap(const geBitmap * Bitmap,geBoolean Optimize);
00042 
00043 extern void PalCreate_Start(void);
00044 extern void PalCreate_Stop(void);
00045 
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049 
00050 #endif

Generated on Tue Sep 30 12:36:03 2003 for GTestAndEngine by doxygen 1.3.2