Increased "MAX_FILES" to support over 1000 saved images (rather than only ~130).

This commit is contained in:
William Kendrick 2003-06-17 08:48:35 +00:00
parent 5b57c6fda7
commit be7efbb0d5
5 changed files with 12 additions and 8 deletions

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
2003.Jun.14 (0.9.11) [cvs] 2003.Jun.17 (0.9.11) [cvs]
* Windows bugfixes. * Windows bugfixes.
John Popplewell <john@johnnypops.demon.co.uk> John Popplewell <john@johnnypops.demon.co.uk>
@ -69,6 +69,10 @@ http://www.newbreedsoftware.com/tuxpaint/
* Added missing "--nosysconfig" to "--help" usage output. * Added missing "--nosysconfig" to "--help" usage output.
* Increased MAX_FILES from 256 to 2048. Users with more than 128 images
saved were unable to load the newest images! (Hopefully 1024 saved
files is sufficient.)
2003.February.22 (0.9.10) 2003.February.22 (0.9.10)
* UTF-8 stamp descriptions word-wrap around spaces. * UTF-8 stamp descriptions word-wrap around spaces.

View file

@ -9,7 +9,7 @@
bill@newbreedsoftware.com bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
June 14, 2002 - June 14, 2003 June 14, 2002 - June 17, 2003
---------------------------------------------------------------------- ----------------------------------------------------------------------

View file

@ -21,7 +21,7 @@ New Breed Software</p>
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br> <p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p> <a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
<p>June 14, 2002 - June 14, 2003</p> <p>June 14, 2002 - June 17, 2003</p>
</center> </center>
<hr size=2 noshade> <hr size=2 noshade>

View file

@ -1,5 +1,5 @@
.\" tuxpaint.1 - 2003.06.14 .\" tuxpaint.1 - 2003.06.17
.TH TUXPAINT 1 "14 Jun 2003" "0.9.11" "Tux Paint" .TH TUXPAINT 1 "17 Jun 2003" "0.9.11" "Tux Paint"
.SH NAME .SH NAME
tuxpaint -- A drawing program for young children. tuxpaint -- A drawing program for young children.

View file

@ -7,12 +7,12 @@
bill@newbreedsoftware.com bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
June 14, 2002 - June 14, 2003 June 14, 2002 - June 17, 2003
*/ */
#define VER_VERSION "0.9.11" #define VER_VERSION "0.9.11"
#define VER_DATE "2003.06.14" #define VER_DATE "2003.06.17"
/* #define DEBUG */ /* #define DEBUG */
@ -32,7 +32,7 @@
#define PROMPTOFFSETX (WINDOW_WIDTH - 640) / 2 #define PROMPTOFFSETX (WINDOW_WIDTH - 640) / 2
#define PROMPTOFFSETY (HEIGHTOFFSET / 2) #define PROMPTOFFSETY (HEIGHTOFFSET / 2)
#define MAX_FILES 256 /* Max. # of files in a dir. to worry about... */ #define MAX_FILES 2048 /* Max. # of files in a dir. to worry about... */
#define REPEAT_SPEED 300 /* Initial repeat speed for scrollbars */ #define REPEAT_SPEED 300 /* Initial repeat speed for scrollbars */
#define CURSOR_BLINK_SPEED 500 /* Initial repeat speed for cursor */ #define CURSOR_BLINK_SPEED 500 /* Initial repeat speed for cursor */