Commit graph

22 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
0517b4392c Update URL to https://tuxpaint.org/ everywhere
Also, add other social media accounts to list of places to
announce Tux Paint in RELEASE docs.

Also, list a ton more options missing from default example config file
"src/tuxpaint.conf"
2022-12-11 01:29:25 -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
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02:00
Bill Kendrick
5882a48412 Even more Magic tools to their groups...
Nearly done.
2021-09-21 00:32:19 -07: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
35f7ebd482 Mosaic_shaped seems to work again with SDL2 (manually merged) 2017-12-06 06:39:39 +01:00
Bill Kendrick
5e83b2408d indent mosaic_shaped.c 2017-10-15 11:48:08 -07:00
Pere Pujal i Carabantes
f61d808d7c Final tweaks on hexagonal pattern by Lokesh Sharma. 2016-09-27 21:38:13 +00:00
Pere Pujal i Carabantes
8facc8a4bc Generating mosaic patterns on the program and removing now unused PNGs, solves #210 2016-09-19 20:56:21 +00:00
Joe Hansen
6aed7d2c23 Click and move -> Click and drag 2015-05-02 09:05:05 +00:00
William Kendrick
0c7a9e9b12 Disabling scan_fill() recursion blocker, since reverting PNGs fixed the
tools. (h/t Shin-Ichi & Pere)
2014-08-06 08:16:02 +00:00
William Kendrick
09c2540e6b Unclear how mosaic_shaped is supposed to work, but added a counter to
prevent recursing too deep, which will cause a crash.
2014-08-05 17:06:08 +00:00
William Kendrick
fcd2a10761 Removed some debugging. 2014-08-05 08:27:21 +00:00
William Kendrick
5d164e8254 Ran through: astyle --unpad-paren --pad-oper --pad-header --add-brackets --style=allman --delete-empty-lines --break-blocks 2014-08-05 07:40:15 +00:00
Pere Pujal i Carabantes
68014a7908 Workaround for api->data directory pointing to the local user directory at magic switchin. Giving proper credits. 2011-05-15 08:09:40 +00:00
Scott McCreary
62aaea4c91 fixed some minor gcc-2.95.3 build issues 2009-12-03 07:05:23 +00:00
secretlondon
9f4061a158 Language fixes and remade po files 2009-08-09 22:48:34 +00:00
secretlondon
1caa2c54ee english tidy on new magic tools. not sure blind behaves as described fwiw. 2009-08-09 21:51:59 +00:00
Pere Pujal i Carabantes
7ae8540157 Three new magic tools: mosaic shaped square, hexagon and irregular 2009-07-11 06:29:00 +00:00