home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / qeu03 / g_colcnv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-02  |  1.2 KB  |  32 lines

  1. /*
  2.  * Copyright (C) 1996 by Raphael Quinet.  All rights reserved.
  3.  *
  4.  * Permission to use, copy, modify, and distribute this software and
  5.  * its documentation for any purpose and without fee is hereby
  6.  * granted, provided that the above copyright notice appear in all
  7.  * copies and that both that copyright notice and this permission
  8.  * notice appear in supporting documentation.  If more than a few
  9.  * lines of this code are used in a program which displays a copyright
  10.  * notice or credit notice, the following acknowledgment must also be
  11.  * displayed on the same screen: "This product includes software
  12.  * developed by Raphael Quinet for use in the Quake Editing Utilities
  13.  * project."  THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR
  14.  * IMPLIED WARRANTY.
  15.  *
  16.  * More information about the QEU project can be found on the WWW:
  17.  * "http://www.montefiore.ulg.ac.be/~quinet/games/editing.html" or by
  18.  * mail: Raphael Quinet, 9 rue des Martyrs, B-4550 Nandrin, Belgium.
  19.  */
  20.  
  21. #ifndef _G_COLCNV_H_
  22. #define _G_COLCNV_H_
  23. /*
  24.  * G_COLCNV.H - Color conversion routines (24 bit <-> 256 colors <-> 16 colors)
  25.  */
  26.  
  27. /* prototypes */
  28. UInt8 GetPaletteMatch(struct RGB color, struct RGB *palette256);
  29.  
  30. #endif /* _G_COLCNV_H_ */
  31. /* end of file */
  32.