/*-------------------------------------------------------------------------*/
/*  J3W ver 6.40  3D Animation Kit                                         */
/*  pal256.h      11/22/97                                                 */
/*  Copyright (C) 1996 - 1999 Jun Mizutani <mizutani.jun@nifty.ne.jp>      */
/*                      All rights reserved.                               */
/*                                                                         */
/*   This file is part of the J3W 3D Animation Kit, and is covered under   */
/*  the terms of the GNU General Public License, version 2. This file has  */
/*  NO WARRANTY. See file COPYING for copyright details.                   */
/*                                                                         */
/*-------------------------------------------------------------------------*/

#if !defined(_pal256_h)
#define _pal256_h

const int MAXPALETTE = 236;
const int SYSCOLOR   = 20;

extern int ColNum;
extern int ColWidth;

struct TMyPalette {
    unsigned char b, g, r;
};

extern TMyPalette MyPalette[MAXPALETTE];

extern void SetDefaultPalette();
extern void SetPaletteColor(int col, int r1, int g1, int b1,
                                     int r0, int g0, int b0);

#endif

