First commit 16/09/1994

This commit is contained in:
2021-09-08 21:30:32 +02:00
commit c3b744f270
40 changed files with 3785 additions and 0 deletions

20
BGI/QUANT.H Normal file
View File

@ -0,0 +1,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <alloc.h>
#define TRUE 1
#define FALSE 0
#define RED 0
#define GREEN 1
#define BLUE 2
#define MAXCOLORS 255
typedef unsigned char UCHAR; /* 8 bits */
typedef unsigned short int UINT; /* 16 bits */
typedef unsigned long int ULONG; /* 32 bits */
extern UCHAR palette[MAXCOLORS][3];
int pal_index(UCHAR *pixel);