Commit graph

4974 commits

Author SHA1 Message Date
Bill Kendrick
f70b173fc1 Refresh French README
Somehow forgot to pick it up after Jacques' changes 2 weeks ago!
(https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/0f4fb2d1fe6f841d034661399b201ae4592dbee5/)
2024-01-15 16:44:07 -08:00
Bill Kendrick
2b40b797eb Sync tp_magic_example.c (filepaths compatible with Android) 2024-01-15 16:40:57 -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
4cad1200b1 Address some warnings under gcc 11.4 w/ -O2
* In function ‘get_starter_template_options’:
   "warning: dereferencing type-punned pointer will break strict-aliasing
   rules [-Wstrict-aliasing]":
     (short unsigned int *)&(opts->bkgd_color[0]), [...etc.]

 * In function ‘strncpy’,
   inlined from ‘safe_strncpy’ at src/tuxpaint.c:32022:9,
   inlined from ‘trash’ at src/tuxpaint.c:30690:3:
   "warning: ‘__builtin_strncpy’ output may be truncated copying
   255 bytes from a string of length 255 [-Wstringop-truncation]":
     return __builtin___strncpy_chk (__dest, __src, __len,
2024-01-14 13:57:21 -08: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
0fa1ea33f6 Build Tux Paint with -O2, everything with -ffast-math 2024-01-14 13:44:03 -08:00
Bill Kendrick
8a76b570b7 n_pt_persp.c: Use ...f() (float) trig funcs, not ...() double 2024-01-14 13:41:33 -08:00
Bill Kendrick
a7d792fa64 n_pt_persp.c: Adding performance output 2024-01-14 12:55:33 -08:00
Bill Kendrick
9534b5b959 Synch docs: Iso/di/trimetric/oblique images...
...and correcting the name of the new section ("Projections").
2024-01-14 12:07:10 -08:00
Bill Kendrick
2e0fd27339 Iso/di/trimetric & oblique drawing examples for docs 2024-01-14 12:03:58 -08:00
Bill Kendrick
479cc5450f Modularize, but disable for now, snapping
It needs to be smarter than just snapping to NxN grid on canvas.
2024-01-14 11:50:36 -08:00
Bill Kendrick
474e513dde n_pt_perse: Use SNAP define instead of hard-coded # 2024-01-14 11:34:27 -08:00
Bill Kendrick
4fbe005003 n_pt_persp: Snap to grid; improved some guides 2024-01-14 11:33:34 -08:00
Bill Kendrick
2766254db9 Icons for Di & Trimetric & Oblique angle editors 2024-01-13 19:34:20 -08:00
Bill Kendrick
ac089b75b1 Sync docs for Iso/Di/Trimetric & Oblique usage docs 2024-01-13 18:51:34 -08:00
Bill Kendrick
b08e352457 Syncing docs to grab updated README: What's New
...adding trochoids & projection drawing magic tools
2024-01-13 18:27:16 -08:00
Bill Kendrick
57a0b363bb Mention Iso/Di/Tri/Oblique in appdata file; regen POT/POs 2024-01-13 18:22:04 -08:00
Bill Kendrick
edbc68f0d7 Icons for Iso/Di/Trimetric & Oblique drawing tools 2024-01-13 18:19:16 -08:00
Bill Kendrick
df746eb58f Doc'ing Iso/Di/Trimetric & Oblique tools author (me) 2024-01-13 18:07:50 -08:00
Bill Kendrick
df6905a3c3 Oblique, Dimetric & Trimetric seem to work! 2024-01-13 18:04:47 -08:00
Bill Kendrick
fff19763e2 Isometric seems to work! 2024-01-13 12:04:56 -08:00
Bill Kendrick
f585c6e897 Bump (c) date on splash screen to 2024 2024-01-13 11:51:21 -08:00
Bill Kendrick
db9b6772c2 Continue WIP Iso, Di, Trimetric & Oblique: More guides
...when dragging to draw a line
2024-01-13 11:10:10 -08:00
Bill Kendrick
0b161d52ce Continue WIP Iso, Di, Trimetric & Oblique: Drawing
Buggy, but started...
2024-01-13 01:57:18 -08:00
Bill Kendrick
fe3fecce82 Continue WIP Iso, Di, Trimetric & Oblique: Selectors
Ability to adjust angles; guides show them, on drag.
2024-01-13 00:56:19 -08:00
Bill Kendrick
8fbcdda52d Continue WIP Iso, Di, Trimetric & Oblique 2024-01-12 21:37:06 -08:00
Bill Kendrick
5d1cdd6c3f WIP Adding more graphical projection drawing tools
Stubbing out tools for drawing in axonometric projection -- Isometric,
Dimetric, Trimetric -- and in oblique projection.

Also, placed 1-, 2-, and 3-point perspective tools, along with these
new ones, into a new Magic Tool group, MAGIC_TYPE_PROJECTIONS.

See https://sourceforge.net/p/tuxpaint/feature-requests/252/
and https://sourceforge.net/p/tuxpaint/feature-requests/253/
2024-01-12 21:19:39 -08:00
Bill Kendrick
45eabd97b8 Trochoid sample images: crop edges 2024-01-08 23:26:47 -08:00
Bill Kendrick
007732a728 Sync Magic docs to grab trochoid alt. sample images 2024-01-08 23:24:22 -08:00
Bill Kendrick
22ad5b75f9 Epitrochoid/Hyptrochoid alternate tool sample images
...edge, ...inside, ...outside.
2024-01-08 23:21:33 -08:00
Bill Kendrick
3584c1b90f Sync docs to get Epitrochoid/Hypotrochoid sample images 2024-01-08 23:09:05 -08:00
Bill Kendrick
b6ca3f283b Epitrochoid & Hypotrochoid: Sample images
(For the main tool, when "--nomagicsizes" is NOT in effect.)
2024-01-08 23:05:21 -08:00
Bill Kendrick
5ab5293866 Albanian translation update
h/t Besnik
2024-01-08 00:56:06 -08:00
Bill Kendrick
c96e88a491 Mend typos (including syncing docs)
h/t Besnik
2024-01-08 00:19:23 -08:00
Bill Kendrick
a5b0bb9ec5 Sync docs to pick up Magic doc changeds
Finished Epitrochoid & Hypotrochoid docs, plus changes
to Bricks and Googly Eyes (re: --nomagicsizes).

Final step will be to add screenshots of the trochoids.
2024-01-07 14:27:39 -08:00
Bill Kendrick
db5cc7abcf WIP Sync docs for Epitrochoid & Hypotrochoid docs
Just stubs for the moment
2024-01-07 14:08:06 -08:00
Bill Kendrick
fe646f6e15 Compress Epitrochoid & Hypotrochoid icon PNGs
Used `pngout -c4 FILENAME.png` on each
(where "-c4" means produce "Gray+Alpha")
2024-01-07 13:53:47 -08:00
Bill Kendrick
62b85b0337 Icons for Epitrochoid & Hypotrochoid tools 2024-01-07 13:49:16 -08:00
Bill Kendrick
aff688a1cb AUTHORS: Crediting code & sounds for trochoid tools 2024-01-07 13:32:32 -08:00
Bill Kendrick
fe83cf723c Trochoids: Dragging sound effect
Plus a bunch of refactoring & wrapping up of the sound routine.
2024-01-07 13:30:04 -08:00
Bill Kendrick
31ceeff596 Centered trochoids: Sound effects on release 2024-01-07 13:13:15 -08:00
Bill Kendrick
12b9c65536 org.tuxpaint.Tuxpaint.appdata.xml: Mention new trochoid tools 2024-01-07 12:44:11 -08:00
Bill Kendrick
2411c370ce Tweak alt. trochoid magic tools; regen POT/POs 2024-01-07 02:45:00 -08:00
Bill Kendrick
6b4e82c8b4 WIP Centered trochoids tools
Epitrochoid & Hypotrochoid to draw Spiralgraph / Wondergraph
style line artwork.

See https://sourceforge.net/p/tuxpaint/feature-requests/248/
2024-01-07 02:42:22 -08:00
Bill Kendrick
cecb344faf Portuguese localization update
h/t Hugo!
2024-01-02 22:24:55 -08:00
Bill Kendrick
c4a42b6a90 Sync docs; update org.tuxpaint.Tuxpaint.appdata.xml.in
Syncing docs to grab version & date updates, MAGIC-API tweak,
and updated quickstart guide.

Update `org.tuxpaint.Tuxpaint.appdata.xml.in` to mention
2- and 3-point perspective, and "complexity" option, too.

Regen. POT & PO files to grab new strings from appdata file.
2024-01-01 11:06:48 -08:00
Bill Kendrick
bd5d7e5fb7 Regen docs after French updates
h/t Jacques
2023-12-31 12:40:07 -08:00
Bill Kendrick
c3a179af3f Sync docs for N-point perspective updates
...and also French updates to OPTIONS doc
2023-12-30 13:58:48 -08:00
Bill Kendrick
5855d34a6e N-pt perspective supports beginner complexity level
The three "select" (vanishing point editors) are not available,
and a second 3-point perspective drawing tool, with an alternative
(downward-looking) set of vanishing points, is made available.
2023-12-30 13:45:20 -08:00
Bill Kendrick
9a1287d953 Sync docs after README social & trademark updates 2023-12-30 12:39:57 -08:00