Commit graph

27 commits

Author SHA1 Message Date
Bill Kendrick
4d932f800b Add ATTRIBUTE_UNUSED back to MAGIC_set_color() funcs
Avoid compile time warnings
2023-02-12 13:17:49 -08:00
Bill Kendrick
3b1c26c93d Update all other Magic tools' "set_color()"
FIXME: This loses "ATTRIBUTE_UNUSED" where they existed, and also
all of the files committed here need that compiler hint added to
all of the new arguments ('canvas', 'last', etc.) since they
obviously don't use them either.
2023-01-25 02:15:19 -08:00
Bill Kendrick
cc05925d9e Re-ran indent on all .c & .h source code files
Like so --
  find . -name "*.c" -or -name "*.h" -exec  indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;

The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
2022-09-15 00:14:20 -07:00
Pere Pujal i Carabantes
88d8252952 Merge branch 'master' into sdl2.0 2021-11-08 23:33:49 +01:00
Bill Kendrick
e3c7b3b5e7 Halftone was coming out too dark
Not sure what I broke, but attempting to fix it.
2021-11-07 19:51:08 -08:00
Pere Pujal i Carabantes
9cf77f684c Merge branch 'master' into sdl2.0
There are problems with im that should be investigated...
2021-10-24 11:47:54 +02:00
Bill Kendrick
d27c21bf2a Mend compiler warnings in magic/src/halftone.c 2021-10-24 01:07:29 -07:00
Pere Pujal i Carabantes
d42a255530 Merge branch 'master' into sdl2.0 2021-10-07 00:15:27 +02:00
Pere Pujal i Carabantes
85bf1dc181 Panels do not use colors, new string for fullscreen mode Halftone. 2021-10-06 00:31:57 +02:00
Pere Pujal i Carabantes
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02:00
Bill Kendrick
f381073d48 Putting more Magic tools into groups... 2021-09-21 00:24:26 -07:00
Pere Pujal i Carabantes
10baa371dd September 8th
Merge branch 'master' into sdl2.0
Many changes and improvements by Bill
2021-09-08 00:10:35 +02:00
Bill Kendrick
f6c74f897e "Halftone" can now affect the entire image at once 2021-09-04 23:28:33 -07:00
Bill Kendrick
c5fd47b1af "Halftone" works much better 2021-09-04 16:25:19 -07:00
Pere Pujal i Carabantes
00b4aa126f Merge branch 'master' into sdl2.0. Updating with latest changes and improvements, clone, fill,... 2021-02-25 00:48:38 +01:00
Bill Kendrick
d588e5d214 Halftone magic tool wasn't loading...
... due to a problem with its sound effect file.
2021-02-20 15:14:31 -08:00
Pere Pujal i Carabantes
f836cc775a Magic tools: Inline->static for android, corrected paths to avoid double slash which makes SDL2 not loading the stuff from assets.
Thoose changes were already in the SDL2 and android versions, they were reverted somehow...
2018-02-28 00:23:15 +01:00
Pere Pujal i Carabantes
1e0ea6d4b3 Indentation. 2017-12-19 02:17:27 +01:00
Pere Pujal i Carabantes
d38b4abd68 Integrating android support. 2017-12-06 06:39:40 +01:00
Pere Pujal i Carabantes
8693724975 More on SDL2. Now compiles, still needs a lot of cleaning and work to deal with SDL_DisplayFormat* from 1.2 2017-12-06 06:39:37 +01:00
Bill Kendrick
3bfbc3e741 indent halftone.c 2017-10-15 11:47:04 -07:00
Pere Pujal i Carabantes
7479c2a757 Adding sound to halftone. 2016-09-27 22:13:39 +00:00
Pere Pujal i Carabantes
348bb202eb The icon for Halftone was not displaying. 2012-06-06 23:12:29 +00:00
Pere Pujal i Carabantes
0a2072e334 Removing warnings in half of magic tools by some GCI students. 2011-11-26 22:04:50 +00:00
William Kendrick
451bd23460 Initial stab at Halftone. 2011-07-25 16:18:24 +00:00
William Kendrick
e8e6c179ff A little further. But time for bed. :^( 2011-07-16 05:58:44 +00:00
William Kendrick
db6b8d2089 Starting a Halftone magic tool. (SF Bug #3148011) 2011-07-16 05:44:49 +00:00