Commit graph

23 commits

Author SHA1 Message Date
Bill Kendrick
44d7d0ee5d Re-run indent.sh under GNU indent 2.2.13
Slight change to its default behavior re: pointer variables
(before: "type * var"; now seems to prefer: "type *var").
2024-10-20 11:22:30 -07:00
Bill Kendrick
244ab1d6f2 Being more consistent w/ use of gettext()/_noop()
...in Magic tools (for names & descriptions / tool-tips).
2024-10-07 21:44:08 -07:00
Bill Kendrick
0353c5670d Gave ordering to all Artistic magic tools 2024-01-16 22:09:22 -08:00
Bill Kendrick
2055b071f1 All magic tools: Add "complexity_level" arg to init() 2023-12-29 14:43:40 -08:00
Bill Kendrick
18f9cad6fe Adding "indent.sh" to re-indent code; ran it!!! 2023-04-23 23:26:00 -07:00
Bill Kendrick
79d7233fbe Real / ROYGBIV Rainbow: Update to new plugin API 2023-04-19 23:09:14 -07:00
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
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
12b503be9c Adding more Magic tools to their groups...
WIP
2021-09-20 23:47:31 -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
Bill Kendrick
247be68e46 indent realrainbow.c 2017-10-15 11:49:17 -07:00
William Kendrick
e84d005432 Fix bug where rainbow swaps direction if both ends had same Y position. 2014-08-14 07:41:22 +00:00
Pere Pujal i Carabantes
c8f7ba2142 Realrainbow also needs MODE_PAINT_WITH_PREVIEW. Removing warnings about unused parameters and missing prototypes. 2011-05-10 17:48:45 +00:00
William Kendrick
0f3d5fcfe4 More accurate description of Blinds tool.
Added missing docs for some Magic tools.
Created a ROYGBIV variation of the Rainbow arc tool.
2009-09-01 01:30:58 +00:00
William Kendrick
47dfba1da2 Using new Real Rainbow sound. 2009-06-06 18:33:04 +00:00
secretlondon
4b8d14f83b realrainbow.ogg - needs code support 2009-06-06 14:34:34 +00:00
William Kendrick
3a194f0aa3 Created icons for Rosette & Real Rainbow. 2009-05-27 17:49:07 +00:00
Shin-ichi TOYAMA
a5fdc5cf3a gettext_noop() should be used for some old system. 2009-05-26 16:10:00 +00:00
William Kendrick
0307da004c Fixed angle bug in preview (which also fixes dirty pixels).
Not alpha-blending until doing a full draw.
2009-04-29 04:45:42 +00:00
William Kendrick
8e868e619d Doc'd fixmes.
Improved preview mode.
2009-04-05 23:06:05 +00:00
William Kendrick
31e34c758d Added "Real Rainbow" rainbow arc painter.
FIXME: Needs icon. Needs sound effect. Rect update needs fixing (leaving dirt).
Color/alpha art needs improvement. Probably needs better preview mode.
Pixel gaps appear in lines sometimes (esp. larger rainbows).
Should prob. blend colors within color/alpha art when drawing narrow rainbows.
2009-04-05 22:55:15 +00:00