Commit graph

335 commits

Author SHA1 Message Date
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
34de8311db Zoom/Perspective: Support background color changes
When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
2023-01-25 02:12:57 -08:00
Bill Kendrick
5e829819aa WIP: Perspective & Zoom magic immediate color change support 2023-01-25 01:19:42 -08:00
Bill Kendrick
999e0c873e Maze magic: Got contiguous-or-not working right 2023-01-25 01:12:18 -08:00
Bill Kendrick
2e69c51bdb WIP: Maze: Allow multiple discontiguous zones 2023-01-23 02:48:56 -08:00
Bill Kendrick
aa35d18927 Doc'ing new "Maze" magic tool 2023-01-21 03:23:18 -08:00
Bill Kendrick
c15b6a176c WIP: "Maze" magic tool 2023-01-21 03:05:24 -08:00
Bill Kendrick
d87497e168 Rivulet - More WIP 2023-01-17 01:09:08 -08:00
Bill Kendrick
2c03bdd8a4 Rivulet: More WIP 2023-01-16 17:28:21 -08:00
Bill Kendrick
1f8de8af83 Rivulet: More WIP 2023-01-16 17:06:49 -08:00
Bill Kendrick
7168fb94a5 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2023-01-16 16:28:23 -08:00
Bill Kendrick
fc95baa98b WIP: Rivulet magic tool 2023-01-16 16:27:12 -08:00
Bill Kendrick
6a43019f85 WIP: Rivulet magic tool 2023-01-16 16:17:57 -08:00
Bill Kendrick
67e9928961 Googly Eyes: Also remove line draw callback 2023-01-16 16:07:07 -08:00
Bill Kendrick
df5fddad29 Googlyeyes: Remove unneeded function prototype
copypasta from lightning source
2023-01-16 15:52:24 -08:00
Bill Kendrick
ff10b021b7 Googly Eyes: Forgot to gettext() the sizes
h/t Pere
2023-01-02 12:00:44 -08:00
Bill Kendrick
866c5f6483 Adding Google Eyes sound effect
Updating credits & changelog, too.
2022-12-24 12:33:52 -08:00
Bill Kendrick
105b6958c5 Keep Googly Eyes x & y >= 0 2022-12-24 12:19:55 -08:00
Bill Kendrick
4129a8753e Googlyeyes WIP: Constrain pupil within background 2022-12-24 11:59:42 -08:00
Bill Kendrick
9674a05e63 Continued WIP: Googly Eyes
Needs sound effect, an icon, and boundary-limiting to keep the
pupil inside the background.
2022-12-24 11:47:35 -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
9d70b5837c WIP: Cleaned up some compile-time warnings...
...that cropped up in SDL2 branch.
2022-11-14 23:21:45 -08:00
Bill Kendrick
2083b66564 Various Magic tools: mend update_rect->h miscalc.
e.g. this "update_rect->h = (y + 16) - update_rect->h;"
should be "update_rect->h = (y + 16) - update_rect->y;"
2022-10-19 01:37:36 -07:00
Pere Pujal i Carabantes
757337bf96 Rush down, Not going to infinite too quickly. 2022-10-06 01:10:57 +02:00
Bill Kendrick
632459087e Better performance from "Rush" (by using SDL_gfx rotozoom)
Applying patch from Pere.  ALSO, bumping Tux Paint Magic Tool API version.
2022-10-03 22:50:40 -07: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
Bill Kendrick
60120b763c Merge branch 'master' into sdl2.0 2022-07-03 19:58:34 -07:00
Bill Kendrick
844db56ab9 Drip - Better full-canvas effect; proper description
h/t Karl, code by Pere (w/ some clean-up by me)

Closes https://sourceforge.net/p/tuxpaint/bugs/256/
2022-07-03 16:39:50 -07:00
Bill Kendrick
95755c7af5 Emboss: Canvas-specific description
Closes https://sourceforge.net/p/tuxpaint/bugs/257/
h/t Karl
2022-07-03 16:31:38 -07:00
Bill Kendrick
ff470263a0 Different description for Tile Zoom than plain Zoom
Oops, had committed to sdl2.0 only :eyeroll:
2022-06-02 21:17:23 -07:00
Bill Kendrick
040884f3f3 Different description for Tile Zoom than plain Zoom
h/t Pere for the suggestion
2022-06-02 21:09:23 -07:00
Bill Kendrick
5369bca3b9 Merge branch 'master' into sdl2.0 2022-06-02 21:06:27 -07:00
Bill Kendrick
2e0119daa9 Bump dates on fretwork.c & rails.c 2022-05-19 01:31:03 -07:00
Bill Kendrick
16d79a323d Merge SDL-agnositc SDL_Rect member type to SDL2.0 branch 2022-05-19 01:29:46 -07:00
Bill Kendrick
868edf4ccd SDL-agnostic way to get SDL_Rect member types
SDL 1.2 they are Sint16, SDL 2.0 they are int.
2022-05-19 01:26:59 -07:00
Bill Kendrick
dfba73d327 Address some compile-time warnings in SDL 2.0
Also disable VERBOSE DEBUG output.

Note - Still a pair of nasty warnings about the following

 * ‘rsvg_handle_close’ is deprecated: Use
   'rsvg_handle_read_stream_sync' instead

 * passing argument 3 of ‘autoscale_copy_smear_free’ from incompatible
   pointer type (SDL_BlitSurface)

They should be addressed.
2022-05-19 00:49:48 -07:00
Pere Pujal i Carabantes
956292e122 Merge branch 'master' into sdl2.0 2022-05-14 19:41:24 +02:00
Bill Kendrick
fc9bb92064 Icon for "Rush" magic tool 2022-05-07 18:14:53 -07:00
Bill Kendrick
60e90d47d9 WIP: New Magic tool: "Rush"
Like "Zoom", but with a blur effect.
(Needs icon, sound effect, documentation.)
2022-05-06 01:58:53 -07:00
Bill Kendrick
94a2b9caf5 Mend render bug introduced to Perspective tool 2022-05-04 00:28:47 -07:00
Pere Pujal i Carabantes
63fbd45cd1 Merge branch 'master' into sdl2.0 2022-02-13 01:44:39 +01:00
Bill Kendrick
c1a5ca7fb8 New Magic tool: "Tile Zoom" 2022-01-30 02:23:01 -08:00
Pere Pujal i Carabantes
75ca9dd66e Merge branch 'master' into sdl2.0 2021-11-09 23:23:28 +01:00
Bill Kendrick
03b3ada567 More tools' fullscreen: update progress bar
Progress animation shown during
Emboss, Sharpen/Edge/Silhouette, Blur,

Also, play Glass Tile sound in fullscreen mode.
2021-11-08 20:46:24 -08:00
Bill Kendrick
83558f8343 Cartoon fullscreen: play sound, show progress bar 2021-11-08 20:37:19 -08:00
Bill Kendrick
cde0941509 Blocks/Chalk fullscreen; play sound, add prog bar 2021-11-08 20:33:57 -08:00
Pere Pujal i Carabantes
46bdc96993 Icon and sound paths for magic tools compatible with Android assets. 2021-11-09 01:20:34 +01:00
Pere Pujal i Carabantes
88d8252952 Merge branch 'master' into sdl2.0 2021-11-08 23:33:49 +01:00
Bill Kendrick
50d296b393 Mend typo in Lightning magic tool's description 2021-11-07 20:32:20 -08: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