Bill Kendrick
8a7aa514a4
Rails: Update to new plugin API
2023-04-19 23:06:18 -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
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
b6b0636eb5
Merge branch 'master' into sdl2.0
2021-09-27 23:32:48 +02: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
Pere Pujal i Carabantes
a1c778135d
Merge branch 'master' into sdl2.0
...
Merging master 2019-september-24 into sdl2.0 branch
2019-09-24 14:52:40 +02:00
Bill Kendrick
7938480174
Clean up GCC warnings (2019-08-29 edition)
...
Updated most parts of the code that were throwing warnings in GCC.
2019-08-30 00:01:00 -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
Pere Pujal i Carabantes
1e0ea6d4b3
Indentation.
2017-12-19 02:17:27 +01:00
Pere Pujal i Carabantes
8693724975
More on SDL2. Now compiles, still needs a lot of cleaning and work to deal with SDL_DisplayFormat* from 1.2
2017-12-06 06:39:37 +01:00
Bill Kendrick
b06b7e51b4
indent rails.c
2017-10-15 11:48:54 -07:00
Pere Pujal i Carabantes
1abe844c46
Less warnings in magic tools by GCI students finaiized and m4tx.
2012-03-05 19:41:24 +00:00
Shin-ichi TOYAMA
2703e3f79d
It does not compile on old system.
2009-06-20 12:07:20 +00:00
William Kendrick
f5b116d308
Fixing crash.
2009-02-03 23:19:51 +00:00
Pere Pujal i Carabantes
07767de0b8
Correcting a 1 pixel offset in some rotations in rails.
2009-02-02 23:15:02 +00:00
William Kendrick
f7588b8ab3
Pere got Rails magic tool working the way I envisioned!
2009-01-30 23:59:07 +00:00
William Kendrick
4bc51c905a
Beginning work to improve rails.
2008-12-24 02:41:24 +00:00
Albert Cahalan
a60c242972
leak memory instead of crashing (FIXME!!!)
2008-08-03 02:18:22 +00:00
Luc Schrijvers
774c076406
BeOS _Bool parse error fixes
2008-07-19 05:34:56 +00:00
William Kendrick
efff54560a
Added Adam R.'s "Rails" Magic tool.
...
Updated POTFILES.in to add new Magic tools from Adam and Andrew.
Regenerated POT and POs.
2008-07-14 00:31:11 +00:00