Commit graph

738 commits

Author SHA1 Message Date
Bill Kendrick
a2fece280b Sound effects for Filled Polygon magic tool
Based on some CC0 sounds by Kenneth Cooney (see AUTHORS.txt and
CHANGES.txt).
2024-05-28 23:29:57 -07:00
Bill Kendrick
4c42472089 Polyfill: Draw handles 'behind' lines 2024-05-19 23:56:20 -07:00
Bill Kendrick
af5f9b8899 Removing Specular tool instructions 2024-05-19 23:34:12 -07:00
Bill Kendrick
97c547e9c7 Demoting Specular magic to a WIP 2024-05-19 23:30:12 -07:00
Bill Kendrick
4a79060f26 Ran indent 2024-05-14 23:37:12 -07:00
Bill Kendrick
ca537e2fbb Color Sep: Correctly abuse default size value 2024-05-14 23:26:00 -07:00
Bill Kendrick
d26b4f28ff Polyfill - Address compiler warnings, other cleanup 2024-05-14 23:09:18 -07:00
Bill Kendrick
5bdbc2766b Ran indent.sh to re-indent all source files 2024-05-10 00:26:10 -07:00
Bill Kendrick
fbb46751c6 Cleaned up compiler warnings in dither.c Magic tool 2024-05-10 00:16:17 -07:00
Bill Kendrick
1b5386fba1 Sync docs after 3D Glasses update 2024-04-29 00:54:09 -07:00
Bill Kendrick
d95e7084df 3D Glasses - Now offers various anaglyph color combos
The size option is being misused to allow different
color combinations: Red/Cyan, Red/Blue, Red/Green, and Magenta/Cyan
(there are others we could add, if only someone could figure out the
math :-D)

Note - If Tux Paint is running in "Novice" complexity mode, no choices
will be available; it will use Red/Cyan, as before.

h/t O'Hare The Rabbit for the idea
2024-04-28 18:03:28 -07:00
Bill Kendrick
a655146677 Syncing docs again, after wrapping up path nonsense 2024-04-27 13:45:41 -07:00
Bill Kendrick
ae899da68d Filled polygon: Icon; tweaked on-screen instructions 2024-04-12 09:24:19 -07:00
Bill Kendrick
f603adb648 Filled Polygon example image for docs 2024-04-12 09:18:56 -07:00
Bill Kendrick
14cabfcdc7 Sync docs after reorg'ing & adding Magic tools 2024-04-11 00:23:44 -07:00
Bill Kendrick
5139985781 Polygon fill: Be a better citizen
Remove our preview if switching out of the tool.
Do not wipe out previous work when switching into the tool
(it seems Tux Paint calls "set_color()" _before_ "switchin()"!?)
2024-04-08 20:55:27 -07:00
Bill Kendrick
ead268de51 Polyfill - Allow clicking first point to end polygon
...clicking, followed by dragging prior to releasing,
still works to move the first (green) point.
2024-03-28 00:50:27 -07:00
Bill Kendrick
da837a35a2 Polyfill filling polygons now
Scanline polygon fill routine based on public-domain code
by Darel Rex Finley, 2007 <https://alienryderflex.com/polygon_fill/
2024-03-28 00:26:05 -07:00
Bill Kendrick
608564b00f WIP Filled Polygon Magic tool
Currently able to add & adjust points, which forms a polygon.
It is not filled yet.
2024-03-27 23:41:41 -07:00
Bill Kendrick
a2d8b39e95 Dither icons compressed (pngout) 2024-03-19 23:34:24 -07:00
Bill Kendrick
3bf36f8c07 Dither sound effects 2024-03-19 23:33:31 -07:00
Bill Kendrick
ef3f150a88 Dither magic tools: Add icon
Also, less darkening in "Keep Color" variation.
2024-03-19 23:13:02 -07:00
Bill Kendrick
dbfd855a12 Sync docs after some Magic tool doc updates 2024-03-19 22:29:30 -07:00
Bill Kendrick
d74b149be8 Specular: Some vertical waves, too 2024-03-02 00:58:02 -08:00
Bill Kendrick
58e054589f Sync Dither magic tool docs 2024-02-29 22:50:19 -08:00
Bill Kendrick
40316cfe45 Bump version to 0.9.33; sync some doc changes! 2024-02-29 22:00:07 -08:00
Bill Kendrick
35c12c60fd Dither: Add a "keep color" variation 2024-02-29 21:41:16 -08:00
Bill Kendrick
53f6064aa0 WIP Dither magic tool
For https://sourceforge.net/p/tuxpaint/feature-requests/256/
2024-02-29 01:13:21 -08:00
Bill Kendrick
f21e5f136d WIP Specular Reflection magic tool 2024-02-28 23:51:28 -08:00
Bill Kendrick
5cda0092ba Sync docs to grab as-of-yet untranslated Albanian magic docs 2024-01-26 23:44:59 -08:00
Bill Kendrick
2d043eb33d Trochoids: Better drag-less shapes
If the user just clicks & releases, the shapes that appear
are more interesting/pleasing.
2024-01-26 01:07:39 -08:00
Bill Kendrick
ec678debe5 Sync docs after Japanese updates
h/t Shin-ichi
2024-01-21 12:18:49 -08:00
Shinichi TOYAMA
68257973a8 gcc on RHEL7 did not allow to declare valiable in 'for' loop unless use C99 mode option. 2024-01-21 15:24:29 +09:00
Bill Kendrick
2b588773a7 Di, Tri, Oblq select: Ensure click (w/o drag) changes 2024-01-20 15:10:07 -08:00
Bill Kendrick
f8c8b9b6a7 2-Pt Persp. select: Avoid div-by-zero crash
h/t Pere
2024-01-20 15:05:46 -08:00
Bill Kendrick
4496e007a1 Trochoids: Mend freeze bug
I had updated the guide circle drawing routine to draw points
every 360 / radius steps (so smaller circles had fewer XOR'd points),
but obviously this will cause a divide by zero if either circle's
radius = 360, since I'm using an integer, it will cause a frozen
for()-loop if radius > 360.

h/t Pere for pointing out the freeze!
2024-01-20 11:15:53 -08:00
Bill Kendrick
b8f6ec2bbf Trochoids: Correct icons, no blank Hypo, better Guides
h/t Pere
2024-01-17 23:07:41 -08:00
Bill Kendrick
a9515c351e Gave ordering to all Painting magic tools
All done!
2024-01-16 23:10:08 -08:00
Bill Kendrick
e3cb845426 Gave ordering to all Picture Decorations magic tools 2024-01-16 22:48:41 -08:00
Bill Kendrick
b1bc736f77 Gave ordering to all Color Filter magic tools 2024-01-16 22:45:06 -08:00
Bill Kendrick
4f9112d597 Xor Magic tool: Better description; respond to "order" 2024-01-16 22:43:11 -08:00
Bill Kendrick
9ce4ee8c50 Gave ordering to all Picture Warps magic tools 2024-01-16 22:28:49 -08:00
Bill Kendrick
3abf6f75f4 Gave ordering to all Pattern Painting magic tools 2024-01-16 22:16:14 -08:00
Bill Kendrick
0353c5670d Gave ordering to all Artistic magic tools 2024-01-16 22:09:22 -08:00
Bill Kendrick
0532b35f31 Gave ordering to all Distorts magic tools 2024-01-16 21:31:07 -08:00
Bill Kendrick
ff9eff4e60 Sort magic tools by ..._get_order() value, when possible
Tools in n_pt_persp plugin provide orders.  (More coming!)
2024-01-16 20:33:58 -08:00
Bill Kendrick
ab4cd4fdde Mend Trochoid math
h/t Pere for pointing out my mistake!
2024-01-15 22:14:33 -08:00
Pere Pujal i Carabantes
0aac3260be Make magic n_pt_persp and trochoids filepaths compatible with Android. 2024-01-16 00:53:54 +01:00
Bill Kendrick
08d9e9a8b7 n_pt_persp.c: Disable unused snap_to()
Wrap in an #ifdef SNAP_TO, and thus squelch some warnings &
avoid wasting some cycles.
2024-01-14 13:45:14 -08:00
Bill Kendrick
8a76b570b7 n_pt_persp.c: Use ...f() (float) trig funcs, not ...() double 2024-01-14 13:41:33 -08:00