/*
core.h
The tool with multiple enhancements and manipulations of pictures
-30.11.2022
+03.12.2022
Copyright (C) 2022 Balthasar SzczepaĆski
int init (void);
ILuint get_handle (uint_fast16_t id);
int get_data (uint_fast16_t id, void **data, ILuint frame);
-int get_palette (uint_fast16_t id, void **palette, ILuint frame);
+int get_palette (uint_fast16_t id, void *palette, ILuint frame);
int set_palette (uint_fast16_t id, void *palette, ILuint size, ILenum type, ILuint frame);
void create_picture (uint_fast16_t id);
int create_pictures (uint_fast16_t n);
int copy_pixels (ILuint n, struct PixelInfo *p, void *data);
ILuint copy_1p_alpha (ILint64 src, ILint64 dst, ILint64 alpha, ILint64 max);
-int fill_color (ILuint n, struct PixelInfo *p, void *data);
\ No newline at end of file
+int fill_color (ILuint n, struct PixelInfo *p, void *data);
+int palette_mix_index (ILuint n, struct PixelInfo *p, void *data);
+ILuint tsqrt(ILuint s);