Commit graph

807 commits

Author SHA1 Message Date
William Kendrick
ed85a6c8f1 Added missing "--buttondistinction" command-line option.
Documented "no button distinction" feature in --usage and man page.
2005-11-23 21:48:16 +00:00
John Popplewell
972cbb525e Larger audio buffer size on Windows to stop clicks/pops/crackling. 2005-11-22 12:42:07 +00:00
William Kendrick
9a18224e21 Removed some unused variables. 2005-11-21 00:43:37 +00:00
William Kendrick
5b2debb4c7 Made font loading thread/fork interruptible via Escape key.
Improved cartoon effect.
2005-11-16 07:00:30 +00:00
William Kendrick
688f4d24fb Added [Alt]+[S] key sequence to mute/unmute sound effects.
(Does not override "--nosound" option!)
2005-11-12 09:22:11 +00:00
John Popplewell
bbe6ddf81f Added support for system and user configuration files on Windows. The
system 'tuxpaint.cfg' file is in the same directory as the executable, the
user 'tuxpaint.cfg' file is in the 'savedir' location e.g.
'C:\Documents and Settings\username\Application Data\TuxPaint'.
2005-11-08 03:14:59 +00:00
William Kendrick
9b5192ec4b More tweaks to Cartoon effect. 2005-10-23 08:28:18 +00:00
William Kendrick
104fc0a9aa Trying a newsprint effect in the "Cartoon" magic tool. Looks awful. :^/ 2005-10-22 20:53:26 +00:00
William Kendrick
4b2b90ef1c Stamp scaling is now controlled by a set of mini "slider"-like buttons.
(The "Shrink" and "Grow" buttons didn't give any feedback as to what the
current size was.)
2005-10-22 08:42:10 +00:00
William Kendrick
bb4f0efbbc Sorting stamps directories again. 2005-10-22 07:42:34 +00:00
William Kendrick
9f7c7160fa Got rid of unused variable (make compiler happy).
Reinstated some italics-related stuff. (Last SDL_ttf updated had to do
with corrupt memory when blitting italic; thought that could've caused probs.)
2005-10-22 07:30:08 +00:00
William Kendrick
83007087b0 Removed some debugging output.
Wrapped some debugging output in #ifdef DEBUG.
Cleaned up language of some debugging output. (Hey, it's a kids' program!)
2005-10-22 07:28:46 +00:00
William Kendrick
80334fae04 Temporary solution to crashing bug with --sysfonts: fail gracefully
(instead of "exit(42)"), and simply return to the previous tool.
2005-10-22 07:23:28 +00:00
William Kendrick
f6164dc9a4 Some debugging enabled.
Variable initialization.
Moved font thread startup back to whence it came... for now.
2005-10-22 06:05:44 +00:00
William Kendrick
ece68cbd42 Added some debugging output.
Switches cursor to 'watch' while dealing with system fonts.
ESCAPE during eat_sdl_events() no longer aborts app!
SDL_Quit() is called if app is quit during eat_sdl_events().
2005-10-15 08:04:11 +00:00
William Kendrick
9e8b176a47 Splash was set for a very long time, as a test. Reverting back to ~5sec. 2005-10-15 07:23:36 +00:00
William Kendrick
0cac60d300 No reason for font-loading thread to run if we're not running interactively! 2005-10-15 07:19:45 +00:00
William Kendrick
91cdab237a Created 'release' Makefile target, which generates a .tar.gz.
Moved "VER_VERSION" to Makefile (where 'release' can pick it up),
and made "VER_DATE" a dynamically-generated Makefile variable.
2005-10-10 03:01:17 +00:00
William Kendrick
7e9bcce855 Noted that SDL large cursor on fullscreen bug is still around. 2005-10-09 21:03:27 +00:00
Karl Ove Hufthammer
81a80dd835 Improved splash screen. 2005-10-07 13:07:01 +00:00
William Kendrick
97122bb650 Splash screen scales to different window sizes. 2005-10-06 07:34:06 +00:00
William Kendrick
301c22dad7 Now defaults to 800x600 screen size. 2005-10-06 06:56:14 +00:00
William Kendrick
cfedd567df Reduced number of warnings during compilation. 2005-10-06 06:46:47 +00:00
William Kendrick
78330e9ac0 Updated Japanese.
Fixed bug in language list that broke language support.
2005-10-06 06:17:17 +00:00
William Kendrick
6357df6d08 Added Mexican Spanish translation (via Linspire IRMA's Karla Uribe). 2005-10-02 21:44:19 +00:00
William Kendrick
a2b8ca5d3d Made variable delcarations C90 compliant, so that older GCCs (e.g., on RH7)
can still compile Tux Paint.
2005-09-17 15:40:24 +00:00
John Popplewell
bcf9ac61c1 Added additional Windows-only search paths for stamps, fonts and brushes. 2005-09-16 00:52:24 +00:00
William Kendrick
4c61559aca Added Ukrainian translation. 2005-09-13 03:01:25 +00:00
William Kendrick
49d4667bce Made 'sysfonts' OFF by default. 2005-09-05 23:13:45 +00:00
John Popplewell
669c6f6613 Fix for French, German etc. Forces the strings returned by gettext() to be UTF-8. 2005-08-10 17:41:45 +00:00
John Popplewell
7c14bd2e8d Restores system locale detection for Windows. --lang=thai now works, still problem with e.g. French and German. 2005-08-09 14:23:07 +00:00
William Kendrick
051580d141 Using proper locale for Gronings ("gos_NL"), as per Karl. 2005-07-27 07:58:13 +00:00
William Kendrick
9a63e0e01d Updated Hebrew translation. 2005-07-27 07:44:11 +00:00
William Kendrick
bb67113773 Added Gronings translation (assuming it's "gr_NL" locale! Haven't confirmed!) 2005-07-26 08:43:13 +00:00
William Kendrick
aa0e5214e6 Updated Hebrew translation.
No longer displays untranslated text in right-to-left (backwards).
2005-07-26 07:52:44 +00:00
John Popplewell
d9f70cfde6 Added GetDefaultSaveDir(suffix) which fetches the default "Application
Data" path for the current user from the registry, appends the suffix,
creates the subdirectory if it doesn't exist, then returns a string from
the heap.
This path is the new default "savedir" location on Windows. Tested on
98/2K/XP.
Changed code that sets the pwd to the directory containing the executable.
Originally for BEOS only, now working and enabled for Windows also.
2005-07-19 04:44:31 +00:00
William Kendrick
fd21f4d859 Added Tux voice sound effects! 2005-07-17 20:21:47 +00:00
William Kendrick
5f1084dc4c Cleaned up some compiler warnings. 2005-07-17 19:00:35 +00:00
William Kendrick
b3e8051fcf Updated French translation.
Figuring out how many %s args are really needed.
2005-07-17 18:57:20 +00:00
John Popplewell
b23e4e0e21 Fix segfault in show_usage(). 2005-07-17 01:26:35 +00:00
John Popplewell
b5fa77a946 Win32/MinGW fix for missing strcasestr().
Win32/MinGW fix for unused SIGPIPE signal handler.
2005-07-17 01:02:51 +00:00
William Kendrick
d8914de190 Added "altprint..." options to affect 'Print' button behavior
(always act like [Alt] is held, never let [Alt] bring up a dialog, or
normal behavior).  Closes bug 1191193.
2005-07-16 08:09:23 +00:00
William Kendrick
a953d54099 Fixed issue where [Alt] had to be clicked when hitting [Yes] to confirm
printing. Had forgotten to apply fix to Mac OS X.
2005-07-16 07:43:29 +00:00
William Kendrick
a8468064fa Added 'altprintcommand' option, allowing Linux/Unix users to [Alt]+'Print'
to bring up a print dialog, too (by default, KDE's "kprinter" tool).
2005-07-16 07:22:29 +00:00
William Kendrick
e4f39fbe4c Replaced strstr() with strcasestr() to help to support non-lowercase
filename extensions (e.g., ".PNG").
(To close bug 1106521)
2005-07-16 05:57:48 +00:00
William Kendrick
6d4847799e Got stamp mirror and flip working again! 2005-07-16 05:06:21 +00:00
William Kendrick
304f325a9d Received partial Thai translation! 2005-07-15 05:11:19 +00:00
William Kendrick
b509c8ef4e Support for Kinyarwanda language. 2005-04-06 08:00:44 +00:00
William Kendrick
26e1393378 Added Georgian translation.
Don't assume locale has ".UTF-8" at the end.  (ka_GE does not, for example)
2005-03-25 05:30:07 +00:00
William Kendrick
6165768ed2 Re-set LANG_JA in lang_use_own_font[], as Japanese was not rendering
properly.
(Shin-ichi showed: http://z1.plala.jp/tuxpaint/cvstest/sample.html
on 2005.Mar.18)
2005-03-19 20:59:57 +00:00