]> bicyclesonthemoon.info Git - ott/enhance/blobdiff - core.h
palette tools online
[ott/enhance] / core.h
diff --git a/core.h b/core.h
index 2c9f2fe9b9b312e7990a76c5084a13344b04c93c..999bf5ec9b30c0ed63b53b26ed1f008b0cded00d 100644 (file)
--- a/core.h
+++ b/core.h
@@ -1,7 +1,7 @@
  /*
 core.h
 The tool with multiple enhancements and manipulations of pictures
-30.11.2022
+03.12.2022
 
 Copyright (C) 2022  Balthasar SzczepaƄski
 
@@ -190,7 +190,7 @@ void finish (int const returnvalue, char const * const returntext);
 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);
@@ -248,4 +248,6 @@ int perform_action_palette_mix (
 
 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);