Commit graph

305 commits

Author SHA1 Message Date
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
Pere Pujal i Carabantes
1afe9e155c Merge branch 'master' into sdl2.0
Tons of bugfixes and improvements for Windows by Toyama Shin-Ichi
Angle rotation and some magic tools by Bill.
2021-11-06 08:59:22 +01:00
Bill Kendrick
760423e84f New Magic tool: Reflection
Click to make a reflection of what's above the cursor,
below the cursor.

Click and drag down to stretch the lower reflection, or
drag up to make an reflection of the bottom of the picture
above where you clicked.

Or, drag left or right to make a reflection on the left of
what's on the right, or vice-versa.

It's not perfect, but my math skills are failing me, and it's
probably suitable.

Demo videos posted to Twitter
 * https://twitter.com/TuxPaintTweets/status/1456541738667954181
 * https://twitter.com/TuxPaintTweets/status/1456542229376294924

Closes https://sourceforge.net/p/tuxpaint/feature-requests/202/
2021-11-05 01:31:53 -07:00
Bill Kendrick
307680a684 Mend unused attribute warning
Noted in a commit by Shin-ichi
2021-11-04 20:41:25 -07:00
Bill Kendrick
a68ff27e84 Cartoon can apply effect to entire image
This is now how the effect starts; painting now simply exposes
the effect (to avoid artifacts that occurred when you'd paint
different directions).
2021-10-27 22:52:02 -07:00
Bill Kendrick
27b89d0dba Blocks/Chalk: Full-image descriptive text 2021-10-27 22:24:13 -07:00
Bill Kendrick
3fad8fc75b Blocks & Chalk can now affect entire image at once 2021-10-27 22:18:09 -07: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
5f9ff7e97d Address tons of warnings in magic/src/lightning.c 2021-10-24 01:15:46 -07:00
Bill Kendrick
d27c21bf2a Mend compiler warnings in magic/src/halftone.c 2021-10-24 01:07:29 -07:00
Bill Kendrick
1135225691 New "Stretch" magic tool
Docs/etc. to be updated in a separate commit.
2021-10-20 22:32:34 -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
097d542db4 Making paths work with Android assets. 2021-10-03 23:23:02 +02:00
Pere Pujal i Carabantes
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02:00
Bill Kendrick
e7c7a51a00 Lightning Magic tool looking good
Could be better, but it's a start.
2021-09-27 00:53:01 -07:00
Bill Kendrick
4965cc95f1 Angle calculation for WIP Lightning effect 2021-09-26 23:34:49 -07:00
Bill Kendrick
2bd9b74dd6 WIP Lightning Magic tool
UI, icon, sfx working; not actually rendering the bolt yet.
2021-09-26 22:50:41 -07:00
Bill Kendrick
8b30a278c2 "Smooth Rainbow" magic tool (variant of "Rainbow")
Numerous people commented on Twitter that a piece of artwork
("Chromie Squiggle #7583", created in "ArtBlocks") looked like it
was made in Tux Paint.

However, the classic (2002-era) "Rainbow" tool cycled coarsely
through solid colors.  This adds a gradient.
2021-09-22 23:01:26 -07:00
Bill Kendrick
1d5dd8eb9f Finished organizing Magic tools; updated docs
Added group code to `tp_magic_example.c`, and documented
in the "Creating Tux Paint Magic Tool Plugins" docs.
2021-09-21 01:02:22 -07:00
Bill Kendrick
5882a48412 Even more Magic tools to their groups...
Nearly done.
2021-09-21 00:32:19 -07:00
Bill Kendrick
f381073d48 Putting more Magic tools into groups... 2021-09-21 00:24:26 -07:00
Bill Kendrick
448a4b4487 Put more Magic tools into their groups
...WIP
2021-09-21 00:07:14 -07:00
Bill Kendrick
12b503be9c Adding more Magic tools to their groups...
WIP
2021-09-20 23:47:31 -07:00
Bill Kendrick
3963d74f43 Show Magic tool group pagination buttons
Make room for them, but they don't do anything yet.
2021-09-20 23:36:19 -07:00
Bill Kendrick
3eece8635c WIP Working on Magic tool grouping
Fretwork is in one group; Blocks, Chalk, and Drip in another.
The rest do not currently report (so will not load!).
No UI change to the Magic tool interface yet.
2021-09-20 23:09:33 -07:00
Bill Kendrick
8f31459990 "TV" Magic Tool enhancement
"TV" now breaks pixels into red/green/blue components,
rather than merely adding a 'scanline' effect.

Reworked how it handles interaction (click/drag vs fullscreen).
2021-09-20 22:28:29 -07:00
Bill Kendrick
b82214c19c Emboss can now effect the entire canvas at once
h/t @jpeg2k on Twitter for reminding me!
2021-09-18 00:27:54 -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
fa23c099f2 "Opposite" Magic tool: Complementary colors
Closes https://sourceforge.net/p/tuxpaint/feature-requests/136/
2021-09-06 01:36:08 -07:00
Bill Kendrick
f6c74f897e "Halftone" can now affect the entire image at once 2021-09-04 23:28:33 -07:00