Color Shift (alien): Accept sizes
(Also, remove a debug printf() from Googly Eyes)
This commit is contained in:
parent
6c44ff6d3d
commit
8218dbdba2
2 changed files with 23 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Draws a googly eye at the click position, and looks
|
||||
towards where you drag+release.
|
||||
|
||||
Last updated: April 12, 2023
|
||||
Last updated: April 18, 2023
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -143,8 +143,6 @@ int googlyeyes_init(magic_api * api, Uint32 disabled_features)
|
|||
size = (100 * (googlyeyes_sizes - i)) / googlyeyes_sizes;
|
||||
}
|
||||
|
||||
printf("%d -> %d%%\n", i, size);
|
||||
|
||||
googlyeyes_img_bkgd[i] = api->scale(googlyeyes_img_bkgd[0],
|
||||
(googlyeyes_img_bkgd[0]->w * size) / 100,
|
||||
(googlyeyes_img_bkgd[0]->h * size) / 100,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue