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

19
BGI/OCTREE.H Normal file
View File

@ -0,0 +1,19 @@
struct colorsum {
unsigned long r, g, b;
};
typedef struct node * OCTREE;
struct node {
unsigned char leaf;
unsigned char level;
unsigned char colorindex;
unsigned char children;
unsigned long colorcount;
struct colorsum rgbsum;
OCTREE nextreduceable;
OCTREE next[8];
};
extern OCTREE tree;
UINT calc_palette(UINT i, double Cfactor);