From: Holger Schemel Date: Sun, 27 Oct 2024 12:10:36 +0000 (+0100) Subject: added credits for the color picker X-Git-Tag: 4.4.0.0-test-4~113 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=a2a9989b70a8c43d71bc03f3d0a295f7bc4ca22f;p=rocksndiamonds.git added credits for the color picker --- diff --git a/CREDITS b/CREDITS index 2773d03a..7541a836 100644 --- a/CREDITS +++ b/CREDITS @@ -48,6 +48,8 @@ Thanks to the composers of the included music modules: "mod.apoplexy" by bee hunter/jazz, "mod.chiptune" by 4-mat/anarchy and "mod.cream_of_the_earth" by romeoknight. +Thanks to Brooke Tilley (and David H) for the color picker gadget. + Thanks to Christopher Clark for the hash functions. The random number generator was taken from the GNU C library. diff --git a/src/libgame/gadgets.c b/src/libgame/gadgets.c index 9cf2f6f0..ab62b480 100644 --- a/src/libgame/gadgets.c +++ b/src/libgame/gadgets.c @@ -45,6 +45,7 @@ static void (*PlayGadgetSoundActivating)(void) = NULL; static void (*PlayGadgetSoundSelecting)(void) = NULL; +// Color picker by Brooke Tilley (pixlark) from https://github.com/pixlark/ColorPicker // RGB/HSV conversions by David H from https://stackoverflow.com/questions/3018313/ // A bunch of magic numbers for UI positioning (used by DrawColorPicker() and its functions)