Commit graph

361 commits

Author SHA1 Message Date
William Kendrick
3481016567 "i" wasn't getting reset after goto, causing segfault on Bill's box
("while (i--)" when i was 0 would cause overflow)
2004-12-12 23:36:41 +00:00
Albert Cahalan
538896a0ab fix warning w/ LOW_QUALITY_COLOR_SELECTOR defined 2004-12-12 20:25:26 +00:00
Albert Cahalan
3220560516 tintgray remnants removed 2004-12-12 20:18:38 +00:00
Albert Cahalan
cc844b875e neaten up LOW_QUALITY_STAMP_OUTLINE support and make outlines flip/mirror/resize again 2004-12-12 20:10:23 +00:00
Albert Cahalan
7cb34040b0 moving i-- caused an array overrun w/ SIGSEGV 2004-12-12 19:38:43 +00:00
William Kendrick
6248e11d0a Activated new Magic Tool sound effects. 2004-12-12 10:55:08 +00:00
William Kendrick
027d5cf261 Fixed crashing bug in tinting code.
Cleaned up format of tinting code a little.
2004-12-12 09:46:23 +00:00
William Kendrick
89040067c2 Only updates XOR if stamp was changed. (Complicated/large stamps would take
a long time, and get Tux Paint stuck when scrolling up/down!!!)
2004-12-12 08:39:32 +00:00
William Kendrick
ca4af821bf Began working on 'Cartoon' magic tool. 2004-12-11 12:51:37 +00:00
William Kendrick
97f5d7b02b Implemented 'Tint' magic tool. 2004-12-11 11:54:02 +00:00
William Kendrick
e1e6ce35e5 "Tint" magic causes color palette to activate. 2004-12-11 11:37:41 +00:00
William Kendrick
9c9ea3cfe1 Implemented "Darken" magic tool.
Updated README to discuss new magic tools.
2004-12-11 11:30:19 +00:00
William Kendrick
6a26679fa1 Allowed for more than 14 Magic tools.
Began work to add new Magic tools: Tint, Darken, Cartoon.
2004-12-11 11:21:16 +00:00
William Kendrick
c8ee015738 Lockfile is cleared upon exit, allowing Tux Paint to be relaunched
immediately, if necessary.
2004-12-11 08:45:28 +00:00
William Kendrick
1f12529e3b Updated Lithuanian translation.
Added Albert to AUTHORS doc.
2004-12-10 18:00:44 +00:00
William Kendrick
78aab19bec Removed dangling comma 2004-12-10 09:32:10 +00:00
William Kendrick
1a85b0c086 Fixed hotspot for 'tiny' mouse in 16x16 mouse pointer mode (for OS X). 2004-12-10 08:45:50 +00:00
Albert Cahalan
1fc0d61949 fixed loading starters on big screens 2004-12-10 01:59:04 +00:00
Albert Cahalan
66e12a837e narrowed down the massive starter bug to load_starter, maybe involving SDL_CreateRGBSurface or SDL_SetAlpha 2004-12-10 01:05:10 +00:00
Albert Cahalan
3f1d49626e handle wrong-sized saved images better 2004-12-09 23:12:45 +00:00
William Kendrick
f476e7d526 Created smudge icon. 2004-12-07 06:39:54 +00:00
Albert Cahalan
c51e5e8c15 remove some now-unused variables 2004-12-07 05:33:21 +00:00
Albert Cahalan
6d9f9999ec improve blur effect 2004-12-07 05:24:07 +00:00
Albert Cahalan
5c67b05102 fixed: load dialog corruption when old files are big 2004-12-07 04:08:50 +00:00
Albert Cahalan
6836e565b4 this should fix the smudge boundries 2004-12-07 01:42:07 +00:00
Albert Cahalan
df3c31531d clipped_getpixel 2004-12-07 00:58:50 +00:00
Albert Cahalan
4dda614a98 new smudge tool 2004-12-06 23:56:42 +00:00
Albert Cahalan
b20d3f1d75 better magic blocks effect 2004-12-06 20:03:28 +00:00
Albert Cahalan
7e99dd8554 stamp size range stuff 2004-12-06 01:57:34 +00:00
Albert Cahalan
db7e2935cb Tinter now 2x to 4x faster 2004-12-06 01:09:31 +00:00
Albert Cahalan
c8d07b8fd7 fix massive memory leak 2004-12-05 07:02:42 +00:00
William Kendrick
5ec0d9e340 Only updates stamp XOR stipple when absolutely necessary, not on mouse motion. 2004-11-26 23:55:39 +00:00
Albert Cahalan
a1f2c35dc4 stamp outline fixes, #if 0 removal 2004-11-26 21:29:36 +00:00
Albert Cahalan
31dd9779b7 stamp outline fixes 2004-11-26 20:57:45 +00:00
Albert Cahalan
f5cd9b0575 new tinter based on CIE L,u,v color space 2004-11-26 04:10:13 +00:00
Karl Ove Hufthammer
cd6cb7ae11 Moved to 32 bit graphics mode. Things are looking better! 2004-11-25 19:39:33 +00:00
Albert Cahalan
f0e9d7b8c3 fix and document the scale keyword 2004-11-25 06:45:03 +00:00
Albert Cahalan
8be0d5be48 moved tinter code into own function 2004-11-24 23:35:14 +00:00
Albert Cahalan
c8bbaa68ed support "scale" keyword in *.dat files for high-resolution stamps 2004-11-24 18:16:32 +00:00
Albert Cahalan
5bd1e54d9a cast to void is enough to suppress the warning 2004-11-24 17:16:31 +00:00
William Kendrick
b7d549518e More compiler warning cleanup. 2004-11-24 06:56:24 +00:00
William Kendrick
a21189ee8e Cleaned up new code to Bill's style. ;^) 2004-11-24 06:51:42 +00:00
William Kendrick
d6a620723b Cleaned up code to prevent more compiler warnings.
(Mostly removing unused functions/declarations, and unused func. arguments)
2004-11-24 06:47:59 +00:00
Albert Cahalan
35d0dae6c1 allow any sane window size, such as 1234x666, and many insane sizes too 2004-11-24 04:19:06 +00:00
Albert Cahalan
34cd0b93cb Per-stamp sane scaling range enforced. (generally bigger) 2004-11-24 03:00:10 +00:00
Martin Fuhrer
41402eca12 Updates for Mac OS X - dock icon loads properly, new location for saved images and prefs in "~/Library/Application Support/TuxPaint", additional search path for stamps in "/Library/Application Support/TuxPaint" 2004-11-23 21:02:51 +00:00
Albert Cahalan
011834c95f cast useless arg to void --> no warning about it 2004-11-23 18:41:34 +00:00
Albert Cahalan
e5dbc33b29 simplify strip_trailing_whitespace, now O(n) 2004-11-23 18:37:59 +00:00
William Kendrick
f7679aed1c Cast putenv const strings to non-const 'char *', to prevent warnings.
Cleaned up change log.
2004-11-23 10:08:37 +00:00
Albert Cahalan
898745b144 half of the signed/unsigned warnings 2004-11-23 01:58:56 +00:00