Readme for PolyPaint v0.9.

Running for the first time:

 When you run the client for the first time, you'll be asked to enter some information:
  
  Server Name
   This is the name or IP address of the server you want to connect to. Since I haven't released the server yet, you'll want to leave this at the default, smart-idiot.no-ip.com.
  
  Server Port
   This is the port the server is running on. By default this is 2020.
  
  Username
   This is the user name you want to use. This is only a suggestion, ultimately the choice is up to the server.
  
  Screen Width
   This is how many pixels wide you want the screen to be. The default is 800. The minimum is 640. The image buffer is 912.
  
  Screen Height
   Same as the previous except for height. Default is 3/4ths of Screen Width, minimum is 480, and the image buffer is 624.
  
  Fullscreen
   Enter 'y' if you want the program to take up the entire screen, or 'n' if you want it to run in a window. Depending on the screen width and height you selected, it might run in a window regardless.
  
 Once you enter the information, it will be used every time you run the program. If it doesn't work, or you want to change something, delete the file named 'client.cfg'.

Drawing basics:

 You draw using the mouse. Hold the left mouse button, move the mouse around, and release the left mouse button.
 
 If you make a mistake and you want to change it BEFORE you release the left mouse button, press the right mouse button to cancel your line.
 
 This program has no undo function. Once you draw something, it's stuck there until it gets drawn over.
 
 You can easily draw lines by holding the shift key while drawing. You can also release shift and press it again while drawing to create a smooth curve.
 
 If you right click on the image, you can select a colour from the image.
 
Tools:
 
 Pressing the tab key will being you to the tools menu. You can press tab or escape again to leave this menu.
 
 Pen
  This tool is used to draw fine lines.
 
 Pencil
  This tool draws fuzzy lines. You can also set the line width using the slider in the menu.
 
 Paintbrush
  This tool draws brush strokes. Really long strokes will run out of paint. You can set both the brush size and the rate at which it runs out of paint.
 
 Chalk
  This tool draws fuzzy lines, similar to the pencil but more solid. You can set the size in the menu.
 
 Smudge
  This tool smudges the image. You can set the size of the smudge and how much it smudges in the menu.
 
 Stamp
  This tool draws evenly spaced circles. You can set the size of the circles and their spacing in the menu.
 
 Paint Can
  This tool is used for setting the colour your using. The first box allows you to select value and saturation. The second allows you to select hue. The remaining boxes are your recently selected colours. If you right click, you can mix that colour with the colour you already have selected.

 Chat Box
  This tool allows you to see previous messages, and to chat with other users. Simply type what you want to say and press enter.
  
  The chat box can also be used for entering commands. Commands start with the '/' character. Type '/help' to see the list of commands and how to use them.

Other tips and tricks:

 If you press the alt key, you can see the names of all the users and what they've drawn.
 
 User names are used with some of the commands you can enter with the chat box, '/kick' for example.
 
 If you want to clear the current image, you can use the restart command. Enter '/restart' into the chat box.
 
 While the client is expecting data from the server, an indicator will appear at the top of the screen. You really shouldn't draw while it's going because your client may have to redraw what you've drawn several times as it gets new data in order to keep what you're seeing syncronized with what the other users are seeing. This makes loading even slower, and you may end up destroying someone's picture that you can't yet see. This is especially true if you've just connected.
 
 You can quickly get to the chat menu by pressing '/' or '~'.
 
Commands:
 
 MOTD
  Sets the message of the day.
  Usage: /motd [password] [new MOTD]
 
 Restart
  Asks the server to restart the image.
  Usage: /restart
 
 User
  Lists all the currently logged in users and their id numbers.
  Usage: /user
 
 Kick
  Asks the server to kick a user.
  Usage: /kick [user | user-id]
 
 Help
  Lists and how how to use the various commands.
  Usage: /help [command name]
 
 8Ball
  Ask a question, and it will answer.
  Usage: /8ball [question]

Changes:
 0.9:
  - Rewrote and fixed bugs in the smudge command.
  - Fixed several floating point rounding errors that sometimes caused drawing to occur outside of the drawing area and crash the program.
