* Rework texture build system to be automatic:

	For shareware build, extract a list of textures used in the 
	shareware wad levels. Build the shareware wad containing only
	these textures.

	For the full build, include all textures.

	This removes the need to fiddle the textures around whenever a 
	new wad is added to the shareware build and also should make
	the wad more compact.

* Make textures be in alphabetical order.

* Split up sprites so their offsets are stored with the image files.

******************************************************************************
deathmatch/multiplayer starts to fix:
(from http://www.doomworld.com/vb/showthread.php?s=&threadid=38121)

columns 1 and 2 identify the wad.
column 3 is the number of single player starts (type 1)
columns 4 to 6 are the number of multiplayer starts (things 2, 3 and 4 respectively)
column 7 is the number of deathmatch starts (type 11)

maps with fewer than 4 deathmatch starts:

     doom2.wad  MAP02  1  1  1  1  0 
     doom2.wad  MAP03  1  1  1  1  0 
     doom2.wad  MAP04  1  1  1  1  1 
     doom2.wad  MAP12  1  0  0  0  0 
     doom2.wad  MAP13  2  1  1  1  0 
     doom2.wad  MAP17  1  1  1  1  1 
     doom2.wad  MAP18  1  0  0  0  0 
     doom2.wad  MAP22  1  1  1  1  0 
     doom2.wad  MAP27  1  1  1  1  1 
     doom2.wad  MAP31  2  2  2  2  0 

maps with at least one missing co-op start, excluding freedm.wad

     doom2.wad  MAP12  1  0  0  0  0 
     doom2.wad  MAP18  1  0  0  0  0 
     doom1.wad   E1M6  1  0  0  0  5 
     doom1.wad   E1M7  1  1  2  0  8 

haha, spot the player 3 start that's meant to be a player 4 start :)

raw data

     doom2.wad  MAP01  1  1  1  1  4 
     doom2.wad  MAP02  1  1  1  1  0 
     doom2.wad  MAP03  1  1  1  1  0 
     doom2.wad  MAP04  1  1  1  1  1 
     doom2.wad  MAP05  1  1  1  1 11 
     doom2.wad  MAP06  1  1  1  1  8 
     doom2.wad  MAP07  1  1  1  1  8 
     doom2.wad  MAP08  1  1  1  1  8 
     doom2.wad  MAP09  1  1  1  1  8 
     doom2.wad  MAP10  1  1  1  1  5 
     doom2.wad  MAP11  1  1  1  1  4 
     doom2.wad  MAP12  1  0  0  0  0 
     doom2.wad  MAP13  2  1  1  1  0 
     doom2.wad  MAP14  1  1  1  1  8 
     doom2.wad  MAP15  1  1  1  1  8 
     doom2.wad  MAP16  1  1  1  1  6 
     doom2.wad  MAP17  1  1  1  1  1 
     doom2.wad  MAP18  1  0  0  0  0 
     doom2.wad  MAP19  1  1  1  1  8 
     doom2.wad  MAP20  2  1  1  1 10 
     doom2.wad  MAP21  1  1  1  1  8 
     doom2.wad  MAP22  1  1  1  1  0 
     doom2.wad  MAP23  1  1  1  1  8 
     doom2.wad  MAP24  1  1  1  1  8 
     doom2.wad  MAP25  1  1  1  1  9 
     doom2.wad  MAP26  1  1  1  1  5 
     doom2.wad  MAP27  1  1  1  1  1 
     doom2.wad  MAP28  1  1  1  1  8 
     doom2.wad  MAP29  1  1  1  1  8 
     doom2.wad  MAP30  1  1  1  1  7 
     doom2.wad  MAP31  2  2  2  2  0 
     doom2.wad  MAP32  1  1  1  1  6 
     doom1.wad   E1M1  1  1  1  1 10 
     doom1.wad   E1M2  1  1  1  1  8 
     doom1.wad   E1M3  2  1  1  1  5 
     doom1.wad   E1M4  1  1  1  1  7 
     doom1.wad   E1M5  1  1  1  1  8 
     doom1.wad   E1M6  1  0  0  0  5 
     doom1.wad   E1M7  1  1  2  0  8 
     doom1.wad   E1M8  1  1  1  1  6 
     doom1.wad   E1M9  1  1  1  1  4 
    freedm.wad  MAP01  1  0  0  0  8 
    freedm.wad  MAP02  1  0  0  0  8 
    freedm.wad  MAP03  1  0  0  0  8 
    freedm.wad  MAP04  1  0  0  0  8 
    freedm.wad  MAP05  1  0  0  0  8 
    freedm.wad  MAP06  1  0  0  0  8 
    freedm.wad  MAP07  1  0  0  0  8 
    freedm.wad  MAP08  1  0  0  0  8 
    freedm.wad  MAP09  1  0  0  0  8 
    freedm.wad  MAP10  1  0  0  0  8 
    freedm.wad  MAP11  1  0  0  0  8 
    freedm.wad  MAP12  1  0  0  0  8 
    freedm.wad  MAP13  1  0  0  0  8 
    freedm.wad  MAP14  1  0  0  0  8 
    freedm.wad  MAP15  1  0  0  0  8 
    freedm.wad  MAP16  1  1  1  1  8 
    freedm.wad  MAP17  1  1  1  1  8 
    freedm.wad  MAP18  1  1  1  1  8 
    freedm.wad  MAP19  1  1  1  1  8 
    freedm.wad  MAP20  1  1  1  1  8 
    freedm.wad  MAP21  1  1  1  1  8 
    freedm.wad  MAP22  1  1  1  1  8 
    freedm.wad  MAP23  1  1  1  1  8 
    freedm.wad  MAP24  1  1  1  1  8 
    freedm.wad  MAP25  1  1  1  1  8 
    freedm.wad  MAP26  1  1  1  1  8 
    freedm.wad  MAP27  1  1  1  1  8 
    freedm.wad  MAP28  1  1  1  1  8 
    freedm.wad  MAP29  1  1  1  1  8 
    freedm.wad  MAP30  1  1  1  1  8 
    freedm.wad  MAP31  1  1  1  1  8 
    freedm.wad  MAP32  1  1  1  1  8 

******************************************************************************
