
Sprite Editor
__________________
Lets you make different size sprites ranging from 3x3 to 40x40 pixels.
____________________________________________________________________

Saving file
__________________
Type up to eight characters and/or numbers and press Save button.
Saves two files BMP and LSE.
____________________________________________________________________

Loading file
__________________
Type up to eight characters and/or numbers and press Load button. 
File with LSE extension will be loaded.
If LSE file doesn't exist, it will load BMP file with the same name.
Only files with sizes from 3x3 to 40x40 pixels will be loaded.
____________________________________________________________________

LSE File structure
__________________
Total size of created file is   2 + Sprite Length * Sprite Height.
First two bytes are size of the sprite - length and height.
Rest of the file are Length*Height bytes, representing color.
Color ranges from 0 to 255. Zero represents transparent color.
____________________________________________________________________

BMP File structure
__________________
File is saved as 256 color BitmapInfoHeader.
____________________________________________________________________

Changing sprite size
__________________
Up and Down arrows change height.
Left and Right arrows change length.
____________________________________________________________________

Painting
__________________
Left mouse button paints pixel on the grid.
Right mouse button deletes pixel.



Controls
__________________
Escape key	    -	exit program
Right Arrow	    -	increase grid length
Left Arrow	    -	decrease grid length
Up Arrow	    -	decrease grid height
Down Arrow	    -	increase grid height
Left mouse button   -   paint pixel on grid
Right mouse button  -   delete pixel on grid
____________________________________________________________________

Bug fixes and improvements
________
sprite05
Added ability to load BMP file.

sprite04
Added ability to save as a BMP file.

sprite03
Added custom color palette.

sprite02
Fixed code bloat - moved buffers to the end of file.