home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwdos / palette.h < prev    next >
Text File  |  1995-02-15  |  1KB  |  31 lines

  1. /**********************************************************************
  2.  *
  3.  * File :     palette.h
  4.  *
  5.  * Abstract : Function prototypes for palette.c
  6.  *
  7.  **********************************************************************
  8.  *
  9.  * This file is a product of Criterion Software Ltd.
  10.  *
  11.  * This file is provided as is with no warranties of any kind and is
  12.  * provided without any obligation on Criterion Software Ltd. or
  13.  * Canon Inc. to assist in its use or modification.
  14.  *
  15.  * Criterion Software Ltd. will not, under any
  16.  * circumstances, be liable for any lost revenue or other damages arising
  17.  * from the use of this file.
  18.  *
  19.  * Copyright (c) 1995 Criterion Software Ltd.
  20.  * All Rights Reserved.
  21.  *
  22.  * RenderWare is a trademark of Canon Inc.
  23.  *
  24.  ************************************************************************/
  25.  
  26. int ReadPalette(char *fileName, RwPaletteEntry *palette, int size);
  27. int WritePalette(char *fileName, RwPaletteEntry *palette, int size);
  28. int BuildColorCube(RwPaletteEntry *palette, int palette_size,
  29.                  int redBits, int greenBits, int blueBits);
  30. void CheckAndReadPalette(char *filename);
  31.