Bill Kendrick
e80254df51
Ran indent.sh to re-indent all source code
2025-03-24 19:33:13 -07:00
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
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
2140d2e17b
Lightning: Update for new plugin API
2023-04-19 21:45:49 -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
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
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
Pere Pujal i Carabantes
097d542db4
Making paths work with Android assets.
2021-10-03 23:23:02 +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