MakeMAP Texture Cooker Utility

2013-10-19:
* Made colorization parameters (add*, mul*, pow*) floating-point
- Allows more subtle color processing
* Can read MAP files (all types)
- Type 0 (8-bit) MAP requires a palette (set with -pal)
* Added new processing options:
- tga: write TGA files instead of MAP
- bmp: write BMP files instead of MAP

2013-09-12:
* Usage information shows program name and date
* Find closest palette colors in Y'CbCr space
- Improves perceptual color accuracy
- Produces results closer to the original MAP utility
* Extensive reorganization and cleanup of code
* Handle wildcards (e.g. "*.tga") and directories in input filenames
- No more need for batch file shenannigans! :)

2012-07-03:
* Support desaturation
- desat: amount of desaturation (0=none, 100=full)

2013-05-25:
* Print usage information if no arguments provided
* Read image files using stb_image.c
* Added new processing options:
- flipx: flip output image horizontally
- flipy: flip output image vertically
- diff: apply error diffusion
* Support 8-bit palettized output (MAP type 0)
- Simplified error diffusion logic
- Can set how much error diffusion to apply
* Added support for 32-bit texture formats
- Translucent: A8R8G8B8 (MAP type 3)
- Opaque: X8R8G8B8 (MAP type 4)
* Fixed up a few issues with R5G6B5 textures
* Added processing options for effects textures
- Undo premultiplied alpha
- Chromakey color
* Added more processing options:
- Colorization curves: mul * (value ** pow) + add
- Read a color remap table from an image
- Can now process all textures used by the game
* Cleaned up the code a bit
* Support transparency index
- Works well in conjunction with chromakey
- Emulates behavior of the original toolchain
* Removed some spurious % characters in the usage text
