home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume11
/
reve
/
part05
/
color.h
< prev
next >
Wrap
Text File
|
1990-11-15
|
2KB
|
41 lines
/* @(#)color.h 1.3 90/09/24
*
* Colormap definitions used by reve.
*
* Copyright (C) 1990 - Rich Burridge & Yves Gallot.
* All rights reserved.
*
* Permission is given to distribute these sources, as long as the
* introductory messages are not removed, and no monies are exchanged.
*
* You are forbidden from using Reve as is, or in a modified state, in
* any tournaments, without the permission of the authors.
*
* No responsibility is taken for any errors or inaccuracies inherent
* either to the comments or the code of this program, but if reported
* (see README file), then an attempt will be made to fix them.
*/
#define OTH_COLOR "othcolor"
#define OTH_COLORSIZE 8
#define C_WHITE 0
#define C_LGREY 1
#define C_LBROWN 2
#define C_BEIGE 3
#define C_DBROWN 4
#define C_BLACK 5
#define C_SPARE6 6
#define C_SPARE7 7
#define oth_colorsetup(r, g, b) \
(r)[C_WHITE] = 255 ; (g)[C_WHITE] = 255 ; (b)[C_WHITE] = 255 ; \
(r)[C_LGREY] = 200 ; (g)[C_LGREY] = 200 ; (b)[C_LGREY] = 200 ; \
(r)[C_LBROWN] = 200 ; (g)[C_LBROWN] = 150 ; (b)[C_LBROWN] = 100 ; \
(r)[C_BEIGE] = 255 ; (g)[C_BEIGE] = 240 ; (b)[C_BEIGE] = 220 ; \
(r)[C_DBROWN] = 185 ; (g)[C_DBROWN] = 145 ; (b)[C_DBROWN] = 100 ; \
(r)[C_BLACK] = 0 ; (g)[C_BLACK] = 0 ; (b)[C_BLACK] = 0 ; \
(r)[C_SPARE6] = 0 ; (g)[C_SPARE6] = 0 ; (b)[C_SPARE6] = 0 ; \
(r)[C_SPARE7] = 0 ; (g)[C_SPARE7] = 0 ; (b)[C_SPARE7] = 0 ;